Configuring Ingress And Egress Marking - 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

Configuring Marking
Note
You can set the discard class only in ingress policies.
Procedure
Step 1
Step 2
Step 3
Step 4
Example
This example shows how to display the policy-map configuration:
switch# show policy-map policy1

Configuring Ingress and Egress Marking

You can apply the marking instructions in a QoS policy map to ingress or egress packets by attaching that
QoS policy map to an interface. To select ingress or egress, you specify either the input or output keyword
in the service-policy command. For detailed instructions, see the "Attaching and Detaching a QoS Policy
Action" section.
Command or Action
switch# configure terminal
switch(config)# policy-map [type qos]
[match-first] {qos-policy-map-name |
qos-dynamic}
switch(config-pmap-qos)# class [type qos]
{class-map-name | qos-dynamic |
class-default} [insert-before
before-class-map-name]
switch(config-pmap-c-qos)# set discard-class
qos-group-value
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Configuring Ingress and Egress Marking
Purpose
Enters global configuration mode.
Creates or accesses the policy map named
qos-policy-map-name, and then enters
policy-map mode. The policy-map name can
contain alphabetic, hyphen, or underscore
characters, is case sensitive, and can be up to
40 characters.
Creates a reference to class-map-name, and
enters policy-map class configuration mode.
The class is added to the end of the policy map
unless insert-before is used to specify the class
to insert before. Use the class-default keyword
to select all traffic that is not currently matched
by classes in the policy map.
Sets the discard class value to
discard-class-value. The value can range from
0 to 63.
For information on using table maps
Note
with marking, see the "Configuring
Marking Using Table Maps" section.
53

Advertisement

Table of Contents
loading

Table of Contents