cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
463
Views
0
Helpful
2
Replies
Highlighted
Beginner

Prefix-set range for route-policy in BGP

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
Highlighted
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
Highlighted
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

Highlighted

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