
C613-50186-01 Rev B
Command Reference for AR2050V
1775
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RAFFIC
C
ONTROL
C
OMMANDS
INTERFACE
(
TRAFFIC
-
CONTROL
)
interface (traffic-control)
Overview
Use this command to configure interface specific parameters for traffic control.
Syntax
interface <
interface-name>
{overhead
[<
overhead-bytes>|
ethernet]|virtual-bandwidth
<
bandwidth
>|system-bandwidth <
system-percentage>
}
Default
The default overhead is 0, the default bandwidth is the interface speed if it can be
read. It is recommended to always set the virtual bandwidth when using traffic
control. The system bandwidth default is 5%.
Mode
Traffic-Control
Usage
This command allows configuring traffic control parameters specific to the traffic
egress interface.
Examples
To rate limit eth1 to 10mbit while taking into account the ethernet framing
overhead and reserving only 1% of the bandwidth for system traffic, use the
commands:
awplus#
configure terminal
awplus(config)#
traffic-control
awplus(config-tc)#
interface eth1 overhead ethernet
virtual-bandwidth 10mbit system-bandwidth 1
Related
Commands
show running-config traffic-control
show traffic-control interface
Parameter
Description
<interface-name>
Name of interface to configure
overhead
Set overhead to add to each packet when calculating the packet size
<overhead-bytes>
Number of bytes to add to the packet for packet size calculations. The range is
from 0 to 512 and the default is 0.
ethernet
Setting the overhead to ‘ethernet’ adds 24 bytes to the packet to account for
pr CRC + inter-frame gap.
virtual-bandwidth
Specify the virtual-bandwidth of the interface. This is the maximum amount of
traffic that traffic control will allow to be sent via the interface..
<bandwidth>
Value for the virtual bandwidth in kbit, mbit or gbits. For example 5mbit.
system-bandwidth
Specify the percentage of the interface bandwidth to reserve for system traffic.
The default when a traffic control policy is applied to the interface is 5%.
<system-percentage>
Percentage of the bandwidth to reserve for system traffic in the range from 1 to
99.