Cisco 3845 - Security Bundle Router Software Manual page 525

Software configuration guide
Hide thumbs Also See for 3845 - Security Bundle Router:
Table of Contents

Advertisement

Chapter 27
Configuring QoS
Command
Step 6
exceed-action {drop |
set-cos-transmit cos_value |
set-discard-class
discard_value |
set-dscp-transmit dscp_value |
set-mpls-exp-imposition-tran
smit new-exp |
set-mpls-exp-topmost-transm
it new-exp | set-prec-transmit
value | set-qos-transmit value |
transmit}
Step 7
end
Step 8
show policy-map
[policy-map-name [class
class-map-name]]
Step 9
copy running-config
startup-config
After you create the policy map, attach it to an interface or an EFP. See the
to an Interface or EFP" section on page
This example shows how to create a traffic classification with a CoS value of 4, create a policy map, and
attach it to an ingress port. The average traffic rate is limited to 10000000 b/s with a burst size of
10000 bytes:
Switch(config)# class-map video-class
Switch(config-cmap)# match cos 4
Switch(config-cmap)# exit
Switch(config)# policy-map video-policy
Switch(config-pmap)# class video-class
Switch(config-pmap-c)# police 10000000 10000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input video-policy
Switch(config-if)# exit
OL-23400-01
Purpose
(Optional) Enter the action to be taken on packets that exceed the CIR. The default
exceed action, if no action is configured, is drop.
drop—drop the packet.
set-cos-transmit cos_value—set the CoS value to a new value, and send the
packet. The range is 0 to 7.
set-discard-class-transmit discard_value—set the discard value to a new
value, and send the packet. The range is 0 to 7.
set-dscp-transmit dscp_value—set the IP DSCP value to a new value, and
send the packet. The range is 0 to 63. You also can enter a mnemonic name for
a commonly used value.
set-mpls-exp-imposition-transmit new-exp—enter the new MPLS
experimental value to be set at tag imposition. The range is 0 to 7.
set-mpls-exp-topmost-transmit new-exp—enter the new MPLS experimental
value for the outermost or topmost label, and send the packet. The range is 0
to 7.
set-prec-transmit value—set the IP precedence value to a new value, and send
the packet. The range is 0 to 7.
set-qos-transmit value—set the QoS group number to a new value, and send
the packet. The range is 0 to 99.
transmit—send the packet without altering it.
If you explicitly configure exceed-action drop as keywords in the
Note
command, you must enter policy-map class police configuration mode and
enter the no exceed-action drop command to remove the previously
configured exceed-action before you can enter the new exceed-action.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
27-56.
Cisco ME 3800X and 3600X Switch Software Configuration Guide
Configuring QoS
"Attaching a Service Policy
27-37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Me 3800xMe 3600x

Table of Contents