PurposeCommand or Action
Defines a policer for the classified traffic.police rate-bps burst-byte
Step 4
Example:
By default, no policer is defined.
Device(config-pmap-c)# police 100000
80000
• 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.
set {dscp new-dscp | cos cos-value}
Example:
Step 5
• For dscp new-dscp, enter a new DSCP
value to be assigned to the classified
traffic. The range is 0 to 63.
Device(config-pmap-c)# set dscp 45
Returns to privileged EXEC mode.
Alternatively, you can also press Ctrl-Z to exit
global configuration mode.
end
Example:
Device(config)# end
Step 6
Applying a QoS Policy to the switch port
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
Device# configure terminal
Enters the interface configuration mode.interface interface-id
Example:
Step 2
Device(config)# interface Gigabitethernet
1/0/1
Applies local policy to interface.service-policy input policymapname
Example:
Step 3
Device(config-if)# service-policy input
MARKING_IN
Returns to privileged EXEC mode.
Alternatively, you can also press Ctrl-Z to exit
global configuration mode.
end
Example:
Device(config)# end
Step 4
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
184
Configuring Application Visibility and Control in a Wired Network
Applying a QoS Policy to the switch port