Sunday, August 18, 2019

IP Prefix List Question

Hi all,

Quick question about prefix lists. I'm peering with a partner and injecting a route map IN (BGP), which restricts the prefixes advertised to us, but a quick question, because I'm trying to save the amount of config to be written up. The partner is advertising a lot of /23 and /24s.

Example: Let's say the partner is advertising 192.168.206.0/23 and 192.168.207.0/24. To save 2 entries for both prefixes, I thought of writing up a config in this manner:
ip prefix-list REDDIT seq 5 permit 192.168.206.0/23 le 24.

My understand is that this will allow both the 192.168.206.0/23 and 192.168.207.0/24.

Does this look correct?

Thanks



No comments:

Post a Comment