Verifying the configuration – H3C Technologies H3C S6800 Series Switches User Manual
Page 435
422
[SwitchB] mpls lsr-id 2.2.2.9
[SwitchB] mpls ldp
[SwitchB-ldp] quit
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] mpls enable
[SwitchB-Vlan-interface2] mpls ldp enable
[SwitchB-Vlan-interface2] quit
[SwitchB] interface vlan-interface 3
[SwitchB-Vlan-interface3] mpls enable
[SwitchB-Vlan-interface3] mpls ldp enable
[SwitchB-Vlan-interface3] quit
# Configure Switch C.
[SwitchC] mpls lsr-id 3.3.3.9
[SwitchC] mpls ldp
[SwitchC-ldp] quit
[SwitchC] interface vlan-interface 3
[SwitchC-Vlan-interface3] mpls enable
[SwitchC-Vlan-interface3] mpls ldp enable
[SwitchC-Vlan-interface3] quit
4.
Enable BFD for MPLS, and configure BFD to verify LSP connectivity:
# Configure Switch A.
[SwitchA] mpls bfd enable
[SwitchA] mpls bfd 3.3.3.9 32
# Configure Switch C.
[SwitchC] mpls bfd enable
[SwitchC] mpls bfd 1.1.1.9 32
Verifying the configuration
# Display BFD information for LSPs on Switch A and Switch C, for example, on Switch A.
[SwitchA] display mpls bfd
Total number of sessions: 2, 2 up, 0 down, 0 init
FEC Type: LSP
FEC Info:
Destination: 1.1.1.9
Mask Length: 32
NHLFE ID: -
Local Discr: 514 Remote Discr: 514
Source IP: 1.1.1.9 Destination IP: 3.3.3.9
Session State: Up Session Role: Active
Template Name: -
FEC Type: LSP
FEC Info:
Destination: 3.3.3.9
Mask Length: 32
NHLFE ID: 1025
Local Discr: 513 Remote Discr: 513