cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1666
Views
4
Helpful
2
Replies

Local policy-map in IOS-XR

kokulsharma
Level 1
Level 1

We are migrating an IOS based PE to ASR9K with XR4.2. Customer has a local policy-map to match SNMP, telnet packets generaing from router and set Precedence value 3.

!

ip access-list extended MGMT

permit tcp any any eq telnet

permit udp any any eq snmp

!

route-map MARK permit 10

match ip address MGMT

set ip precedence flash

!

ip local policy route-map MARK

!

With ABF we can only set next-hop. Any other way we can do this in XR?

Thanks,

2 Replies 2

mdebraba
Cisco Employee
Cisco Employee

You can use the config commands:

snmp-server ipv4 dscp cs3

telnet ipv4 dscp cs3

Thanks Maxime, but actually I have few more traffic in the same class like syslog, ntp, tacacs.  Not all are supported with this direct marking..

ipv4 access-list MGMT

10 permit tcp any any eq telnet

20 permit udp any any eq snmp

30 permit udp any any eq snmptrap

40 permit udp any any eq ntp

50 permit udp any any eq syslog

60 permit tcp any any eq ssh

70 permit tcp any any eq tacacs