Configuration Guide QoS Configuration
Configuring Port Rate Limiting
You may follow these steps to limit the port rate:
Ruijie#configure terminal
Enter the configuration mode
Ruijie(config)#interface interface
Enter the interface configuration mode.
Ruijie(config-if)# rate-limit input bps
burst-size
Port rate limit, where input is the input rate limit, bps is the
bandwidth limit per second (kbps),
and burst-size is the burst bandwidth limit (Kbyte)
Ruijie(config-if)# no rate-limit
Cancel port rate limiting
Ruijie# configure terminal
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# rate-limit input 1000000 4096
Ruijie(config-if)# end
Ruijie#
Configuring IPpre to DSCP Map
IPpre-to-Dscp is used to map the IPpre values of message to internal DSCP values. The
default settings of IPpre-to-DSCP Map are provided in the default QoS configuration
section. you may follow these steps to configure IPpre-to-Dscp Map:
Ruijie# configure terminal
Enter the configuration mode
Ruijie(config)# mls qos map
ip-precedence-dscp dscp1...dscp8
Modify the setting of IP-Precedence-to-Dscp Map,
where dscp1...dscp8 are the DSCP values
corresponding to IP-Precedence values 0~7
Ruijie(config)# no mls qos map
ip-prec-dscp
For Example:
Ruijie# configure terminal
Ruijie(config)# mls qos map ip-precedence-dscp 56 48 46 40 34 32 26 24
Ruijie(config)# end
Ruijie# show mls qos maps ip-prec-dscp
ip-precedence dscp
------------- ----
0 56
1 48
2 46
3 40
4 34
5 32
6 26
7 24