The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS interface commands that begin with B.
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 ]}
Informational bandwidth in kilobits per second. Valid values are from 1 to 10000000. |
|
(Optional) Specifies that the bandwidth be inherited from the parent interface. |
Interface configuration mode
Subinterface configuration mode
|
|
---|---|
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.
This example shows how to configure the badwidth for a Layer 2 interface:
This example shows how to configure subinterfaces to inherit the bandwidth from the parent routed interface:
|
|
---|---|
To turn on the beacon LED for a port of an interface, use the beacon command. To turn off the beacon LED for the interface, use the no form of this command.
|
|
---|---|
Use the beacon command to toggle the port LED of an interface to easily identify each time a beacon is sent to check for pending packets on the interface.
This example shows how to turn on the locator beacon LED for a specific interface:
switch(config)#
interface ethernet 2/1
switch(config-if)#
beacon
This example shows how to turn off the locator beacon LED for a specific interface:
switch(config)#
interface ethernet 2/1
switch(config-if)#
no beacon
|
|
---|---|
To configure SHA-1 authentication for all Bidirectional Forwarding Detection (BFD) sessions on the interface, use the bfd authentication command. To disable SHA-1 authentication on the interface, use the no form of the command.
bfd [fabricpath] authentication keyed-SHA1 key-id id {hex-key hex-key | key ascii-key}
no bfd [fabricpath] authentication
|
|
---|---|
Configures SHA-1 authentication for all BFD sessions on the interface. The ascii_key string is a secret key shared among BFD peers. The id value, a number between 0 and 255, is assigned to this particular ascii_key. BFD packets specify the key by ID, allowing the use of multiple active keys.
Use the optional fabricpath keyword to configure SHA-1 authentication for fabricpath BFD sessions.
This example shows how to configure SHA-1 authentication for all BFD sessions on the interface:
|
|
---|---|
To enable a Bidirectional Forwarding Detection (BFD) fabricpath session on a specific interface, use the bfd fabricpath command. To disable the setting, use the no form of the command.
Enabled for fabricpath core ports.
Disabled for non-fabricpath core ports.
|
|
---|---|
If the command is disabled, all sessions matching the address family on the interface will be put into admit down state. The session will be maintained and client requests for the session on the interface will be accepted.
This example shows how to enable a BFD fabricpath for an interface:
|
|
---|---|
To select the encapsulation mode for L2BFD frames on a per-session basis, use the [no] bfd fabricpath encap-ce command.
|
|
---|---|
This command is mandatory for interoperability with Cisco Nexus 7000 Series switch and is optional for interoperability with other Cisco Nexus 5000 Series and Cisco Nexus 6000 Series switches.
This example shows how to enable a BFD fabricpath encapsulation for an interface:
|
|
---|---|
To enable a Bidirectional Forwarding Detection (BFD) fabricpath session on a specific interface. |
To configure Bidirectional Forwarding Detection (BFD) session parameters, use the bfd interval command. To return to the default setting, use the no form of the command.
bfd [ fabricpath ] interval mintx min_rx msec multiplier value
no bfd [ fabricpath ] interval
|
|
---|---|
The fabricpath keyword was added. The minimum configurable range for BFD interval was changed to 50 from 250 milliseconds. |
|
BFD session parameters configured at the interface level take precedence over the globally configured BFD session parameters.
Use the optional fabricpath keyword to configure the global parameters for fabricpath BFD sessions.
Note The bfd fabricpath interval command cannot be enabled on a non-fabricpath port.
This example shows how to set the BFD session parameters for an interface:
|
|
---|---|
To configure the Bidirectional Forwarding Detection (BFD) slow timer value, use the bfd slow-timer command. To return to the default setting, use the no form of this command.
bfd [ fabricpath ] slow-timer milliseconds
no bfd [ fabricpath ] slow-timer
(Optional) Configures the slow timer in milliseconds, used in the echo function for the fabricpath session. |
|
BFD slow timer value, in milliseconds. The range is from 1000 to 30000. |
|
|
---|---|
Configures the slow timer used in the echo function.
This value determines how fast BFD starts up a new session and at what speed the asynchronous sessions use for BFD control packets when the echo function is enabled. The slow-timer value is used as the new control packet interval, while the echo packets use the configured BFD intervals. The echo packets are used for link failure detection, while the control packets at the slower rate maintain the BFD session.
This example shows how to configure the BFD slow timer value to 14,000 milliseconds for fabricpath sessions on an interface:
|
|
---|---|