3com 8807 사용자 가이드

다운로드
페이지 883
Typical MPLS Configuration Example
525
[SW8800] mpls lsr-id 172.17.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.2 255.255.0.0
 
[3Com-Vlan-interface201] mpls
 
[3Com-Vlan-interface201] mpls ldp enable
 
[3Com-Vlan-interface201] mpls ldp transport-ip interface 
# Configure IP address and enable MPLS and LDP for VLAN interface 203.
[SW8800] vlan 203
 
[3Com-vlan203] port gigabitethernet 2/1/3
 
[3Com-vlan203] quit
 
[SW8800] interface vlan-interface 203
 
[3Com-Vlan-interface203] ip address 172.17.1.1 255.255.0.0
 
[3Com-Vlan-interface203] mpls
 
[3Com-Vlan-interface203] mpls ldp enable
 
[3Com-Vlan-interface203] mpls ldp transport-ip interface 
# Configure IP address and enable MPLS and LDP for VLAN interface 202.
[SW8800] vlan 202
 
[3Com-vlan202] port gigabitethernet 2/1/2
 
[3Com-vlan202] quit
 
[SW8800] interface Vlan-interface 202
 
[3Com-Vlan-interface202] ip address 100.10.1.2 255.255.255.0
 
[3Com-Vlan-interface202] mpls
 
[3Com-Vlan-interface202] mpls ldp enable
 
[3Com-Vlan-interface202] mpls ldp transport-ip interface
 
[3Com-Vlan-interface202] quit 
# Enable OSPF on the interfaces respectively connecting Switch B with Switch A, 
Switch D and Switch C.
[SW8800] Router id 172.17.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
 
[3Com-ospf-1-area-0.0.0.0] network 172.17.0.0 0.0.255.255
 
[3Com-ospf-1-area-0.0.0.0] network 100.10.1.0 0.0.0.255
 
[3Com-ospf-1-area-0.0.0.0] quit 
Configure Switch C
# Configure LSR ID and enable MPLS and LDP.
[SW8800] mpls lsr-id 100.10.1.1
 
[SW8800] mpls
 
[3Com-mpls] quit
 
[SW8800] mpls ldp