Configuring Egress Policies - Cisco nexus 5000 series Cli Configuration Manual

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

Advertisement

Chapter 1
Configuring QoS
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
switch(config)# policy-map policy1
switch(config-pmap)# class best-effort-drop-class
switch(config-pmap-c)# bandwidth percent 20
switch(config)# int eth1/1
switch(config-if)# service-policy input policy1

Configuring Egress Policies

An egress policy is a service policy applied to the outgoing traffic on an Ethernet interface. You can
configure an egress policy to guarantee the bandwidth for the specified traffic class or to configure the
egress queues.
To configure an egress 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 {ethernet
slot/port|port-channel channel-number }
Step 8
switch(config-if)# service-policy output
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
switch(config)# policy-map policy1-egress
switch(config-pmap)# class best-effort-drop-class
switch(config-pmap-c)# bandwidth percent 20
switch(config)# int eth1/1
switch(config-if)# service-policy output policy1-egress
OL-16597-01
Purpose
Enters configuration mode.
Defines a class name for the egress policy.
Creates a policy map to specify the QoS parameters for
the egress policy.
Associates the egress class with this policy and enters
configuration mode for the class.
Specifies the guaranteed percentage of bandwidth
allocated to this class.
Specifies that egress 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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring QoS on Interfaces
1-15

Advertisement

Table of Contents
loading

Table of Contents