3Com Switch 8800 Configuration Guide
Chapter 36 MPLS Basic Capability Configuration
36-13
[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.2 255.255.0.0
[SW8800-Vlan-interface201] mpls
[SW8800-Vlan-interface201] mpls ldp enable
[SW8800-Vlan-interface201] mpls ldp transport-ip interface
Configure IP address and enable MPLS and LDP for VLAN interface 203.
[SW8800] vlan 203
[SW8800-vlan203] port gigabitethernet 2/1/3
[SW8800-vlan203] quit
[SW8800] interface Vlan-Interface 203
[SW8800-Vlan-interface203] ip address 172.17.1.1 255.255.0.0
[SW8800-Vlan-interface203] mpls
[SW8800-Vlan-interface203] mpls ldp enable
[SW8800-Vlan-interface203] mpls ldp transport-ip interface
Configure IP address and enable MPLS and LDP for VLAN interface 202.
[SW8800] vlan 202
[SW8800-vlan202] port gigabitethernet 2/1/2
[SW8800-vlan202] quit
[SW8800] interface Vlan-interface 202
[SW8800-Vlan-interface202] ip address 100.10.1.2 255.255.255.0
[SW8800-Vlan-interface202] mpls
[SW8800-Vlan-interface202] mpls ldp enable
[SW8800-Vlan-interface202] mpls ldp transport-ip interface
[SW8800-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
[SW8800-ospf-1] area 0
[SW8800-ospf-1-area-0.0.0.0] network 168.1.0.0 0.0.255.255
[SW8800-ospf-1-area-0.0.0.0] network 172.17.0.0 0.0.255.255
[SW8800-ospf-1-area-0.0.0.0] network 100.10.1.0 0.0.0.255
[SW8800-ospf-1-area-0.0.0.0] quit
3)
Configure Switch C