100-150 CCST ยท Troubleshooting and device commands
Cisco IOS command line basics
User EXEC versus privileged EXEC mode, enable, privilege levels, context-sensitive help with ?, tab auto-complete and command abbreviation.
Key points
- User EXEC mode (prompt ends in >) allows limited monitoring commands.
- The enable command moves to privileged EXEC mode (prompt ends in #), which unlocks all show commands and configuration access; disable goes back.
- Typing ? lists available commands, a partial word followed by ? lists matching commands, Tab completes a word, and any unambiguous abbreviation such as sh run is accepted.
Practice questions
Which mode does the prompt 'Switch>' indicate?
- Privileged EXEC mode
- User EXEC mode
- Global configuration mode
- Interface configuration mode
Show answer
Answer: B. User EXEC mode
A > at the end of the prompt means user EXEC mode; # means privileged EXEC mode.
Which of these help you work faster or discover commands in the IOS CLI?
- Typing ? at the prompt
- Typing a partial word followed by ?
- Pressing Tab after typing the start of a command
- Pressing Esc twice to open a manual
- Pressing Ctrl+Z to show syntax
Show answer
Answer: A. Typing ? at the prompt, B. Typing a partial word followed by ?, C. Pressing Tab after typing the start of a command
? lists commands, a partial word plus ? lists matches, and Tab completes the word. Ctrl+Z and Esc do not provide help.
IOS always requires you to type each command in full; abbreviations are never accepted.
Show answer
Answer: False
False. Any unambiguous abbreviation works, for example sh run for show running-config.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
