Routing
Highlighted
Routing

Do they have the same effect of route-filter?

‎05-31-2017 08:37 AM

Hi There are two group config. Do you think they have the same effect ? Thank you

 

 

Group One:
set policy-options policy-statement ISP_S_v6 term N_ROUTES from route-filter 2111:2222:FF00::/40 orlonger
set policy-options policy-statement ISP_S_v6 term N_ROUTES from route-filter 2111:2222:FF00::/40 upto 64


Group two
set policy-options policy-statement ISP_S_v6 term N_ROUTES from route-filter 2111:2222:FF00::/40 orlonger

 

2 REPLIES 2
Highlighted
Routing

Re: Do they have the same effect of route-filter?

‎05-31-2017 01:46 PM

Yes, I think they have the same effect.  I would assume the second term in the first filter never applies and all the prefixes are caught by the first term.

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
Highlighted
Routing

Re: Do they have the same effect of route-filter?

‎06-17-2017 05:57 AM

Hi,

 

IMO, for the group one, it will not hit the send match statement of "upto"

 

upto prefix-length2

The route address shares the same most-significant bits as the match prefix (destination-prefix or source-prefix). The number of significant bits is described by the prefix-length component of the match prefix.
The route’s prefix length falls between the prefix-length component of the first match prefix and prefix-length2.

orlonger

The route address shares the same most-significant bits as the match prefix (destination-prefix or the source-prefix). The number of significant bits is described by the prefix-length component of the match prefix.
The route’s prefix length is equal to or greater than the prefix-length component of the configured match prefix.

 

Please refer to the documentation link:

 

https://www.juniper.net/documentation/en_US/junos/topics/usage-guidelines/policy-configuring-route-l...

 

Hope this helps.

 

Thanks

 

Hope this helps

--------------------------------------------------------------------------------------------------------
If this post was helpful, please mark this post as an "Accepted Solution".
Kudos are always appreciated!
--------------------------------------------------------------------------------------------------------
Feedback