Examples: Using Command Completion in Configuration Mode
List the configuration mode commands:
[edit]user@host#?
Possible completions:commit Commit a set of changesdelete Delete a configuration statement or identifieredit Specify edit level in hierarchyexit Exit from this levelhelp Display help about commands and statementshistory Display command historyinsert Insert an identifierload Load configuration from an ASCII filerename Rename a statement or identifierrollback Discard current set of changesrun Run an operational mode commandsave Save configuration to an ASCII fileset Set a configuration propertyshow Display configuration informationtop Return to top level of configuration modeup Move up one level in hierarchyList all the statements available at the
[edit]
hierarchy level:[edit]user@host#edit ?
Possible completions:> interfaces Interfaces on the SDX platform> policies Policy configuration> redirect-server Redirect server properties> routing-options Protocol-independent routing option configuration> services Service configuration> shared Configure a shared configuration> slot Component configuration> snmp SNMP agent> subscribers Subscriber and subscription configuration> system System parametersList all the statements available at the
[edit system]
hierarchy level:[edit]user@host#edit system ?
Possible completions:<[Enter]> Execute this command> ldap LDAP properties> login Login properties> ntp NTP configuration> radius-server RADIUS server configuration> services System services configuration> syslog System log configuration> tacplus-server TACACS+ server configuration| Pipe through a commandList all commands that start with a particular letter or string:
[edit]user@host#edit system l?
Possible completions:> ldap LDAP properties> login Login propertiesuser@host# edit system lList all configured Ethernet interfaces:
[edit]user@host#edit interfaces et?
Possible completions:<name> Interface nameeth0eth1eth2eth3user@host# edit interfaces etDisplay a list of all configured interfaces:
user@host#show interfaces ?
Possible completions:<[Enter]> Execute this command<name> Interface nameeth0 Interface namelo Interface name| Pipe through a commanduser@host# show interfaces