14-17
Ethernet Card Software Feature and Configuration Guide, R7.2
January 2009
Chapter 14 Configuring Quality of Service
Configuring CoS-Based QoS
Use the no form of the command to detach a traffic policy from an interface. The service-policy
command syntax is as follows:
service-policy {input | output} policy-map-name
no service-policy {input | output} policy-map-name
To attach a traffic policy to an interface, use the following commands in global configuration mode, as
needed:

Configuring CoS-Based QoS

The global cos commit cos-value command allows the ML-Series card to base the QoS treatment for a
packet coming in on a network interface on the attached CoS value, rather than on a per-customer-queue
policer.
CoS-based QoS is applied with a single global cos commit cos-value command, as shown in Table 14-3.
Monitoring and Verifying QoS Configuration
After configuring QoS on the ML-Series card, the configuration of class maps and policy maps can be
viewed through a variety of show commands. To display the information relating to a traffic class or
traffic policy, use one of the commands in Tabl e 14-4 in EXEC mode, as needed. Tabl e 14-4 describes
the commands that are related to QoS status.
Step 1 Router(config)# interface
interface-id
Enters interface configuration mode, and specifies the
interface to apply the policy map.
Valid interfaces are limited to physical Ethernet and POS
interfaces.
Note Policy maps cannot be applied to SPR interfaces,
subinterfaces, port channel interfaces, or Bridge
Group Virtual Interfaces (BVIs).
Step 2 Router(config-if)# service-policy
output
policy-map-name
Specifies the name of the traffic policy to be attached to the
output direction of an interface. The traffic policy evaluates
all traffic leaving that interface.
Step 3 Router(config-if)# service-policy
input
policy-map-name
Specifies the name of the traffic policy to be attached to the
input direction of an interface. The traffic policy evaluates
all traffic entering that interface.
Table 14-3 CoS Commit Command
Command Purpose
Router(config)# cos-commit
cos-value
Labels packets that come in with a CoS equal to or higher than t he
cos-value as CIR and packets with a lower CoS as DE.