beautypg.com

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

Page 61

background image

48

# On Switch D, configure a label advertisement policy, so Switch D does not advertise label

mappings for FEC 21.1.1.0/24 to Switch A, and does not advertise label mappings for FEC
11.1.1.0/24 to Switch C.

[SwitchD] mpls ldp

[SwitchD-ldp] advertise-label prefix-list prefix-to-a peer peer-a

[SwitchD-ldp] advertise-label prefix-list prefix-to-c peer peer-c

[SwitchD-ldp] quit

Verifying the configuration

# Display LDP LSP information on each switch.

[SwitchA] display mpls ldp lsp

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

Statistics:

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

FEC In/Out Label Nexthop OutInterface

11.1.1.0/24 1277/-

-/1151(L)

-/1277(L)

21.1.1.0/24 -/1276 10.1.1.2 Vlan-int2

1276/1276 10.1.1.2 Vlan-int2

[SwitchB] display mpls ldp lsp

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

Statistics:

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

FEC In/Out Label Nexthop OutInterface

11.1.1.0/24 -/1277 10.1.1.1 Vlan-int2

1277/1277 10.1.1.1 Vlan-int2

21.1.1.0/24 -/1149 20.1.1.2 Vlan-int3

1276/1149 20.1.1.2 Vlan-int3

[SwitchC] display mpls ldp lsp

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

Statistics:

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

FEC In/Out Label Nexthop OutInterface

11.1.1.0/24 -/1277 20.1.1.1 Vlan-int3

1148/1277 20.1.1.1 Vlan-int3

21.1.1.0/24 1149/-

-/1276(L)

-/1150(L)

[SwitchD] display mpls ldp lsp

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

Statistics:

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

FEC In/Out Label Nexthop OutInterface

11.1.1.0/24 1151/-