12
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter       B Commands
bandwidth (interface)
bandwidth (interface)
To set the inherited and received bandwidth values for an interface, use the bandwidth command. To 
restore the default values, use the no form of this command.
bandwidth {kbps | inherit [kbps]}
no bandwidth {kbps | inherit [kbps]}
Syntax Description
Command Default 1000000 kbps
Command Modes Interface configuration mode
Subinterface configuration mode
Command History
Usage Guidelines The bandwidth command sets an informational parameter to communicate only the current bandwidth 
to the higher-level protocols; you cannot adjust the actual bandwidth of an interface using this command.
The bandwidth inherit command controls how a subinterface inherits the bandwidth of its main 
interface.
The no bandwidth inherit command enables all subinterfaces to inherit the default bandwidth of the 
main interface, regardless of the configured bandwidth. If a bandwidth is not configured on a 
subinterface, and you use the bandwidth inherit command, all subinterfaces will inherit the current 
bandwidth of the main interface. If you configure a new bandwidth on the main interface, all 
subinterfaces will use this new value.
If you do not configure a bandwidth on the subinterface and you configure the bandwidth inherit 
command on the main interface, the subinterfaces will inherit the specified bandwidth.
In all cases, if an interface has an explicit bandwidth setting configured, then that interface will use that 
setting, regardless of whether the bandwidth inheritance setting is in effect.
Examples This example shows how to configure the badwidth for a Layer 2 interface:
switch(config)# interface ethernet 1/5 
switch(config-if)# bandwidth 1000
switch(config-if)#
kbps Informational bandwidth in kilobits per second. Valid values are from 1 to 
10000000.
inherit (Optional) Specifies that the bandwidth be inherited from the parent 
interface.
Release Modification
5.2(1)N1(1) This command was introduced.