[c-nsp] IOS-XR Nested Route Policy
Arthur Liew
arthurliew80 at gmail.com
Tue Nov 24 20:51:44 EST 2015
Dear Guys,
I would like to implement a nested routing policy in IOS-XR within our
network. Sample policy at the bottom of email.
We have the following versions in our network
IOS-XR 3.9.2
IOS-XR 4.2.0
IOS-XR 5.2.0
I am just wondering if anyone of you have ever implemented this & do share
with me if there's any issues faced or comments for different versions of
IOS-XR.
Cheers !
Rgds
Arthur
---------------------------------------------------
route-policy BGP-IN-ISP
apply BGP-IN-BASE-POLICY
if as-path in isp-as-path-in-permit then
set community isp-routes
set local-preference 100
pass
else
drop
endif
end-policy
---------------------------------------------------
route-policy BGP-OUT-ISP
apply BGP-OUT-BASE-POLICY
pass
end-policy
---------------------------------------------------
route-policy BGP-IN-BASE-POLICY
# Repetitive route processing required in all peering
if destination in bogon-ipv4-deny
drop
elseif destination in prefixsize-ipv4-permit then
pass
else
drop
endif
end-policy
---------------------------------------------------
route-policy BGP-OUT-BASE-POLICY
# Repetitive route processing required in all peering
if (destination in isp-own-ipv4 or as-path in METRO_E) and (destination in
prefixsize-ipv4-permit) then
pass
else
drop
endif
end-policy
More information about the cisco-nsp
mailing list