3com 8807 사용자 가이드

다운로드
페이지 883
CCC MPLS L2VPN Configuration
619
# Configure the local connection.
[PE_A] ccc local-conn interface vlan-interface 211 out-interface 
 
vlan-interface 213 
# Configure a static LSP, with the out-label of 100 and the egress interface being 
the interface of VLAN 214.
[PE_A] mpls
 
[3Com-mpls] static-lsp ingress PEA-PEB l2vpn nexthop 5.5.5.2 out-
 
label 100 
# Configure a static LSP, with the in-label of 211 and the ingress interface being 
the interface of VLAN 214.
[PE_A-mpls] static-lsp egress PEB-PEA l2vpn incoming-interface vlan-
interface 214 in-label 211 
# Configure the remote connection.
[PE_A] ccc remote-connection interface vlan-interface 212 transmit-
 
lsp PEA-PEB receive-lsp PEB-PEA 
Configure PE-B.
# Enable MPLS globally.
[PE_B] mpls lsr-id 10.0.0.1
 
[PE_B] mpls 
# Enable MPLS L2VPN globally.
[PE_B] mpls l2vpn 
# Configure VLAN 211.
[PE_B] vlan 211
 
[PE_B-vlan211] port gigabitethernet 2/1/1
 
[PE_B] interface vlan-interface 211
 
[PE_B-Vlan-interface211] quit 
# Enable MPLS on the interface of VLAN 212.
[PE_B] vlan 212
 
[PE_B-vlan212] port gigabitethernet 2/1/2
 
[PE_B-vlan212] quit
 
[PE_B] interface Vlan-interface 212
 
[PE_B-Vlan-interface212] ip address 6.6.6.1 24
 
[PE_B-Vlan-interface212] mpls 
# Configure a static LSP, with the out-label of 200 and the egress interface being 
the interface of VLAN 212.
[PE_B-mpls] static-lsp ingress PEB-PEA l2vpn nexthop 6.6.6.2 out-
 
label 200 
# Configure a static LSP, with the in-label of 101 and the ingress interface being 
the interface of VLAN 212.