Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)
Send comments to nx5000-docfeedback@cisco.com
5-9
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 5 Quality of Service Commands
service-policy
service-policy
To associate the system class policy-map to the service policy for the system, use the service-policy
command.
service-policy [policy-map-name]
no service-policy
To associate the system class policy-map to the interface, use the service-policy command.
service-policy {input | output} policy-map-name
no service-policy output
Syntax Description
Command Default No QoS policies are active on an interface until the service-policy command is entered.
Command Modes Interface configuration mode
System QoS
Command History
Usage Guidelines When you attach a policy map to the incoming traffic of an interface, the configuration is sent to the
Converged Network Adapter (CNA). The policy is applied by the CNA to outgoing traffic from the CNA
on the specified interface.
Examples This example shows how to attach policy maps to to use as the service policy for the system:
switch# configure terminal
switch(config)# system jumbomtu 9216
switch(config)# system qos
switch(config-sys-qos)# service-policy policy-map1
The following example shows how to attach a policy map to an interface:
switch(config)# class-map best-effort-drop-class
switch(config-cmap)# match cos 5
switch(config)# policy-map policy_map1
input Applies the service policy to incoming traffic on the interface.
output Applies the service policy to outgoing traffic on the interface
policy-map-name Name of the policy map to attach to this interface or system policy. Only one
policy map can be attached to the input and one to the output of a given
interface.
Release Modification
4.0(0)N1(1a) This command was introduced.