3com 8807 User Guide

Page of 883
620
C
HAPTER
 51: MPLS VLL
[3Com-mpls] static-lsp egress PEA-PEB l2vpn incoming-interface vlan-
interface 212 in-label 101 
# Configure the remote connection.
[SW8800] ccc remote-connection interface vlan-interface 211 transmit
-lsp PEB-PEA receive-lsp PEA-PEB 
Configure P.
[PE_P] mpls lsr-id 10.0.0.2
 
[PE_P] mpls
 
[PE_P] vlan 214
 
[PE_P-vlan214] port gigabitethernet 2/1/1
 
[PE_P-vlan214] quit
 
[PE_P] interface Vlan-interface 214
 
[PE_P-Vlan-interface214] ip address 5.5.5.2 24
 
[PE_P-Vlan-interface214] mpls
 
[PE_P] vlan 212
 
[PE_P-vlan212] port gigabitethernet 2/1/2
 
[3Com-vlan212] quit
 
[PE_P] interface Vlan-interface 212
 
[PE_P-Vlan-interface212] ip address 6.6.6.2 24
 
[PE_P-Vlan-interface212] mpls 
# Configure a static LSP, with the in-label of 100, the ingress interface being the 
interface of VLAN 214, the out-label of 101, and the egress interface being the 
interface of VLAN 212.
[
PE_P
-mpls] static-lsp transit PEA-PEB l2vpn incoming-interface vlan-
 
interface 214 in-label 100 nexthop 6.6.6.1 out-label 101
# Configure a static LSP, with the in-label of 200, the ingress interface being the 
interface of VLAN 212, the out-label of 211, and the egress interface being the 
interface of VLAN 211.
[
PE_P
-mpls] static-lsp transit PEB-PEA l2vpn incoming-interface vlan-
 
interface 212 in-label 200 nexthop 5.5.5.1 out-label 211 
CAUTION: Following must be met to make a local CCC connection to go up:
The interfaces of the two CE are physically up.
The encapsulation types of the interfaces of the two CEs are the same and are 
supported by the MPLS L2VPN.
For Layer 2 connections with the MPLS L2VPN being VLAN encapsulation, the 
VLAN IDs of the interfaces of the two CEs can either be the same or different. 
However, if a trunk is configured between the CEs and the PEs on both sides, the 
VLAN IDs of the interfaces of the two CEs must be the same.