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

Prefix-set range for route-policy in BGP

cryptodork
Level 1
Level 1

When creating a prefix-set for a route policy to be used in BGP would the following be functionally equivalent?  Thanks!

 

192.168.0.0/16 ge 17

192.168.0.0/16 le 32

192.168.0.0/16 ge 17 le 32

1 Accepted Solution

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

They are not all functionally equivalent.

 

> 192.168.0.0/16 ge 17

prefix matches 192.168.0.0/16 and prefix-length is greater than 16

 

> 192.168.0.0/16 le 32

prefix matches 192.168.0.0/16 and prefix-length is greater than 15

 

> 192.168.0.0/16 ge 17 le 32

Functionally equivalent to the first one

 

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

They are not all functionally equivalent.

 

> 192.168.0.0/16 ge 17

prefix matches 192.168.0.0/16 and prefix-length is greater than 16

 

> 192.168.0.0/16 le 32

prefix matches 192.168.0.0/16 and prefix-length is greater than 15

 

> 192.168.0.0/16 ge 17 le 32

Functionally equivalent to the first one

 

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

Awesome!  Thanks!  I was  having difficulty with the "le 32".  I didn't realize that it was including the prefix length.  Thank you again!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco