3Com Switch 8800 Configuration Guide Chapter 36 MPLS Basic Capability Configuration

36-12

II. Network diagram

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
Figure 36-1 Network diagram
III. Configuration procedure
1) Configure Switch A Configure LSR ID and enable MPLS and LDP.
[SW8800] mpls lsr-id 168.1.1.1
[SW8800] mpls
[SW8800-mpls] quit
[SW8800] mpls ldp
Configure IP address and enable MPLS and LDP for VLAN interface 201.
[SW8800] vlan 201
[SW8800-vlan201] port gigabitethernet 2/1/1
[SW8800-vlan201] quit
[SW8800] interface Vlan-interface 201
[SW8800-Vlan-interface201] ip address 168.1.1.1 255.255.0.0
[SW8800-Vlan-interface201] mpls
[SW8800-Vlan-interface201] mpls ldp enable
[SW8800-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
[SW8800-ospf-1] area 0
[SW8800-ospf-1-area-0.0.0.0] network 168.1.0.0 0.0.255.255
2) Configure Switch B Configure LSR ID and enable MPLS and LDP.
[SW8800] mpls lsr-id 172.17.1.1