cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1955
Views
0
Helpful
8
Replies

Apply PBR on sub-interface

Hi all , 

I have cisco NCS-5001 ,, i tried to apply PBR on the sub-interface , but i can't do that's as you can see below .. So any advice or alternative method to apply it .. Thanks in advance 

 

ipv4 access-list Test
10 permit ipv4 any any
!

class-map type traffic match-any Test
match access-group ipv4 Test
end-class-map
!

policy-map type pbr Test
class type traffic Test
redirect ipv4 nexthop 10.1.10.1
!
class type traffic class-default
transmit
!
end-policy-map

 

RP/0/RP0/CPU0:NCS(config)#interface FortyGigE0/0/1/0.153
RP/0/RP0/CPU0:NCS(config-subif)#service-policy type ?

% Invalid input detected at '^' marker.

 

 

8 Replies 8

Mark Malone
VIP Alumni
VIP Alumni

Hi

i dont have these specific models to exactly confirm but when i look at the data sheet PBR is not listed as supported

Usually its listed and if doesnt take its a license issue but i dont even see it listed , is it taking on physial interface ?

 

Sometimes the syntax can be there but not allowed to be applied if unsupported

 

https://www.cisco.com/c/en/us/products/collateral/routers/network-convergence-system-5000-series/datasheet-c78-736153.html

 

This looks like maybe another method for XR

https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5000/routing/63x/b-routing-cg-ncs5000-63x/b-routing-cg-ncs5000-63x_chapter_0110.html

maybe config guides show something but i couldnt see any PBR ther either

Yes is the same issue with the physical interface .. Thanks 

Hello,

 

it works on the ASR9000, I suspect it doesn't on the NCS5001.I don't get that specific command to run either on the CSR1000...

yes dont think your going to get it working then , it looks as if its not supported , definitely if it cant be applied to physical main interface

So , is there any alternative method to apply the command for set ip next-hop ?  Thanks in advance 

Hello,

 

would 'standard' (as opposed to enhanced) PBR be an option ?

 

By the way, FYI, I attach the link with regard to ePBR on the ASR9K, which mirrors what you want to do. I have been looking around, a lot, but there is sparse information around at best specifically for the NCS5001...

 

https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r6-1/addr-serv/configuration/guide/b-asr9000-ip-addresses-configuration-guide-61x/b-asr9000-ip-addresses-configuration-guide-61x_chapter_01111.html#id_60466

Hello

why are you trying to policy route when your access-list is defining all traffic why not just use a default static route?


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

This was just for test ..  the main goal to catch the HTTP traffic ( i.e L4 traffic ) and set IP next-hop .. Therefor i need PBR ..