3com S7906E Instruccion De Instalación
1-30
0.00% packet loss
round-trip min/avg/max = 34/68/94 ms
Example for Configuring MPLS L2VPN Connection Based on Layer 2 Ethernet Interface and VLAN
Netowrk requirments
z
CE 1 and CE 2 are connected to PE 1 and PE 2 respectively through VLAN interfaces.
z
Establish an MPLS L2VPN connected between CE 1 and CE 2 based on Layer 2 Ethernet interface
and VLAN.
Figure 1-7 Network diagram for configuring an MPLS L2VPN connection based on Layer 2
PE1
Loop0
P
Loop0
PE2
Loop0
GE2/0/1
Vlan-int23
Vlan-int23
Vlan-int10
Vlan-int26
Vlan-int26
GE2/0/1
Martini
Vlan-int10
CE1
CE2
Device Interface IP
address
Device Interface IP
address
CE 1
Vlan-int10
100.1.1.1/24 P
Loop0 192.4.4.4/32
PE 1
Loop0
192.2.2.2/32
Vlan-int23
23.1.1.2/24
Vlan-int23 23.1.1.1/24
Vlan-int26 26.2.2.2/24
CE 2
Vlan-int10
100.1.1.2/24 PE
2 Loop0 192.3.3.3/32
Vlan-int26
26.2.2.1/24
Ethernet interface and VLAN
Configuration procedure
1) Configure CE 1
<Sysname> system-view
[Sysname] sysname CE1
[CE1] interface vlan-interface 10
[CE1-Vlan-interface10] ip address 100.1.1.1 24
2) Configure PE 1
<Sysname> system-view
[Sysname] sysname PE1
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 192.2.2.2 32
[PE1-LoopBack0] quit
# Configure the LSR ID and enable MPLS globally.
[PE1] mpls lsr-id 192.2.2.2
[PE1] mpls
[PE1-mpls] quit
# Enable MPLS L2VPN and LDP globally.
[PE1] mpls l2vpn
[PE1] mpls ldp
[PE1-mpls-ldp] quit