Applying a QoS Policy to the switch port
Command or Action
Device(config-pmap)# class webex-class
Step 4
police rate-bps burst-byte
Example:
Device(config-pmap-c)# police 100000 80000
Step 5
set {dscp new-dscp | cos cos-value}
Example:
Device(config-pmap-c)# set dscp 45
Step 6
end
Example:
Device(config)# end
Applying a QoS Policy to the switch port
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. service-policy input policymapname
4. end
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
114
Configuring Application Visibility and Control in a Wired Network
Purpose
By default, no policy map and class maps are defined.
If a traffic class has already been defined by using the
class-map global configuration command, specify its name
for class-map-name in this command.
A class-default traffic class is predefined and can be added
to any policy. It is always placed at the end of a policy map.
With an implied match any is included in the class-default
class, all packets that have not already matched the other
traffic classes will match class-default.
To delete an existing class map, use the no class
Note
class-map-name policy-map configuration
command.
Defines a policer for the classified traffic.
By default, no policer is defined.
• For rate-bps, specify an average traffic rate in bits per
second (b/s). The range is 8000 to 10000000000.
• For burst-byte, specify the normal burst size in bytes.
The range is 1000 to 512000000.
Classifies IP traffic by setting a new value in the packet.
• For dscp new-dscp, enter a new DSCP value to be
assigned to the classified traffic. The range is 0 to 63.
Returns to privileged EXEC mode. Alternatively, you can
also press Ctrl-Z to exit global configuration mode.