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-15
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 31 Configuring QoS
Configuring QoS on Interfaces
The following example shows that the system class best-effort drop class is guaranteed 20 percent of the
bandwidth on interface eth1/1:
switch(config)# class-map best-effort-drop-class
switch(config-cmap)# match cos 5
switch(config)# policy-map policy1-egress
switch(config-pmap)# class best-effort-drop-class
switch(config-pmap-c)# bandwidth percent 20
switch(config)# interface ethernet 1/1
switch(config-if)# service-policy output policy1-egress
Step 7
switch(config)# interface {ethernet
slot/port | port-channel channel-number}
Enters configuration mode for the specified interface.
Note The service policy on a port channel overrides
any service policy configuration on individual
member interfaces.
Step 8
switch(config-if)# service-policy output
policy-name
Applies the policy map to the interface.
Command Purpose