跳到主要内容

在 SP/BMC CLI 中使用联机帮助

联机帮助会显示 SP/BMC CLI 命令和选项。

关于本任务

此任务应用于 SP 和 BMC。

  1. 要显示 SP/BMC 命令的帮助信息,请输入:
    访问 SP 帮助...访问 BMC 帮助...
    在 SP 提示符处,输入 help在 BMC 提示符处,输入 system

    示例

    以下示例显示 SP CLI 联机帮助。

    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
    Usage: system cmd [option]

    Support cmd list
    help - display this help message
    fw - platform firmware related feature
    log - log related feature
    reset - reset the system
    console - connect to the system console
    core - dump the system core and reset
    power - system power related feature
    fru - FRU related feature

    Support option list
    help: display the help message of the cmd
  2. 要显示 SP/BMC 命令选项的帮助信息,在 SP/BMC 命令前面或后面输入 help

    示例

    以下示例显示 SP events 命令的 SP CLI 联机帮助。

    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 system power 命令的 BMC CLI 联机帮助。

    BMC> system power help
    Usage: system power [option]

    Support option list
    help: print this help message
    cycle: power cycle the system, then on
    off: power the system off
    on: power the system on
    status: system power status