CITN 220 Chapter 2
Which access method would be most appropriate if your manager gave you a special cable and told you to use it to configure the switch?
Console
Moves the cursor to the beginning of the line.
Ctrl+A
Erases the character at the cursor.
Ctrl+D
Moves the cursor to the end of command line.
Ctrl+E
Erases all characters from the cursor to the end of the command line.
Ctrl+K
Which access method would be most appropriate if you were in the equipment room with a new switch that needs to be configured?
Console
Which IOS mode are you in if the Switch> prompt is displayed?
User EXEC mode
A router with a valid operating system contains a configuration file stored in NVRAM. The configuration file has an enable secret password but no console password. When the router boots up, which mode will display?
User Exec Mode
Mode allows access to only a limited number of basic monitoring commands. It is often referred to as "view-only" mode.
User Exec Mode
Switch> Router>
User Exec Mode Default Prompt
Which access method would be the most appropriate if you call your manager to tell him you cannot access your router in another city over the internet and he provides you with the information to access the router through a telephone connection?
Aux
What indicate a required choice within an optional element. Spaces are used to clearly delineate parts of the command.
Braces and vertical lines within square brackets [x {y | z }]
What indicate a required element (keyword or argument).
Braces {x}
Which two commands would return you to the privileged EXEC prompt regardless of the configuration mode you are in? (Choose two.)
CRTL + Z or end
Redisplays the system prompt and command line after a console message is rece
Ctrl+R or Ctrl+I or Ctrl+L
Erases all characters from the cursor back to the beginning of the command line
Ctrl+U or Ctrl+X
Erases the word to the left of the cursor.
Ctrl+W
When in any configuration mode, ends the configuration mode and returns to privileged EXEC mode. When in setup mode, aborts back to the command prompt
Ctrl-C
All-purpose break sequence used to abort DNS lookups, traceroutes, pings, etc.
Ctrl-Shift-6
When in any configuration mode, ends the configuration mode and returns to privileged EXEC mode.
Ctrl-Z
Moves the cursor back one word to the left.
Esc B
Erases all characters from the cursor to the end of the word.
Esc D
Moves the cursor forward one word to the right.
Esc F
Which IOS mode are you in if the Switch(config)# prompt is displayed?
Global Configuration mode
Which two statements are true regarding the user EXEC mode? (Choose two.)
Global configuration mode can be accessed by entering the enable command. Only some aspects of the router configuration can be viewed.
Displays the next screen.
Space Bar
What indicate an optional element (keyword or argument).
Square bracket [x]
important naming guidelines for hosts
Start with a letter Contain no spaces End with a letter or digit Use only letters, digits, and dashes Be less than 64 characters in length
Recalls the previous command in the history buffer, beginning with the most recent command.
Up Arrow or Ctrl+P
What is the default SVI on a Cisco switch?
VLAN 1
Which is the command to configure a banner to be displayed when connecting to a switch?
banner motd #keep out#
What text indicates commands and keywords that you enter literally as shown.
boldface
The downside to using the reload
command to remove an unsaved running config is the brief amount of time the device will be offline, causing network downtime.
To move privileged EXEC mode command to return to user EXEC mode use.
disable
What is the structure of an IPv4 address called?
dotted-decimal format
To move from any subconfiguration mode to the privileged EXEC mode
enter the end command or enter the key combination Ctrl+Z.
To return to the privileged EXEC mode
enter the exit global config mode command
How is an IPv4 address represented?
four decimal numbers between 0 and 255 separated by periods
What is the command to assign the name "Sw-Floor-2" to a switch?
hostName Sw-Floor-2
To configure an SVI on a switch, use
interface vlan 1 global configuration command
assign an IPv4 address using
ip address ip-address subnet-mask
switches configured with an IPv4 address will typically also need to have a default gateway assigned shat command does this
ip default-gateway ip-address global configuration command
Which statement is true about the running configuration file in a Cisco IOS device?
it affects the operation of the device immediately when modified.
What text indicates arguments for which you supply values
italics
Which command enables password authentication for user EXEC mode access on a switch?
login
privileged EXEC mode command to restore the startup-config
reload
This is stored in Random Access Memory (RAM). It reflects the current configuration. Modifying a running configuration affects the operation of a Cisco device immediately. RAM is volatile memory. It loses all of its content when the device is powered off or restarted.
running-config
privileged EXEC mode command is used to view the running config. As shown in the example, the command will list the complete configuration currently stored in RAM
show running-config
To view the startup configuration file use
show startup-config
This is the saved configuration file that is stored in NVRAM. It contains all the commands that will be used by the device upon startup or reboot. Flash does not lose its contents when the device is powered off.
startup-config
What type of interface has no physical port associated with it?
switch virtual interface (SVI)
Why would a technician enter the command copy startup-config running-config?
to copy the existing config into RAM
To move in and out of global configuration mode,
use the configure terminal of Config T privileged EXEC mode command.
To move from user EXEC mode to privileged EXEC mode, use
enable
Goes to the next line in the the history buffer.
Down Arrow or Ctrl+N
Which IOS mode allows access to all commands and features?
Privilege EXEC mode
Completes a partial command name entry.
Tab
To what subnet does the IP address 10.1.100.50 belong if a subnet mask of 255.255.0.0 is used?
10.0.1.0
Global configuration mode is identified by a prompt that ends with (config)# after the device name, such as
<SwitchName>(config)#.
default prompt for interface configuration mode
<SwitchName>(config-if)#
default prompt for line configuration mode
<SwitchName>(config-line)#
Moves the cursor one character to the left.
Left Arrow or Ctrl+B
Ends the display string, returning to previous prompt.* Except "y", which answers "yes" to the --More-- prompt, and acts like the Space bar
Any other key *
Which functionality is provided by DHCP?
Automatic assignment of an IP address to each host
Which two functions are provided to users by the context-sensitive help feature of the Cisco IOS CLI? (Choose two.)
Displaying a list of all available command within the current mode Determining which option, keyword or argument is available for the entered command
Displays the next line.
Enter Key
Used to configure a switch port or router network interface.
Interface Configuration Mode
What is the function of the shell in an OS?
Its interface between the users and the Kernal
Used to configure console, SSH, Telnet, or AUX access
Line Configuration Mode
Which memory location on a Cisco router or switch stores the startup configuration file?
NVRAM
An administrator has just changed the IP address of an interface on an IOS device. What else must be done in order to apply those changes to the device?
Nothing, changes to the configuration on an IOS device take effect as soon as the command is typed correctly and the Enter key has been pressed.
Which type of access is secured on a Cisco router or switch with the enable secret command?
Privileged EXEC
Mode allows access to all commands and features. The user can use any monitoring commands and execute configuration and management commands.
Privileged EXEC Mode
Switch# Router#
Privileged EXEC Mode Default Prompt
Which memory location on a Cisco router or switch will lose all content when the device is restarted?
RAM
Moves the cursor one character to the right.
Right Arrow or Ctrl+F
Which command encrypts all plaintext passwords access on a switch?
Service password-encryption
Which access method would be the most appropriate in-band access to the IOS over a network connection?
Telnet/SSH
How is the privileged EXEC mode access secured on a switch?
enable secret class