Configuring Untagged Cos; Configuring Ingress Policies - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring QoS on Interfaces
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

Configuring Untagged CoS

Any incoming packet not tagged with an 802.1p CoS value is assigned the default untagged CoS value
of zero (which maps to the default Ethernet drop system class). You can override the default untagged
CoS value for an Ethernet interface or port channel.
To configure the untagged CoS value, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface {ethernet
slot/port|port-channel channel-number }
Step 3
switch(config-if)# untagged cos
cos-value

Configuring Ingress Policies

An ingress policy is a service policy applied to incoming traffic on an Ethernet interface. The ingress
policy is applied in the adapter to all outgoing traffic that matches the specified class. When you
configure an ingress policy on an interface or port channel, the switch sends the configuration data to
the adapter.
To configure an ingress policy, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# class-map class-name
Step 3
switch(config)# policy-map policy1-name
Step 4
switch(config-pmap)# class class-name
Step 5
switch(config-pmap-c) bandwidth percent
percentage
Step 6
switch(config-pmap-c) priority
Step 7
switch(config)# interface interface
{ethernet slot/port|port-channel
channel-number }
Step 8
switch(config-if)# service-policy input
policy-name
The following example shows that the system class best-effort-drop-class is guaranteed 20 percent of the
bandwidth on interface eth1/1:
switch(config)# class-map best-effort-drop-class
switch(config-cmap)# match cos 5
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-14
Purpose
Enters configuration mode.
Enters configuration mode for the specified interface
or port channel.
Configures the untagged CoS value.
Purpose
Enters configuration mode.
Creates a class for the ingress policy.
Creates a policy map to specify the QoS parameters for
the ingress policy.
Associates the ingress class with this policy and enters
configuration mode for the class.
(Optional) Specifies the guaranteed percentage of
bandwidth allocated to incoming traffic of this class.
(Optional) Specifies that ingress traffic in this class is
mapped to a strict priority queue.
Enters configuration mode for the specified interface.
service policy on a port channel overrides any
Note
service policy configuration on individual
member interfaces.
Applies the policy map to the interface.
Chapter 1
Configuring QoS
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents