Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Using Command Completion in Configuration Mode

 

CLI command completion also applies to commands in configuration mode and to configuration statements.

To display all possible commands or statements:

  • Type the partial string followed immediately by a question mark; to complete a command or statement that you have partially typed, press the Spacebar.

Command completion also applies to identifiers, with one slight difference.

To display all possible identifiers:

  • Type a partial string followed immediately by a question mark.

  • To complete an identifier, you must press the Tab key.

This scheme allows you to enter identifiers with similar names; then press the Spacebar when you are done typing the identifier name.

Examples: Using Command Completion in Configuration Mode

List the configuration mode commands:

List all the statements available at the [edit] hierarchy level:

List all the statements available at the [edit system] hierarchy level:

List all commands that start with a particular letter or string:

List all configured Ethernet interfaces:

Display a list of all configured interfaces: