1
Ethernet interface commands
Common Ethernet interface commands
bandwidth
Use bandwidth to configure the expected bandwidth of an interface.
Use undo bandwidth to restore the default.
Syntax
bandwidth bandwidth-value
undo bandwidth
Default
The expected bandwidth (in kbps) is the interface baud rate divided by 1000.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
Usage guidelines
The expected bandwidth of an interface affects the following items:
• Bandwidth assignment with CBQ. For more information, see ACL and QoS Configuration
Guide.
Examples
# Set the expected bandwidth of interface GigabitEthernet 1/0/1 to 1000 kbps.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] bandwidth 1000
Related commands
speed
default
Use default to restore the default settings for an Ethernet interface.
Syntax
default
Views
Ethernet interface view
Predefined user roles
network-admin