R21xx-HP FlexFabric 11900 MPLS Configuration Guide

77
[SwitchC] ip prefix-list switchc index 20 permit 2.2.2.9 32
[SwitchC] ip prefix-list switchc index 30 permit 3.3.3.9 32
[SwitchC] ip prefix-list switchc index 40 permit 11.1.1.0 24
[SwitchC] ip prefix-list switchc index 50 permit 21.1.1.0 24
[SwitchC] mpls ldp
[SwitchC-ldp] lsp-trigger prefix-list switchc
[SwitchC-ldp] quit
5. Verify the configuration:
# Execute the display mpls ldp lsp command on each switch to view the LDP LSP information. For
example, on Switch A:
[SwitchA] display mpls ldp lsp
Status Flags: * - stale, L - liberal
Statistics:
FECs: 5 Ingress LSPs: 3 Transit LSPs: 3 Egress LSPs: 2
FEC In/Out Label Nexthop OutInterface
1.1.1.9/32 3/-
-/1279(L)
2.2.2.9/32 -/3 10.1.1.2 Vlan-int2
1279/3 10.1.1.2 Vlan-int2
3.3.3.9/32 -/1278 10.1.1.2 Vlan-int2
1278/1278 10.1.1.2 Vlan-int2
11.1.1.0/24 1277/-
-/1277(L)
21.1.1.0/24 -/1276 10.1.1.2 Vlan-int2
1276/1276 10.1.1.2 Vlan-int2
Label acceptance control configuration example
Network requirements
Two links, Switch ASwitch BSwitch C and Switch A—Switch D—Switch C, exist between subnets
11.1.1.0 / 24 a n d 21.1.1. 0 / 24 .
Configure label acceptance control, so LDP sets up LSPs only on the link Switch A—Switch B—Switch C
to forward traffic between subnets 11.1.1.0 / 24 a n d 21.1.1.0 / 24 .