15. Port Rate Limit
15.1.
Overview
With the rapid development of the Internet, there are more and more needs to transmit
multimedia stream on the Internet. Generally speaking, Users ask different service quality for
different multimedia application. It needs the network can allocate and schedule the resource
according to the users’ needs. Therefore, the network administrator need to limit the rate of
corresponding ports.
15.2.
Configure port rate limit
Enter the interface pattern to configure the Upstream Rate limitation.
Command
Function
Switch(config-if-GigabitEthernet-
0/1)#
rate-limit
{Rate}
{ Committed Burst size} { Excess
Burst size}
Configure the port rate limitation
rate:
Committed Burst size
:
Excess Burst size
:
Below is the example to configure the Upstream Rate limitation
:
Switch#configure terminal
Enter configuration commands, one per line. End with CTRL+Z.
Switch(config)#interface gigabitEthernet 0/1
Switch(config-if-GigabitEthernet-0/1)#
rate-limit 10000 100000 100000
Enter the interface pattern to configure the Downstream Rate limitation.
Command
Function
Switch(config-if-GigabitEthernet-0/1)#
traffi
c-shape
{Rate} { Committed Burst size}
{ Excess Burst size}
Configure the port rate limitation
rate:
Excess Burst size
:
Below is the example to configure the port Rate limitation Switch#
configure terminal
Enter configuration commands, one per line. End with CTRL+Z.
Switch(config)#interface gigabitEthernet 0/1
Switch(config-if-GigabitEthernet-0/1)#traffic-shape 64 1