Attaching A Qos Policy Action To An Interface Or Tunnel - Cisco Nexus 7000 Series Configuration Manual

Nx-os quality of service configuration guide
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Using Modular QoS CLI
• Applied—Interface where an attached policy is applied.
• Present—Interface where a policy is attached but not applied.
• Not present—Interface where no policy is attached.
• Present or not—Interface where a policy is either attached or not, but not applied.
Port Policy
Applied
Present or not
Not present
To attach a policy map to an interface, tunnel, or VLAN, use the service-policy command. You can specify
whether the policies defined in the policy map are applied to the input or output stream of packets on the
interface.
To detach a policy map from an interface, tunnel, or VLAN, use the no form of the service-policy command.

Attaching a QoS Policy Action to an Interface or Tunnel

Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Port-Channel Policy
Not present
Applied
Not present
Command or Action
switch# configure terminal
switch(config)# interface {[ethernet
slot/port-list] | [tunnel number-list]}
switch(config-if)# service-policy [type qos]
{input | output} {policy-map-name} [no-stats]
switch(config-if)# exit
(Optional) switch(config)# show policy-map
[interface interface | vlan vlan_id] [input |
output] [type qos | queuing] [class [type qos
| queuing] class-map-name]
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Attaching a QoS Policy Action to an Interface or Tunnel
VLAN Policy
Present or not
Present or not
Applied
Purpose
Enters global configuration mode.
Enters interface mode on the Ethernet or tunnel
interface.
• slot/port-list is a space-separated list of
slots and ports.
• number-list is a space-separated list of
tunnels.
Adds the policy map to the input or output
packets of an interface. Only one input policy
and one output policy can be attached to an
interface.
Exits interface configuration mode and enters
global configuration mode.
Displays information about policy maps that
are applied to all interfaces or the specified
interface. You can limit what the device
displays to input or output policies, qos or
queuing polices, and to a specific class.
25

Advertisement

Table of Contents
loading

Table of Contents