cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
247
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

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Prefix-set range for route-policy in BGP

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
2 REPLIES 2
Cisco Employee

Re: Prefix-set range for route-policy in BGP

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
Beginner

Re: Prefix-set range for route-policy in BGP

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

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards