06-28-2024 09:32 AM - last edited on 06-28-2024 09:44 AM by rupeshah
1. A BGP policy needs to be configured to filter all the /20 prefixes whose first two octets are 20.128.
Which of the following answers would provide the correct matching logic for the
filtering process, matching only the described subnets and no others?
a. access-list 1 deny 20.128.0.0 0.0.255.255
b. access-list 101 deny ip 20.128.0.0 0.0.255.255 host 255.255.240.0
c. ip prefix-list 1 deny 20.128.0.0/16 eq 20
d. ip prefix-list 2 deny 20.128.0.0/16 ge 20 le 20
Author's answer is B and D. A seems obvious as it's an exact ip match without a prefix.
However C also seems correct to me.
Why doesn't C work?
Solved! Go to Solution.
06-28-2024 09:43 AM
06-28-2024 09:43 AM
Simply becuase in
Ip prefix-list
There is no ""eq"" keyword
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide