3com 8807 사용자 가이드

다운로드
페이지 883
524
C
HAPTER
 48: MPLS B
ASIC
 C
APABILITY
 C
ONFIGURATION
The four switches all support MPLS, and LSP can be established between any two 
switches with the routing protocol OSPF.LDP establishes LSP by using routing 
information of OSPF.
Network diagram
Figure 126   Network diagram
Configuration procedure
Configure Switch A
# Configure LSR ID and enable MPLS and LDP.
[SW8800] mpls lsr-id 168.1.1.1
 
[SW8800] mpls
 
[3Com-mpls] quit
 
[SW8800] mpls ldp 
# Configure IP address and enable MPLS and LDP for VLAN interface 201.
[SW8800] vlan 201
 
[3Com-vlan201] port gigabitethernet 2/1/1
 
[3Com-vlan201] quit
 
[SW8800] interface Vlan-interface 201
 
[3Com-Vlan-interface201] ip address 168.1.1.1 255.255.0.0
 
[3Com-Vlan-interface201] mpls
 
[3Com-Vlan-interface201] mpls ldp enable
 
[3Com-Vlan-interface201] mpls ldp transport-ip interface 
# Enable OSPF on the interface connecting Switch A with Switch B.
[SW8800] Router id 168.1.1.1
 
[SW8800] ospf
 
[3Com-ospf-1] area 0
 
[3Com-ospf-1-area-0.0.0.0] network 168.1.0.0 0.0.255.255 
Configure Switch B
# Configure LSR ID and enable MPLS and LDP.
Switch A
SwitchB
SwitchC
SwitchD
VLAN201
168.1.1.1
VLAN201
168.1.1.2
VLAN203
172.17.1.1
VLAN203
172.17.1.2
VLAN202
100.10.1.2
VLAN202
100.10.1.1
Switch A
SwitchB
SwitchC
SwitchD
VLAN201
168.1.1.1
VLAN201
168.1.1.2
VLAN203
172.17.1.1
VLAN203
172.17.1.2
VLAN202
100.10.1.2
VLAN202
100.10.1.1