3com 8807 Reference Guide

Page of 1099
764
C
HAPTER
 41: MPLS VLL C
ONFIGURATION
 C
OMMANDS
[3Com-mpls] static-lsp egress bj-sh l2vpn incoming-interface vlan-
 
interface 201 in-label 233 
static-lsp ingress
Syntax
static-lsp ingress lsp-name l2vpn nexthop next-hop-addr out-label out-label
undo static-lsp ingress lsp-name
View
MPLS view
Parameter
lsp-name: Name of the LSP.
next-hop-addr: Address of the next hop.
out-label: Value of the out-label, ranging from 16 to 1,023.
Description
Use the static-lsp ingress l2vpn command to create a static L2VPN LSP for the 
ingress LSR.
Use the undo static-lsp command to remove a static L2VPN LSP.
You need to create two LSPs (for transmitting and receiving) before creating a 
remote CCC connection.
Related command: static-lsp egress l2vpnstatic-lsp transitdebugging mpls.
Example
# Create a static LSP with the destination IP address of 202.25.38.1 for the ingress 
LSR.
[3Com-mpls] static-lsp ingress bj-sh l2vpn nexthop 1.1.1.1 out-label 100 
static-lsp transit l2vpn
Syntax
static-lsp transit lsp-name l2vpn incoming-interface vlan-interface vlan-id 
in-label in-label nexthop next-hop-addr out-label out-label
undo static-lsp transit lsp-name
View
MPLS view
Parameter
lsp-name: Name of the LSP.
vlan-id: ID of the VLAN whose interface is to be used to create the LSP.
next-hop-addr: Address of the next hop.
in-label: Value of the in-label, ranging from 16 to 1,023.