Cisco Nexus 5000 Series Command Reference, Release 4.1(3)N1(1) (OL-16599-01, August 2009)
Send comments to nx5000-docfeedback@cisco.com
5-19
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 5 Quality of Service Commands
service-policy
This command does not require a license.
Examples This example shows how to attach qos type policy maps to the ingress and egress packets of a VLAN:
switch(config)# vlan 1
switch(config-vlan)# service-policy input my_input_policy
switch(config-vlan)# service-policy output my_output_policy
switch(config-vlan)#
This example shows how to attach a queuing policy map to the ingress packets of a port interface:
switch(config)# interface ethernet 2/1
switch(config-if)# service-policy type queuing input my_input_q_policy
switch(config-if)#
This example shows how to remove a policy map from a VLAN:
switch(config)# vlan 1
switch(config-vlan)# no service-policy input my_input_policy
switch(config-vlan)#
Related Commands Command Description
show policy-map
interface brief
Displays all interfaces and VLANs with attached service policies in a brief
format.