Purpose
Command or Action
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 8000 to 1000000.
Classifies IP traffic by setting a new value in the packet.
set
{
dscp new-dscp
|
cos cos-value
}
Step 5
Example:
• 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:
Step 6
Device(config)#
end
Applying a QoS Policy to the switch port
SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
service-policy {input | output} policy-map-name
4.
end
5.
show class-map
6.
show policy-map interface
DETAILED STEPS
Purpose
Command 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 | output} policy-map-name
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:
Step 4
Device(config)#
end
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
117
Configuring Application Visibility and Control in a Wired Network
Applying a QoS Policy to the switch port