DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
143
Example
This example shows how to configure port eth1/0/1 to trust the DSCP mode.
Switch# configure terminal
Switch(config)# interface Ethernet 1/0/1
Switch(config-if)# mls qos trust dscp
Switch(config-if)#
28-5
rate-limit
This command is used to set the received bandwidth limit values for an interface. Use the
no
form of this
command to disable the bandwidth limit.
rate-limit input NUMBER-KBPS
no rate-limit input
Parameters
NUMBER-KBPS
Specifies the number of kilobits per second as the maximum
bandwidth limit. The valid range is 100-1048576.
Default
By default, there is no limitation.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
The specified limitation cannot exceed the maximum speed of the specified interface. The input value will auto
round up to next possible value such as 100, 200, …etc. .
Example
This example shows how the maximum bandwidth limits are configured on ethernet 1/0/3. The ingress
bandwidth is limited to 1300Kbps..
Switch# configure terminal
Switch(config)# interface Ethernet 1/0/3
Switch(config-if)# rate-limit input 1300
Switch(config-if)#