Show BMC commands
Use these M4500 CLI commands to display BMC information and set the BMC account password, IP address, and watchdog.
show bmc
Use this command to display the information for BMC.
| Format | show bmc |
| Mode | Privileged Exec |
Display Message
| Fields | Definition |
|---|---|
| BMC Version | BMC Version |
| BMC IP Protocol | IP address protocol: DHCP or Static |
| BMC IP Address | BMC IP address |
| BMC Subnet Mask | BMC subnet mask |
| BMC Default Gateway | IP address of default gateway |
| BMC MAC Address | BMC MAC address |
| BMC Watchdog Status | Watchdog is Started/Running or Stopped |
| BMC Watchdog Actions | The action to be taken when Watchdog detects a device abnormality. |
| BMC Watchdog Timeout | True when Watchdog detects no response from device, else it's False. |
| BMC Watchdog Config Time | User configured Watchdog timeout (unit: seconds) |
| BMC Watchdog Present Time | Remained time to take Watchdog Actions (unit: seconds). |
Example:
(M4500-48XF8C) # show bmc
BMC Version.................................... 3.06.00
BMC IP Protocol................................ DHCP
BMC IP Address................................. 172.20.0.71
BMC Subnet Mask................................ 255.255.0.0
BMC Default Gateway............................ 172.20.255.254
BMC MAC Address................................ bc:a5:11:b4:87:cb
BMC Watchdog Status............................ Stopped
BMC Watchdog Actions........................... Hard Reset
BMC Watchdog Timeout........................... False
BMC Watchdog Config Time (sec)................. 60
BMC Watchdog Present Time (sec)................ 60
BMC User List
------------------------
qct.admin
bmc account password
Use this command to change the password of the specific account for BMC. The password must be in plain text between 8 and 16 characters. The text that you type is displayed in asterisk characters.
| Default | The same as the user name of the account |
| Format | bmc account <username> password |
| Mode | Global Config |
bmc ip
Use this command to set a static IP address for BMC or change its IP protocol to DHCP.
| Default | bmc ip dhcp |
| Format | bmc ip {dhcp | static <ipaddr> <netmask> <gateway>} |
| Mode | Global Config |
bmc watchdog
Use this command to start or stop the BMC watchdog or to modify the watchdog timer for time-out detection.
If you enable the watchdog, NOS resets the countdown timer each fifth of the time that is set for the watchdog configuration time. For example, if the watchdog configuration time is 60 seconds, the countdown timer reset each 20 seconds.
| Default | The watchdog is disabled. If enabled, the default time is 60 seconds. |
| Format |
|
| Mode | Global Config |