Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

PurposeCommand or Action
(config)# interface ethernet 1/3
(config-if)# service-policy type queuing output
pmap-que-eth1-2
(config-if)# exit
Attach the bandwidth policy to
the egress interface.
Step 5
(config)# class-map type network-qos cmap-nq-bandwidth
(config-cmap-nq)# match qos-group 2
(config-cmap-nq)# exit
Allocate the system class for
qos-group 2.
Step 6
(config)# policy-map type network-qos pmap-nq-bandwidth
(config-pmap-nq)# class type network-qos
cmap-nq-bandwidth
(config-pmap-c-nq)# exit
(config-pmap-nq)# exit
Set up the network-qos policy.
Step 7
(config)# system qos
(config-sys-qos)# service-policy type network-qos
pmap-nq-bandwidth
(config-sys-qos)# exit
Attach the network-qos policy
to the system.
Step 8
QoS Example 3
This example shows how to attach a 802.1p tag with a CoS value of 3 to incoming untagged packets, and
force priority-flow-control negotiation on Ethernet interface 1/15.
Procedure
PurposeCommand or Action
(config)# interface Ethernet 1/15
(config-if)# untagged cos 3
(config-if)# priority-flow-control mode
on
(config-if)# exit
Set up the ingress classification policy (the
access control list was defined previously).
Step 1
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 457
Example QoS Configurations
QoS Example 3