maximum service-policy input allowed in a router
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2017 04:36 AM - edited 03-05-2019 09:31 AM
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
- Labels:
-
Other Routing

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2017 07:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2017 08:24 AM
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.
