HP HPE FlexNetwork MSR Router Series Configuration Manual page 74

Table of Contents

Advertisement

[RouterA] ipv6 prefix-list prefix-from-d index 10 deny 21::0 64
# On Router A, configure IPv6 label acceptance policies to filter FEC-label mappings received
from Router B and Router D.
[RouterA] mpls ldp
[RouterA-ldp] ipv6 accept-label peer 2.2.2.9 prefix-list prefix-from-b
[RouterA-ldp] ipv6 accept-label peer 4.4.4.9 prefix-list prefix-from-d
[RouterA-ldp] quit
# On Router C, create an IPv6 prefix list prefix-from-b that permits subnet 11::0/64. Router C
uses this list to filter FEC-label mappings received from Router B.
[RouterC] ipv6 prefix-list prefix-from-b index 10 permit 11::0 64
# On Router C, create an IPv6 prefix list prefix-from-d that denies subnet 11::0/64. Router A
uses this list to filter FEC-label mappings received from Router D.
[RouterC] ipv6 prefix-list prefix-from-d index 10 deny 11::0 64
# On Router C, configure IPv6 label acceptance policies to filter FEC-label mappings received
from Router B and Router D.
[RouterC] mpls ldp
[RouterC-ldp] ipv6 accept-label peer 2.2.2.9 prefix-list prefix-from-b
[RouterC-ldp] ipv6 accept-label peer 4.4.4.9 prefix-list prefix-from-d
[RouterC-ldp] quit
Verifying the configuration
# Display IPv6 LDP LSP information on the routers, for example, on Router A.
[RouterA] display mpls ldp lsp ipv6
Status Flags: * - stale, L - liberal, B - backup
FECs: 2
FEC: 11::/64
In/Out Label: 2417/-
Nexthop
FEC: 21::/64
In/Out Label: -/2416
Nexthop
In/Out Label: 2415/2416
Nexthop
The output shows that the next hop of the IPv6 LSP for FEC 21::0/64 is Router B
(FE80::20C:29FF:FE9D:EAC0). The IPv6 LSP has been established over the link Router A—Router
B—Router C, not over the link Router A—Router D—Router C.
# Test the connectivity of the IPv6 LDP LSP from Router A to Router C.
[RouterA] ping ipv6 -a 11::1 21::1
Ping6(56 data bytes) 11::1 --> 21::1, press CTRL_C to break
56 bytes from 21::1, icmp_seq=0 hlim=63 time=4.000 ms
56 bytes from 21::1, icmp_seq=1 hlim=63 time=3.000 ms
56 bytes from 21::1, icmp_seq=2 hlim=63 time=3.000 ms
56 bytes from 21::1, icmp_seq=3 hlim=63 time=2.000 ms
56 bytes from 21::1, icmp_seq=4 hlim=63 time=1.000 ms
--- Ping6 statistics for 21::1 ---
5 packets transmitted, 5 packets received, 0.0% packet loss
Ingress: 1
: -
: FE80::20C:29FF:FE9D:EAC0
: FE80::20C:29FF:FE9D:EAC0
Transit 1
Egress: 1
OutInterface : -
OutInterface : Ser2/1/0
OutInterface : Ser2/1/0
64

Advertisement

Table of Contents
loading

Table of Contents