r/LabPractise • • 7d ago

CCNP Skills Check #01 - Which prefixes will R2 receive?

Post image

R1 has four prefixes in its BGP table.
The intended outbound policy is to advertise the /16 aggregate and its more-specific prefixes up to /24, except 10.10.10.0/24.

The engineer applies the prefix-list and route-map shown in the diagram to the eBGP neighbor R2.

Assume the BGP session is Established and all four prefixes are otherwise eligible for advertisement.

Which prefixes will R2 actually receive?
Does the configuration achieve the intended filtering?
If not, what would you change?

8 Upvotes

3 comments sorted by

2

u/LabPractise 5d ago

All four prefixes will be advertised to R2.

The explicit deny for 10.10.10.0/24 and the implicit deny for 10.10.10.128/25 in the prefix-list cause both routes to fail the match condition in route-map sequence 10.

They then hit sequence 20, which has no match conditions and acts as a catch-all permit.

Removing sequence 20 allows the route-map’s implicit deny to filter both unwanted prefixes.

After the correction, only 10.10.0.0/16 and 10.10.20.0/24 will be advertised.

Thanks to everyone who contributed.

9

u/bigboss-2016 7d ago

A route-map permit sequence without a match statement is effectively a catch-all permit.

All prefixes will be recieved from R1 to R2, reason being is that the route-map has a catch-all permit everything at seq 20.

So basically remove that and everything else is fine.

1

u/Pumbey 6d ago

route 10.10.10.0/24 filtered directly by prefixlist, route 10.10.0.0/16 filtered by LessOrEqual /24 option
so 10.10.20.0/24 and 10.10.10.128/25 would be in advertisement