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

maximum service-policy input allowed in a router

aprasad11
Level 1
Level 1

hi ,

 

Would anyone know what is the maximum number of service-policy input/output is allowed in a cisco router. I think the QOS stops working after a maximum limit is reached. E.g if have interface and have 1000 subinterface QOS stops working after a certain limit is reached.. you will be able to apply the command but Qos doe not work

 

 

2 Replies 2

Hello,

 

I have never seen a hard limit on service policies. There is a hard limit on subinterfaces that can be configured (depending on platform and IOS release, see the document attached).

 

Have you actually tested this, or is this a theoretical question ?

 

Maximum Number of Interfaces and Subinterfaces for Cisco IOS Routers: IDB Limits

 

https://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-software-releases-122-mainline/15096-idb-limit.html#max_no_interfaces

yes haven't heard of max service policies either but there is a max class count and class map count

Q. How many classes does a Quality of Service (QoS) policy support?



A. In Cisco IOS versions earlier than 12.2 you could define a maximum of only 256 classes, and you could define up to 256 classes within each policy if the same classes are reused for different policies. If you have two policies, the total number of classes from both policies should not exceed 256. If a policy includes Class-Based Weighted Fair Queueing (CBWFQ) (meaning it contains a bandwidth [or priority] statement within any of the classes), the total number of classes supported is 64.

In Cisco IOS versions 12.2(12),12.2(12)T, and 12.2(12)S, this limitation of 256 global class-maps was changed, and it is now possible to configure up to 1024 global class-maps and to use 256 class-maps inside the same policy-map.