beautypg.com

Verifying the configuration – H3C Technologies H3C S6800 Series Switches User Manual

Page 65

background image

52

[SwitchA] mpls ldp

[SwitchA-mpls-ldp] quit

[SwitchA] interface vlan-interface 12

[SwitchA-Vlan-interface12] mpls enable

[SwitchA-Vlan-interface12] mpls ldp enable

[SwitchA-Vlan-interface12] quit

[SwitchA] interface vlan-interface 24

[SwitchA-Vlan-interface24] mpls enable

[SwitchA-Vlan-interface24] mpls ldp enable

[SwitchA-Vlan-interface24] quit

5.

Configure LSP generation policies so LDP using all static routes and IGP routes to establish LSPs:
# Configure Switch S.

[SwitchS] mpls ldp

[SwitchS-ldp] lsp-trigger all

[SwitchS-ldp] quit

# Configure Switch D.

[SwitchD] mpls ldp

[SwitchD-ldp] lsp-trigger all

[SwitchD-ldp] quit

# Configure Switch A.

[SwitchA] mpls ldp

[SwitchA-ldp] lsp-trigger all

[SwitchA-ldp] quit

Verifying the configuration

# Verify that primary and backup LSPs have been established on Switch S.

[SwitchS] display mpls ldp lsp 21.1.1.0 24

Status Flags: * - stale, L - liberal, B - backup

Statistics:

FECs: 1 Ingress LSPs: 2 Transit LSPs: 2 Egress LSPs: 0

FEC In/Out Label Nexthop OutInterface

21.1.1.0/24 -/3 13.13.13.2 Vlan-int13

2174/3 13.13.13.2 Vlan-int13

-/3(B) 12.12.12.2 Vlan-int12

2174/3(B) 12.12.12.2 Vlan-int12