Configuring A Service Policy For A Layer 2 Interface - Cisco Nexus 9000 Series Configuration Manual

Nx-os quality of service configuration, release 7.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring a Service Policy for a Layer 2 Interface

Present or not
Not present
To attach a policy map to an interface or VLAN, use the service-policy command. The policies defined in
the policy map are applied to the input stream of packets on the interface.
To detach a policy map from an interface, use the no form of the service-policy command.
Configuring a Service Policy for a Layer 2 Interface
Before you begin
Ensure that the ternary content addressable memory (TCAM) is carved for port QoS.
For more details, see the Configuring QoS TCAM Carving section.
SUMMARY STEPS
1. configure terminal
2. interface interface slot/port
3. switchport
4. service-policy type {qos input | queuing output} | {qos output | queuing output} policy-map-name
[no-stats]
5. show policy-map interface interface slot/port type {qos | queuing}
6. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface interface slot/port
Example:
switch(config)# interface ethernet 1/1
switch(config-if)#
Step 3
switchport
Example:
switch(config-if)# switchport
Step 4
service-policy type {qos input | queuing output} | {qos
output | queuing output} policy-map-name [no-stats]
Example:
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
34
Applied
Not present
Purpose
Enters global configuration mode.
Enters configuration interface mode.
Selects the Layer 2 interface.
Specifies the policy map to use as the service policy for the
Layer 2 interface. There are two policy-map configuration
modes:
Using Modular QoS CLI
Present or not
Applied

Advertisement

Table of Contents
loading

Table of Contents