QoS profile resource usage

A QoS profile resource refers to the number of classifier and rewrite policies that are configured on a forwarding complex. Each classifier or rewrite policy that is created counts as one profile resource used, regardless of the number of subinterfaces it is applied to.

Displaying QoS profile resource usage

To display QoS profile resource usage, use the info from state command. The following example displays the number of used and free classifier and rewrite profile resources for a line card:

--{ candidate shared default }--[  ]--
# info from state platform linecard 1 forwarding-complex 0 qos
    platform {
        linecard 1 {
            forwarding-complex 0 {
                qos {
                    resource classifier-profiles {
                    }
                    resource dot1p-rewrite-policies {
                        used 1
                        free 62
                    }
                    resource dscp-mpls-rewrite-policies {
                        used 1
                        free 62
                    }
                    resource dscp-rewrite-policies {
                        used 1
                        free 62
                    }
                    resource input-policers {
                        used 0
                        free 512000
                    }
                    resource output-class-maps {
                        used 0
                        free 256
                    }
                    resource rewrite-profiles {
                    }
                    resource-set-pool 0 {
                    }
                    resource-set-pool 1 {
                    }
                }
            }
        }
    }