Networking-Forums.com

Professional Discussions => Routing and Switching => Topic started by: Ironman on January 15, 2016, 11:01:57 PM

Title: Juniper Routing Policy Issue
Post by: Ironman on January 15, 2016, 11:01:57 PM
Hello Everyone, I seem to be having this issue on a Juniper device. I am trying to add a new Policy line to an existing statement but it keeps getting inserted below the "reject" statement. I have tried removing the reject statement then putting the new statement in followed by the reject only to have the same outcome. Any ideas?


set policy-options policy-statement Sites term AB from route-filter 192.168.1.0/24 exact
set policy-options policy-statement Sites term AB then accept
set policy-options policy-statement Sites term rej then reject
set policy-options policy-statement Sites term CD from instance CD-INSTANCE
set policy-options policy-statement Sites term CD from route-filter 192.168.2.0/24 exact


Me with this policy at them moment:  :developers:
Title: Re: Juniper Routing Policy Issue
Post by: wintermute000 on January 15, 2016, 11:33:34 PM
http://forums.juniper.net/t5/Junos/CLI-Moving-policy-terms-around/td-p/34601
Title: Re: Juniper Routing Policy Issue
Post by: Ironman on January 16, 2016, 08:19:57 AM
Awesome, thanks!
Title: Re: Juniper Routing Policy Issue
Post by: wintermute000 on January 16, 2016, 08:36:50 PM
working?
Title: Re: Juniper Routing Policy Issue
Post by: Ironman on January 17, 2016, 11:23:13 AM
Yup, worked perfectly, thanks!