12-29
Cisco ONS 15310-CL, ONS 15310-MA, and ONS 15310-MA SDH Ethernet Card Software Feature and Configuration Guide, R9.1 and R9.2
78-19415-01
Chapter 12 Configuring Quality of Service on the ML-Series Card
Configuring CoS-Based Packet Statistics
Configuring CoS-Based Packet Statistics
Note
For IEEE 802.1Q (QinQ) enabled interfaces, CoS accounting is based only on the CoS value of the outer
metro tag imposed by the service provider. The CoS value inside the packet sent by the customer network
is not considered for CoS accounting.
To enable CoS-based packet statistics on an interface, use the interface configuration level command
defined in Table 12-7.
After configuring CoS-based packet statistics on the ML-Series card, the statistics can be viewed
through a variety of show commands. To display this information, use one of the commands in
Table 12-8 in EXEC mode.
Example 12-16 shows examples of these commands.
Example 12-16Commands for CoS-Based Packet Statistics Examples
ML_Series# show interface fastethernet 0.5 cos
FastEthernet0.5
Stats by Internal-Cos
Input: Packets Bytes
Cos 0: 31 2000
Cos 1:
Cos 2: 5 400
Cos 3:
Cos 4:
Cos 5:
Cos 6:
Cos 7:
Output: Packets Bytes
Cos 0: 1234567890 1234567890
Cos 1: 31 2000
Cos 2:
Table 12-7 CoS-Based Packet Statistics Command
Command Purpose
ML_Series(config-if)# cos
accounting
Enables CoS-based packet statistics to be recorded at the specific
interface and for all the subinterfaces of that interface. This
command is supported only in interface configuration mode and not
subinterface configuration mode.
The no form of the command disables the statistics .
Table 12-8 Commands for CoS-Based Packet Statistics
Command Purpose
ML_Series# show interface
type number
cos
Displays the CoS-based packet statistics available for
an interface.
ML_Series# show interface
type
number.subinterface-number
cos
Displays the CoS-based packet statistics available for
a FastEthernet subinterface. POS subinterfaces are not
eligible.