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

36-14

Configure LSR ID and enable MPLS and LDP.
[SW8800] mpls lsr-id 100.10.1.1
[SW8800] mpls
[SW8800-mpls] quit
[SW8800] mpls ldp
Configure IP address and enable LDP and MPLS for VLAN interface 202.
[SW8800] vlan 202
[SW8800-vlan202] port gigabitethernet 2/1/1
[SW8800-vlan202] quit
[SW8800] interface Vlan-interface 202
[SW8800-Vlan-interface202] ip address 100.10.1.1 255.255.255.0
[SW8800-Vlan-interface202] mpls
[SW8800-Vlan-interface202] mpls ldp enable
[SW8800-Vlan-interface202] quit
Enable OSPF on the interface connecting Switch C with Switch B.
[SW8800] Router id 100.10.1.1
[SW8800] ospf
[SW8800-ospf-1] area 0
[SW8800-ospf-1-area-0.0.0.0] network 100.10.1.0 0.0.0.255
4) Configure Switch D Configure LSR ID and enable MPLS and LDP.
[SW8800] mpls lsr-id 172.17.1.2
[SW8800] mpls
[SW8800-mpls] quit
[SW8800] mpls ldp
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.2 255.255.0.0
[SW8800-Vlan-interface203] mpls
[SW8800-Vlan-interface203] mpls ldp enable
Enable OSPF on the interface connecting Switch D with Switch B.
[SW8800] Router id 172.17.1.2
[SW8800] ospf
[SW8800-ospf-1] area 0
[SW8800-ospf-1-area-0.0.0.0] network 172.17.0.0 0.0.255.255