cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
373
Views
0
Helpful
2
Replies

Cisco ASR9010 IOS-XR 5.1.x limitation on number classes per policy-map incoming policing

cweisbrod
Level 1
Level 1

Hi Cisco Community,

I am currently creating a policing config for our incoming VPN customers into our data centers.

What is the current limitation on numbers of classes per policy-map for the ASR9010 with IOS-XR 5.1.0 and the following line cards and config (incoming 1R2C policing per class)?  Where would I usually find this kind of software/hardware limitation?

Cisco IOS XR Software, Version 5.1.0[Default]
Copyright (c) 2013 by Cisco Systems, Inc.

cisco ASR9K Series (Intel 686 F6M14S4) processor with 6291456K bytes of memory.
Intel 686 F6M14S4 processor at 2128MHz, Revision 2.174
ASR 9010 AC Chassis with PEM Version 2

NAME: "module 0/0/0", DESCR: "ASR 9000 20-port 1GE Modular Port Adapter"
PID: A9K-MPA-20X1GE, VID: V02, SN: xxx

NAME: "module 0/1/0", DESCR: "ASR 9000 20-port 1GE Modular Port Adapter"
PID: A9K-MPA-20X1GE, VID: V02, SN: xxx


##########################################################
!
CONFIG TEMPLATE:
ipv4 access-list QoS_100m_Police_CUST000x (one per customer VPN)
10 remark <Customername> VPN Gateway
20 permit ipv4 host <IP OF CUSTOMER VPN GW e.g. 1.1.1.1> any

class-map match-all CM_100m_Police_CUST000x (one per customer VPN)
match access-group ipv4 QoS_100m_Police_CUST000x
end-class-map

policy-map Customer_QoS_In (one per customer VPN)
class CM_100m_Police_CUST000x
police rate 100 mbps
conform-action transmit
violate-action drop
!
class class-default
!
end-policy-map
!

interface GigabitEthernet0/0/0/19
service-policy input Customer_QoS_In
!
interface GigabitEthernet0/1/0/19
service-policy input Customer_QoS_In
!
##########################################################


Thanks,
Christoph

1 Accepted Solution

Accepted Solutions

smilstea
Cisco Employee
Cisco Employee

You can use the show qos capability command.

Thanks,

Sam

View solution in original post

2 Replies 2

smilstea
Cisco Employee
Cisco Employee

You can use the show qos capability command.

Thanks,

Sam

Thank you Sam!  Really appreciate it :)

I can see the limit is 1024 which confirms the text that I found earlier but was not sure if I understood it right: http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r5-1/qos/configuration/guide/b_qos_cg51xasr/b_qos_cg51xasr_chapter_0101.html#ID635

RP/0/RSP0/CPU0:routername#show qos capability location 0/1/CPU0
Wed Apr 27 20:15:41.361 UTC
Capability Information:
======================

Max Policy maps supported on this LC: 5120
Max policy hierarchy: 3
Max policy name length: 64
Max classes per child-policy: 1024
Max classes per policy: 1024
Max classes per grand-parent policy: 1
Max police actions per class: 2
Max marking actions per class: 2
Max matches per class : 8
Max class-map name length: 64
Max members in a bundle: 64
Max instance name length: 32