Users Guide

Table Of Contents
1570 Class-of-Service
CoS Interface Configuration Commands
Use the following commands to configure the traffic shaping and WRED
exponent values for an interface.
Interface Queue Configuration
Use the following commands to configure and view CoS interface queue
settings.
show classofservice ip-dscp-
mapping
Display the current IP DSCP mapping to internal
traffic classes for a specific interface.
show classofservice trust Display the current trust mode setting for a specific
interface.
CLI Command Description
configure Enter Global Configuration mode.
interface interface Enter Interface Configuration mode, where interface
is replaced by gigabitethernet unit/slot/port,
tengigabitethernet unit/slot/port, or port-channel
port-channel number.
traffic-shape bw kbps Sets the upper limit on how much traffic can leave a
port. The bw variable represents the shaping
bandwidth value from 64 to 4294967295 kbps.
random-detect exponential-
weighting-constant exponent
Configure the WRED decay exponent (range: 0–15)
for the interface. The weighting constant exponent
determines how much of the previous average queue
length sample is added to the current average queue
length. A value of 0 indicates that no weight is given
to the previous sample and only the instantaneous
rate is used. A value of 1 indicates that 1/2 of the
difference between the instantaneous value and the
previous value is added to the current value; a value of
2 implies that 1/4 of the difference is added, 3 implies
1/8 of the difference is added, etc.
CLI Command Description