cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
2
Helpful
2
Replies

Question about IPV6 route-map

hfakoor222
Spotlight
Spotlight

I'm studying and this has me confused as I am trying to match 2001:db8:acad:224::1 and  2001:db8:acad:225::1

The prefix list below I assumed captures these bgp route advertisements from the peer

 

 

,

ipv6 prefix-list EVEN-NETWORK-6 permit 2001:db8:acad:224::/63 route-map ROUTE-BALANCE6 permit 10 match ipv6 address prefix-list EVEN-NETWORK-6 set local-preference 200 exit router bgp 41 bgp router-id 3.3.3.3 neighbor 2001:db8:acad:2000::1 remote-as 15 neighbor 2001:db8:acad:2001::1 remote-as 15 neighbor 209.165.200.226 remote-as 15 neighbor 209.165.200.226 update-source loopback 0 neighbor 209.165.200.226 ebgp-multihop 3 address-family ipv4 unicast neighbor 209.165.200.226 activate no neighbor 2001:db8:acad:2000::1 activate no neighbor 2001:db8:acad:2001::1 activate network 209.165.227.1 mask 255.255.255.255 exit address-family ipv6 unicast no neighbor 209.165.200.226 activate neighbor 2001:db8:acad:2000::1 activate neighbor 2001:db8:acad:2001::1 activate neighbor 2001:db8:acad:2001::1 route-map ROUTE-BALANCE6 in

 

Now the answer key says to do this, to catch both the prefixes and apply local pref:

no ipv6 prefix-list EVEN-NETWORK-6 permit 2001:db8:acad:224::/63
R3(config)# ipv6 prefix-list EVEN-NETWORK-6 sequence 5 permit 2001:db8:acad:224::/64
R3(config)# ipv6 prefix-list EVEN-NETWORK-6 sequence 10 permit 2001:db8:acad:225::/64

 

Now the answer key is right and I am wrong,

 

Why didn't the original prefix list match those routes?

 

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

Hi @hfakoor222 ,

The prefix-list you initially configured only matches the prefix 2001:db8:acad:224::/63 (exact match). If you want the prefix-list to match the /63 and the more specific prefixes (i.e. 2001:db8:acad:224::/64 and 2001:db8:acad:225::/64) you need to modify it as follow:

ipv6 prefix-list EVEN-NETWORK-6 permit 2001:db8:acad:224::/63 le 64

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

2 Replies 2

Harold Ritter
Cisco Employee
Cisco Employee

Hi @hfakoor222 ,

The prefix-list you initially configured only matches the prefix 2001:db8:acad:224::/63 (exact match). If you want the prefix-list to match the /63 and the more specific prefixes (i.e. 2001:db8:acad:224::/64 and 2001:db8:acad:225::/64) you need to modify it as follow:

ipv6 prefix-list EVEN-NETWORK-6 permit 2001:db8:acad:224::/63 le 64

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Thanks.

Review Cisco Networking for a $25 gift card