Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

請使用SP/BMC CLI的線上說明

貢獻者

線上說明會顯示SP/BMC CLI命令和選項。

關於這項工作

此工作同時適用於SP和BMC。

步驟
  1. 若要顯示SP/BMC命令的說明資訊、請輸入下列命令:

    若要存取SP說明…​ 若要存取 BMC 說明 …​

    類型 help 在 SP 提示符下。

    類型 system 在 BMC 提示下。

    以下範例顯示SP CLI線上說明。

    SP> help
    date - print date and time
    exit - exit from the SP command line interface
    events - print system events and event information
    help - print command help
    priv - show and set user mode
    sp - commands to control the SP
    system - commands to control the system
    version - print SP version

    以下範例顯示 BMC CLI 線上說明。

    BMC> system
    system acp - acp related commands
    system battery - battery related commands
    system console - connect to the system console
    system core - dump the system core and reset
    system cpld - cpld commands
    system log - print system console logs
    system power - commands controlling system power
    system reset - reset the system using the selected firmware
    system sensors - print environmental sensors status
    system service-event - print service-event status
    system fru - fru related commands
    system watchdog - system watchdog commands
    
    BMC>
  2. 若要顯示 SP/BMC 命令選項的說明資訊、請輸入 help 在 SP/BMC 命令之前或之後。

    以下範例顯示 SP 的 SP CLI 線上說明 events 命令。

    SP> help events
    events all - print all system events
    events info - print system event log information
    events newest - print newest system events
    events oldest - print oldest system events
    events search - search for and print system events

    以下範例顯示 BMC 的 BMC CLI 線上說明 system power 命令。

    BMC> system power help
    system power cycle - power the system off, then on
    system power off - power the system off
    system power on - power the system on
    system power status - print system power status
    
    BMC>