[SwitchB-Vlan-interface10] quit
[SwitchB] interface vlan-interface 11
[SwitchB-Vlan-interface11] mpls
[SwitchB-Vlan-interface11] mpls ldp
[SwitchB-Vlan-interface11] quit
# Configure Switch C.
[SwitchC] mpls lsr-id 1.1.1.9
[SwitchC] mpls
[SwitchC-mpls] quit
[SwitchC] mpls ldp
[SwitchC-mpls-ldp] quit
[SwitchC] interface vlan-interface 11
[SwitchC-Vlan-interface11] mpls
[SwitchC-Vlan-interface11] mpls ldp
[SwitchC-Vlan-interface11] quit
After completing the above configurations, local sessions should have been established between
Switch A and Switch B and between Switch B and Switch C. You can execute the display mpls ldp
session command to check whether the local sessions have been established, or use the display
mpls ldp peer command to check the peers. The following takes Switch A as an example:
[SwitchA] display mpls ldp session
LDP Session(s) in Public Network
Total number of sessions: 1
----------------------------------------------------------------
Peer-ID
Status
----------------------------------------------------------------
2.2.2.9:0
Operational
----------------------------------------------------------------
LAM : Label Advertisement Mode
[SwitchA] display mpls ldp peer
LDP Peer Information in Public network
Total number of peers: 1
-----------------------------------------------------------------
Peer-ID
----------------------------------------------------------------
2.2.2.9:0
----------------------------------------------------------------
4)
Configure the remote LDP session
# Configure Switch A.
[SwitchA] mpls ldp remote-peer peerc
[SwitchA-mpls-ldp-remote-peerc] remote-ip 3.3.3.9
[SwitchA-mpls-ldp-remote-peerc] quit
# Configure Switch C.
[SwitchC] mpls ldp remote-peer peera
[SwitchC-mpls-ldp-remote-peera] remote-ip 1.1.1.9
[SwitchC-mpls-ldp-remote-peera] quit
LAM
SsnRole
FT
DU
Passive
Off
FT
Transport-Address
Discovery-Source
2.2.2.9
Vlan-interface10
1-36
MD5
KA-Sent/Rcv
Off
5/5
: Fault Tolerance