CLI Reference Guide QoS Configuration Commands
Drop the packets exceeding the
bandwidth.
Overwrite the DSCP value of the
packets exceeding the bandwidth,
whose range varies with products.
Modify the Cos value of the packet of
over-bandwidth, in the range of 0 to 7.
Global configuration mode
Create a policy map and name it as po
Ruijie(config)# policy-map po
Associate class-map cm
Ruijie(config-pmap)# class cm
Set the DSCP value as 10
Ruijie(config-pmap-c)# set ip dscp 10
Set the bandwidth as 1M, the burst traffic as 4096k, and the method
for handing the excessive part to assign the new DSCP value of 16.
Ruijie(config-pmap-c)# police 1000000 4096 exceed-action dscp 16
service-policy
Use this command to apply the policy map on the interface or the virtual-group.
service-policy {input | output} policy-map-name
no service-policy {input | output}
Name of the created policy map
Cancel the application of the policy map on the
interface or the virtual-group.
Interface configuration mode, and virtual-group configuration mode.
Ruijie(config)# interface fastEthernet 0/1