11-10-2020 11:24 AM
Hi NCS experts,
I'm translating the configuration from traditional IOS to use on NCS5001.
But, I noticed the route-map configuration is completely different on NCS platform.
How Can I translate the config below to NCS platform?
route-map ISP1_OUT permit 10
match ip address prefix-list ISP1
!
!
route-map ISP2_OUT permit 10
match ip address prefix-list ISP2
set as-path prepend 4.1389 4.1389
!
Could you guys help me out?
Solved! Go to Solution.
11-10-2020 11:52 AM
Hello,
the NCS uses RPL (Route Policy Language). Your IOS route maps translated to XR would look like this:
route-policy ISP1_OUT
if destination in ISP1 then
pass
endif
!
route-policy ISP2_OUT
if destination inISP2 then
set as-path prepend 4.1389 4.1389
endif
Apply policy to neighbor:
neighbor x.x.x.x
address-family ipv4 unicast
route-policy ISP1_OUT out
11-10-2020 11:52 AM
Hello,
the NCS uses RPL (Route Policy Language). Your IOS route maps translated to XR would look like this:
route-policy ISP1_OUT
if destination in ISP1 then
pass
endif
!
route-policy ISP2_OUT
if destination inISP2 then
set as-path prepend 4.1389 4.1389
endif
Apply policy to neighbor:
neighbor x.x.x.x
address-family ipv4 unicast
route-policy ISP1_OUT out
11-11-2020 06:43 PM
Thanks @Georg Pauwen, It worked just fine.
I just had to change the "set as-path prepend" command to "prepend as-path"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide