3com 3031 Instruccion De Instalación
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
762
C
HAPTER
55: MPLS L2VPN C
ONFIGURATION
3 Configure P
a Configure LSR ID, enable MPLS, LDP and MPLS L2VPN.
[3Com-mpls]mpls lsr-id 192.1.1.2
[3Com]mpls
[3Com]mpls l2vpn
[3Com]mpls ldp
b Configure serial interface.
[PE2]interface serial1/1/0
[PE2-serial1/1/0]ip address 168.1.1.2 255.255.0.0
[PE2]interface serial2/1/0
[PE2-serial2/1/0]ip address 169.1.1.2 255.255.0.0
c Configure LSP.
[PE2]mpls
[PE2-mpls]lsp-trigger all
Martini MPLS L2VPN
Configuration Example
Networking requirement
Adopt VLAN to access CEs and establish a remote connection between CE-A and
CE-B.
CE-B.
Networking diagram
Figure 188 Networking for Martini configuration
Configuration procedure
1 Configure PE-A:
a Configure LSR ID, enable MPLS, LDP and MPLS L2VPN.
[3Com-mpls]mpls lsr-id 192.1.1.1
[3Com]mpls
[3Com]mpls l2vpn
[3Com]mpls ldp
b Configure VLAN sub-interface.
[3Com]interface ethermet0/0/0.1
[3Com-Ethernet0/0/0.1]vlan-type dot1q vid 10
c Configure serial interface.
[3Com]interface serial 0/0/0
[3Com-serial0/0/0]ip address 168.1.1.1 255.255.0.0
[3Com-serial0/0/0]mpls ldp enable
d Assign an address to the loopback interface, which will be taken as route ID.
[3Com]interface loopback 0
[3Com-LoopBack0]ip address 192.1.1.1 255.255.255.255
LDP L2VPN link
VLAN10
CE A
CE C
PE A
PE B
P
ethernet0/0/0.1
ethernet0/0/0.1
VLAN20
LDP L2VPN link
VLAN10
CE A
CE C
PE A
PE B
P
serial1/0/0
serial1/0/0
serial0/0/0
ethernet0/0/0.1
ethernet0/0/0.1
serial0/0/0
VLAN20
LDP L2VPN link
VLAN10
CE A
CE C
PE A
PE B
P
ethernet0/0/0.1
ethernet0/0/0.1
VLAN20
LDP L2VPN link
VLAN10
CE A
CE C
PE A
PE B
P
serial1/0/0
serial1/0/0
serial0/0/0
ethernet0/0/0.1
ethernet0/0/0.1
serial0/0/0
VLAN20