HPE FlexFabric 5950 Series Configuration Manual page 71

Mpls
Hide thumbs Also See for FlexFabric 5950 Series:
Table of Contents

Advertisement

# On Switch A, configure an IPv6 label advertisement policy to advertise only the label mapping
for FEC 11::0/64 to Switch B.
[SwitchA] mpls ldp
[SwitchA-ldp] ipv6 advertise-label prefix-list prefix-to-b peer peer-b
[SwitchA-ldp] quit
# On Switch C, create IPv6 prefix list prefix-to-b to permit subnet 21::0/64. Switch C uses this
list to filter FEC-label mappings advertised to Switch B.
[SwitchC] ipv6 prefix-list prefix-to-b index 10 permit 21::0 64
# On Switch C, create IP prefix list peer-b to permit 2.2.2.9/32. Switch C uses this list to filter
peers.
[SwitchC] ip prefix-list peer-b index 10 permit 2.2.2.9 32
# On Switch C, configure an IPv6 label advertisement policy to advertise only the label mapping
for FEC 21::0/64 to Switch B.
[SwitchC] mpls ldp
[SwitchC-ldp] ipv6 advertise-label prefix-list prefix-to-b peer peer-b
[SwitchC-ldp] quit
# On Switch D, create IPv6 prefix list prefix-to-a to deny subnet 21::0/64. Switch D uses this list
to filter FEC-label mappings to be advertised to Switch A.
[SwitchD] ipv6 prefix-list prefix-to-a index 10 deny 21::0 64
[SwitchD] ipv6 prefix-list prefix-to-a index 20 permit 0::0 0 less-equal 128
# On Switch D, create IP prefix list peer-a to permit 1.1.1.9/32. Switch D uses this list to filter
peers.
[SwitchD] ip prefix-list peer-a index 10 permit 1.1.1.9 32
# On Switch D, create IPv6 prefix list prefix-to-c to deny subnet 11::0/64. Switch D uses this list
to filter FEC-label mappings to be advertised to Switch C.
[SwitchD] ipv6 prefix-list prefix-to-c index 10 deny 11::0 64
[SwitchD] ipv6 prefix-list prefix-to-c index 20 permit 0::0 0 less-equal 128
# On Switch D, create IP prefix list peer-c to permit subnet 3.3.3.9/32. Switch D uses this list to
filter peers.
[SwitchD] ip prefix-list peer-c index 10 permit 3.3.3.9 32
# On Switch D, configure an IPv6 label advertisement policy. This policy ensures that Switch D
does not advertise label mappings for FEC 21::0/64 to Switch A, and does not advertise label
mappings for FEC 11::0/64 to Switch C.
[SwitchD] mpls ldp
[SwitchD-ldp] ipv6 advertise-label prefix-list prefix-to-a peer peer-a
[SwitchD-ldp] ipv6 advertise-label prefix-list prefix-to-c peer peer-c
[SwitchD-ldp] quit
V erifying the configuration
3 6 6 B
# Display LDP LSP information on the switches, for example, on Switch A.
[SwitchA] display mpls ldp lsp ipv6
Status Flags: * - stale, L - liberal, B - backup
FECs: 2
FEC: 11::/64
In/Out Label: 2417/-
Nexthop
In/Out Label: -/1098(L)
Nexthop
In/Out Label: -/2418(L)
Ingress: 1
: -
: -
Transit: 1
Egress: 1
OutInterface : -
OutInterface : -
OutInterface : -
63

Advertisement

Table of Contents
loading

Table of Contents