Commands Flashcards
Memorization of which commands are allowed in certain modes in the Cisco IOS CLI
If the command prompt lists the hostname followed by a “>” sign, you are in what mode?
User mode (User EXEC mode).
If the command prompt lists the hostname followed by a “#” sign, you are in what mode?
Enable mode (Privileged mode or Privileged EXEC mode).
Commands that can be used in either user (EXEC) mode or enable (EXEC) mode are called ____ commands.
EXEC commands.
What does the “reload” command do and which mode can it be used in?
The reload command performs a reboot of the switch/router. Enable mode.
What does the “enable secret password-value” command do and which mode can it be used in?
This command sets the enable password using a more secure version of the enable password password-value command. Global Configuration mode.
What does the “line console 0” command do and which mode can it be used in?
This command puts you into the console line configuration mode. Global Configuration mode.
What does the “line vty 0 4” command do and which mode can it be used in?
This command puts you into a telnet/ssh line configuration mode for the virtual lines 0 through 4 (5 virtual lines). Global Configuration mode.
What does the “hostname hostname-value” command do and which mode can it be used in?
This command sets the name of the switch/router. Global Configuration mode.
What does the “exit” command do and which mode can it be used in?
This allows you to move backwards one time in the CLI (console line config mode to global config mode). Any mode.
What does the “end or CTRL-Z” command do and which mode can it be used in?
Puts you back into enable mode regardless of which mode you were currently in. Any mode.
What does the “interface FastEthernet 0/1” command do and which mode can it be used in?
Puts you into the interface configuration mode for the fast ethernet port 0/1. Any configuration mode.
What does the “Login local” command do and which mode can it be used in?
Used within either the console or vty line configuration mode, this command tells the switch to use the locally configured list of usernames and passwords to authenticate.
What does the “username username-value password password-value” command do and which mode can it be used in?
This creates a local entry of the paired username and password. Global configuration mode.
What does the “login” command do and which mode can it be used in?
Used within either the console or vty line configuration mode, this command tells the switch to use a simple shared password to authenticate.
What does the “password password-value” command do and which mode can it be used in?
Used within either the console or vty line configuration mode, this command creates a simple shared password for all users to authenticate with no username.