3com 8807 User Guide
526
C
HAPTER
48: MPLS B
ASIC
C
APABILITY
C
ONFIGURATION
# Configure IP address and enable LDP and MPLS for VLAN interface 202.
[SW8800] vlan 202
[3Com-vlan202] port gigabitethernet 2/1/1
[3Com-vlan202] quit
[SW8800] interface Vlan-interface 202
[3Com-Vlan-interface202] ip address 100.10.1.1 255.255.255.0
[3Com-Vlan-interface202] mpls
[3Com-Vlan-interface202] mpls ldp enable
[3Com-Vlan-interface202] quit
# Enable OSPF on the interface connecting Switch C with Switch B.
[SW8800] Router id 100.10.1.1
[SW8800] ospf
[3Com-ospf-1] area 0
[3Com-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
[3Com-mpls] quit
[SW8800] mpls ldp
# 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.2 255.255.0.0
[3Com-Vlan-interface203] mpls
[3Com-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
[3Com-ospf-1] area 0
[3Com-ospf-1-area-0.0.0.0] network 172.17.0.0 0.0.255.255
Troubleshooting MPLS
Configuration
Configuration
Symptom: Session cannot be setup with the peer after LDP is enabled on the
interface.
interface.
Troubleshooting:
Cause 1: Loop detection configuration is different at the two ends.
Solution: Check loop detection configuration at both ends to see if one end is
configured while the other end is not (this will result in session negotiation failure).
configured while the other end is not (this will result in session negotiation failure).
Cause 2: Local machine cannot get the route to peer LSR ID, so TCP connection
cannot be set up and session cannot be established.
cannot be set up and session cannot be established.