3com 8807 사용자 가이드

다운로드
페이지 883
624
C
HAPTER
 51: MPLS VLL
[PE-P] mpls lsr-id 192.1.1.3
 
[PE-P] mpls
 
[PE-P-mpls] quit
 
[PE-P] mpls ldp
 
[PE-P] mpls l2vpn 
# Configure an IP address for the Loopback interface, which is used as the LSR ID.
[PE-P] interface loopback 0
 
[PE-P-LoopBack0] ip address 192.1.1.3 255.255.255.255
 
[PE-P-LoopBack0] quit 
# Configure the VLAN interface.
[PE-P] vlan 21
 
[PE-P-vlan21] port gigabitethernet 2/1/1
 
[PE-P-vlan21] quit
 
[PE-P] interface Vlan-interface 21
 
[PE-P-Vlan-interface21] mpls
 
[PE-P-Vlan-interface21] mpls ldp enable
 
[PE-P-Vlan-interface21] ip address 168.1.1.2 255.255.0.0
 
[PE-P-Vlan-interface21] quit
 
[PE-P] vlan 22
 
[PE-P-vlan22 port gigabitethernet 2/1/2
 
[PE-P-vlan22] quit
 
[PE-P] interface Vlan-interface 22
 
[PE-P-Vlan-interface22] mpls
 
[PE-P-Vlan-interface22] mpls ldp enable
 
[PE-P-Vlan-interface22] ip address 169.1.1.2 255.255.0.0 
# Enable OSPF.
[PE-P] ospf 1
 
[PE-P-ospf-1] area 0.0.0.0
 
[PE-P-ospf-1-area-0.0.0.0] network 168.1.0.0 0.0.255.255
 
[PE-P-ospf-1-area-0.0.0.0] network 169.1.0.0 0.0.255.255
 
[PE-P-ospf-1-area-0.0.0.0] network 192.1.1.3 0.0.0.0 
CAUTION: Following must be met to make an LDP Layer 2 VPN to go up:
The interfaces of the two CE are physically up.
Two LSP tunnels, which are opposite in direction, exist between two PEs.
The encapsulation types of interfaces of the two CEs are the same and are 
supported by the MPLS L2VPN.
It is recommended that the VLANs on PEA and PEB which are connected to the 
CEs be consistent.
LDP remote sessions exist between PEs and are in Operational state.
To establish a tunnel, routes to the peer PE are necessary. So you need to configure 
IGP (interior gateway protocol) on each router along the path, such as OSPF.