Cisco Systems 15310-CL Network Card User Manual


 
11-29
Cisco ONS 15310-CL and Cisco ONS 15310-MA Ethernet Card Software Feature and Configuration Guide R8.5
78-18133-01
Chapter 11 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 11-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 11-8 in EXEC mode.
Example 11-16 shows examples of these commands.
Example 11-16 Commands 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 11-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 11-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.