Table 10-15. Policy CLI Commands
CLI Command
class class-map-name
[access-group acl-name ]
trust [cos | dscp |
tcp-udp-port]
set {dscp new-dscp |
queue queue-id | cos
new-cos }
police committed-rate-
bps committed-burst-
byte [exceed-action
{drop | policed-dscp-
transmit}]
qos aggregate-policer
aggregate-policer-name
committed-rate-bps
excess-burst-byte
exceed-action {drop |
policed-dscp-transmit}
The following is an example of the CLI commands:
console(config)# policy map policy1
console(config-pmap)# class class1 access-group dell
console(config-pmap)# trust cos
console(config-pmap)# set dscp 56
console(config-pmap)# police 124000 96000 exceed-action drop
console(config-pmap)# exit
console(config)# qos aggregate-policer policer1 124000 96000
exceed-action drop
Applying Policies to Interfaces
Use the QoS Policy Binding page to implement policies on interfaces. To open the page, click
Quality of Service→ Advanced QoS Mode→ Policy Binding in the tree view.
Description
Defines the traffic classification, and
enters policy map class configuration
mode.
Configures the trust state, which selects
the value that QoS uses as the source of
internal DSCP value.
Sets new values in the IP packet. Note:
This command is mutually exclusive of
the trust command.
Defines a single policer for classified
traffic.
Defines the police parameters that can be
applied to multiple traffic classes within
the same policy map.
Configuring Quality of Service
461