R0106-HP MSR Router Series Interface Command Reference(V7)
5
Ethernet interface commands
In this chapter, "MSR2000" refers to MSR2003. "MSR3000" collectively refers to MSR3012, MSR3024,
MSR3044, MSR3064. "MSR4000" collectively refers to MSR4060 and MSR4080.
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, Ethernet subinterface 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.
• Link costs in OSPF, OSPFv3, and IS-IS. For more information, see Layer 3—IP Routing Configuration
Guide.
Examples
# Set the expected bandwidth of interface GigabitEthernet 2/1/1 to 1000 kbps.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] bandwidth 1000
# Set the expected bandwidth of subinterface GigabitEthernet 2/1/1.1 to 1000 kbps.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1.1
[Sysname-GigabitEthernet2/1/1.1] bandwidth 1000
Related commands
speed