Finding or completing a command
Procedure
- Type one or more consecutive characters of a
command and then press [Tab] (with no spaces allowed) to find a CLI command or to quickly complete a CLI command name. The CLI completes the current command name, including hyphenated extensions, if you have typed enough characters for the CLI to distinguish it from other possibilities.
- The following example shows the result when you
press [Tab] immediately after typing “t” at the Global Configuration level. The CLI displays the available command options that begin with “t”.
switch(config)# t tacacs-server telnet-server tftp time timesync trunk trunk-load-balance task-monitor telnet terminal test traceroute traceroute6
- The following example shows the result when you
press [Tab] immediately after typing “port-”.
switch (config)# port- switch (config)# port-security
- The following example shows the result of pressing [Tab] after a completed command word lists the further options for that command. In this example, entering
displays the following:switch(config)# qos[Tab]
switch (config)# qos udp-port Set UDP port-based priority. tcp-port Set TCP port-based priority. device-priority Configure device-based priority for a particular IP address. dscp-map Define mapping between a DSCP (Differentiated-Services Codepoint) value and an 802.1p priority. protocol Configure protocol-based priority. queue-config Configure the number of egress priority queues for each port. type-of-service Configure the Type-of-Service method the device uses to prioritize IP traffic. watch-queue Enables monitoring of per-queue dropped packets due to outbound congestion on the given port.