cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
703
Views
5
Helpful
2
Replies

Route-map on NCS 5001

Tecnologia@
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

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

View solution in original post

2 Replies 2

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

Thanks @Georg Pauwen, It worked just fine.

 

I just had to change the "set as-path prepend" command to "prepend as-path"

Review Cisco Networking for a $25 gift card