Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
31-13
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 31 Configuring QoS
Configuring QoS on Interfaces
switch# show interface ethernet 2/1 counters detailed
Rx Packets: 1547805598
Rx Unicast Packets: 1547805596
Rx Jumbo Packets: 1301767362
Rx Bytes: 7181776513802
Rx Storm Suppression: 33690
Rx Packets from 0 to 64 bytes: 169219
Rx Packets from 65 to 127 bytes: 10657133
Rx Packets from 128 to 255 bytes: 21644488
Rx Packets from 256 to 511 bytes: 43290596
Rx Packets from 512 to 1023 bytes: 86583071
Rx Packets from 1024 to 1518 bytes: 83693729
Rx Trunk Packets: 1547805596
Tx Packets: 1186564481
Tx Unicast Packets: 1005445334
Tx Multicast Packets: 7063
Tx Jumbo Packets: 997813205
Tx Bytes: 4813632103819
Tx Packets from 0 to 64 bytes: 137912
Tx Packets from 65 to 127 bytes: 8288443
Tx Packets from 128 to 255 bytes: 16596457
Tx Packets from 256 to 511 bytes: 33177999
Tx Packets from 512 to 1023 bytes: 66363944
Tx Packets from 1024 to 1518 bytes: 64186521
Tx Trunk Packets: 1005451729
Configuring QoS on Interfaces
QoS parameters that can be configured on Ethernet and port channel interfaces are described in the
following topics:
Configuring Ingress Policies, page 31-13
Configuring Egress Policies, page 31-14
Configuring Ingress Policies
An ingress policy is a service policy applied to incoming traffic on an Ethernet interface. The ingress
policy is applied in the adapter to all outgoing traffic that matches the specified class. When you
configure an ingress policy on an interface or port channel, the switch sends the configuration data to
the adapter.
To configure an ingress policy, perform this task:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# class-map class-name
Creates a class for the ingress policy.
Step 3
switch(config)# policy-map policy1-name
Creates a policy map to specify the QoS parameters for
the ingress policy.
Step 4
switch(config-pmap)# class class-name
Associates the ingress class with this policy and enters
configuration mode for the class.