Configuring A Service Policy For A Layer 3 Interface - Cisco Nexus 5000 NX-OS Service Configuration Manual

Quality of service configuration guide, release 5.1 3 n2 1
Table of Contents

Advertisement

Configuring a Service Policy for a Layer 3 Interface

Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to apply a policy to an Ethernet interface:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# service-policy type qos input policy1
Configuring a Service Policy for a Layer 3 Interface
You can configure a service policy for a Layer 3 interface.
Procedure
Step 1
Step 2
Step 3
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
46
Command or Action
switch# configure terminal
switch(config)# interface
{ethernet [chassis/]slot/port |
port-channel channel-number}
switch(config-if)# service-policy
[type {qos | queuing}] [input |
output]policy-name
switch(config-if)# service-policy
input policy-name
Command or Action
switch# configure terminal
switch(config)# interface
ethernet slot/port
switch(config-if)# no switchport
Purpose
Enters global configuration mode.
Enters the configuration mode for the specified interface.
The service policy on a port channel applies to all
Note
member interfaces.
Specifies the policy map to use as the service policy for the
system. There are two policy-map configuration modes:
• qos—Classification mode; this is the default mode.
• queuing—Queuing mode.
The input keyword specifies that this policy map
Note
should be applied to traffic received on an interface.
The output keyword specifies that this policy map
should be applied to traffic transmitted from an
interface. You can only apply input to a qos policy;
you can only apply both input and output to a
queuing policy.
Applies the policy map to the interface.
Note
There is a restriction that system type qos policy
cannot be the same as any the type qos policy applied
to an interface or EtherChannel.
Purpose
Enters global configuration mode.
Enters the configuration mode for the specified interface.
Selects the Layer 3 interface.
Configuring QoS on Interfaces
OL-26657-01

Advertisement

Table of Contents
loading

Table of Contents