60
layer, you must configure the
qos max-bandwidth
command to provide base bandwidth for
CBQ calculation.
Configuration procedure
To configure the maximum interface available bandwidth:
Step
Command
1.
Enter system view.
system-view
2.
Enter interface view.
interface
interface-type interface-number
3.
Configure the maximum available
bandwidth of the interface.
qos max-bandwidth
bandwidth
If no maximum available bandwidth is configured for an interface, the bandwidth used for CBQ
calculation is as follows:
•
For a physical interface, the actual baud rate or rate applies.
•
For an E1, MFR or any other type of logical serial interface formed by timeslots or multiple links,
the total bandwidth of all member channels/links applies.
•
For a template interface, a VT interface for example, 1000000 kbps applies.
•
For other virtual interfaces, a tunnel, Layer 3 aggregate, or HDLC link bundle interface for
example, 0 kbps applies.
Configuration example
Configure the maximum interface available bandwidth.
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface gigabitethernet 1/0/1
# Configure the maximum available bandwidth on interface GigabitEthernet 1/0/1.
[Sysname-GigabitEthernet1/0/1] qos max-bandwidth 60
Setting the maximum reserved bandwidth as a percentage of
available bandwidth
The maximum reserved bandwidth is set on a per-interface basis. It decides the maximum
bandwidth assignable for the QoS queues on an interface. It is typically set no greater than 80% of
available bandwidth, considering the bandwidth for control traffic and Layer 2 frame headers.
Use the default maximum reserved bandwidth setting in normal cases. When tuning the setting,
make sure that the Layer 2 frame header plus the data traffic is under the maximum available
bandwidth of the interface.
To configure the maximum reserved bandwidth on an interface:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Set the maximum reserved
bandwidth as a percentage
of available bandwidth.
qos reserved-bandwidth pct
percent
The default setting is 80.