Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

使用 SP/BMC 命令行界面上的联机帮助

贡献者

联机帮助显示 SP/BMC 命令行界面命令和选项。

关于此任务

此任务会同时对 SP 和 BMC 执行适用场景。

步骤
  1. 要显示 SP/BMC 命令的帮助信息,请输入以下命令:

    要访问 SP 帮助 …​ 要访问BMC帮助…​

    Type help 在SP提示符处。

    Type 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 命令行界面联机帮助。

    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命令行界面联机帮助 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命令行界面联机帮助 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>