Cisco Catalyst 3750 Software Configuration Manual page 535

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Chapter 26
Configuring QoS
Command
Step 4
trust [cos | dscp | ip-precedence]
Step 5
set {ip dscp new-dscp | ip precedence
new-precedence}
Step 6
police rate-bps burst-byte [exceed-action
{drop | policed-dscp-transmit}]
Step 7
exit
Step 8
exit
78-15870-01
Purpose
Configure the trust state, which QoS uses to generate a CoS-based or
DSCP-based QoS label.
By default, the port is not trusted. If no keyword is specified when the
command is entered, the default is dscp.
The keywords have these meanings:
cos—QoS derives the DSCP value by using the received or default
port CoS value and the CoS-to-DSCP map.
dscp—QoS derives the DSCP value by using the DSCP value from
the ingress packet. For non-IP packets that are tagged, QoS derives
the DSCP value by using the received CoS value; for non-IP
packets that are untagged, QoS derives the DSCP value by using
the default port CoS value. In either case, the DSCP value is
derived from the CoS-to-DSCP map.
ip-precedence—QoS derives the DSCP value by using the IP
precedence value from the ingress packet and the
IP-precedence-to-DSCP map. For non-IP packets that are tagged,
QoS derives the DSCP value by using the received CoS value; for
non-IP packets that are untagged, QoS derives the DSCP value by
using the default port CoS value. In either case, the DSCP value is
derived from the CoS-to-DSCP map.
For more information, see the
section on page
26-59.
Mark IP traffic by setting a new value in the packet:
For ip dscp new-dscp, enter a new DSCP value to be assigned to
the classified traffic. The range is 0 to 63.
For ip precedence new-precedence, enter a new IP-precedence
value to be assigned to the classified traffic. The range is 0 to 7.
Define a policer for the classified traffic.
By default, no policer is defined. For information on the number of
policers supported, see the
section on page
26-40.
For rate-bps, specify average traffic rate in bps. The range is 8000
to 1000000000.
For burst-byte, specify the normal burst size in bytes. The range is
8000 to 1000000.
(Optional) Specify the action to take when the rates are exceeded.
Use the exceed-action drop keywords to drop the packet. Use the
exceed-action policed-dscp-transmit keywords to mark down the
DSCP value (through the policed-DSCP map) and send the packet.
For more information, see the
Map" section on page
Return to policy-map configuration mode.
Return to global configuration mode.
Catalyst 3750 Metro Switch Software Configuration Guide
Configuring Standard QoS
"Configuring the CoS-to-DSCP Map"
"Standard QoS Configuration Guidelines"
"Configuring the Policed-DSCP
26-61.
26-55

Advertisement

Table of Contents
loading

Table of Contents