Getting Help for Commands and Statements for the SRC CLI

Information about commands and statements is provided at each level of the CLI hierarchy. You can type a question mark to get help in the following ways:

  • If you type the question mark at the command-line prompt, the CLI lists the available commands, statements, or options. For example, to view a list of top-level operational mode commands, type a question mark (?) at the command-line prompt.
    user@host> ?
    Possible completions:
      clear                Clear system-level objects
      configure            Enter configuration mode
      disable              Stop an SRC component
      enable               Start an installed and configured component
      exit                 Exit a CLI session
      file                 Perform file operations
      help                 Display help about commands and statements
      history              Display command history
      request              Make request for specified component
      restart              Restart an SRC component
      set                  Properties for the CLI environment
      show                 Display configuration information
      ssh                  Open SSH session to another host
      start                Start shell
      telnet               Telnet to another host
      test                 Test a NIC resolution
    user@host> 
    
    
  • If you type the question mark after entering the complete name of a command, statement, or option, the CLI lists the available options, then displays again the text that you typed.
    user@host> clear ? 
    Possible completions:
      sae                     Clear SAE-level objects
      security                Delete security data
    user@host> clear
  • If you type the question mark in the middle of a command, statement, or option name, the CLI lists possible command completions that match the letters you have entered so far, then displays again the text that you typed. For example, to list all operational mode commands that start with the letter c, type the following:
    user@host> c?
    Possible completions:
      clear                Clear (delete) data
      configure            Enter configuration mode
    user@host> c
    
    

You can also get extended help for a command, statement, or option by using the help command:

user@host> help enable
Start a specified SRC component.