B Commands
This chapter describes the Cisco NX-OS system management commands that begin with the letter B.
blink
To blink the LED on the system, use the blink command. To restore the default LED state, use the no form of this command.
Note Beginning with Cisco NX-OS Release 4.1(2), the blink command is not available in Cisco NX-OS software. Use the locator-led command for this function.
blink { chassis | fan f-number | module slot | powersupply ps-number | xbar x-number }
no blink { chassis | fan f-number | module slot | powersupply ps-number | xbar x-number }
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
Usage Guidelines
Use the blink command to flash the LED on a component in the system. You can use this blinking LED to identify the component to an administrator in the data center.
Examples
This example blinks the LED for module 4:
Related Commands
|
|
---|---|
bloggerd log-dump
To enable threshold-based log dumps on a per application, per virtual device context (VDC), per module, or on a switch-wide basis, use the bloggerd log-dump command. To disable threshold-based log dumps, use the no form of this command.
bloggerd log-dump {all | module module-number sap sap-number [vdc vdc-number | vdc-all] | sap sap-number [vdc vdc-number | vdc-all]}
no bloggerd log-dump {all | module module-number sap sap-number [vdc vdc-number | vdc-all] | sap sap-number [vdc vdc-number | vdc-all]}
Syntax Description
Defaults
Command Modes
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
Usage Guidelines
You can use the bloggerd log-dump command to prevent application logs from rolling over and becoming lost. You can enable threshold-based log dumps on a per application, per VDC, per module, or on a switch-wide basis to ensure that application logs are saved into files just before a rollover.
Once the logs are dumped, you can configure them to be transferred to a more persistent location (either an external log server or to the active supervisor module’s logflash device) using the bloggerd log transfer command. All collected logs are in binary format and must be parsed into ASCII format using DeBlogger.
Note We recommend that you use BloggerD only with TAC supervision.
Examples
This example shows how to enable threshold-based log dumps on a device-wide basis:
Related Commands
|
|
---|---|
bloggerd log-transfer
To enable the transfer of application logs to an external log server or a logflash device, use the bloggerd log-transfer command. To disable the transfer of application logs, use the no form of this command.
bloggerd log-transfer {ip-address tftp-path-name | logflash}
Syntax Description
Enables all log files to be transferred to to the active supervisor module's logflash device. |
Defaults
Command Modes
Global configuration mode (config)
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
Usage Guidelines
The bloggerd log-transfer command allows you to configure the transfer of application logs to a more persistent location (either an external log server or to the active supervisor module’s logflash device). All collected logs are in binary format and must be parsed into ASCII format using DeBlogger.
Note We recommend that you use BloggerD only with TAC supervision.
Examples
This example shows how to enable a log dump and transfer of log files on the device:
Related Commands
|
|
---|---|
bloggerd parse log-buffer
To parse the log buffers from binary format to ASCII format using DeBlogger, use the bloggerd parse log-buffer command.
bloggerd parse log-buffer {directory directory-path | file file-name}
Syntax Description
Specifies the directory path of file to be parsed by DeBlogger. |
|
Defaults
Command Modes
Global configuration mode (config)
network-admin
network-operator
vdc-admin
vdc-operator
Command History
|
|
Usage Guidelines
DeBlogger is an external parsing framework that converts binary data into ASCII format by linking with the necessary application libraries. You can use the bloggerd parse log-buffer command to parse logs from binary to ASCII format.
Note We recommend that you use BloggerD only with TAC supervision.
Examples
This example shows how to parse binary logs to ASCII format on the device:
Related Commands
|
|
---|---|