HP Cisco MDS 9216i Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 325
service-policy
View all HP Cisco MDS 9216i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 325 highlights
Chapter 5 Quality of Service Commands service-policy Send comments to [email protected] 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 input output policy-map-name Applies the service policy to incoming traffic on the interface. Applies the service policy to outgoing traffic on the interface 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. 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 Release 4.0(0)N1(1a) Modification This command was introduced. 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 OL-16599-01 Cisco Nexus 5000 Series Command Reference 5-9