Chapter 7
a and d
A switch user is currently in console line configuration mode. Which of the following would place the user in enable mode? A. Using the end command once B. Using the exit command once C. Using the quit command D. Pressing the Ctrl-Z key sequence once
CLI
Besides controlling the switch's performance and behavior, Cisco IOS also defines an interface for humans; what is it called?
command line interface
CLI stands for
b and c
In what modes can you execute the command show mac address-table? A. Interface configuration mode B. Enable mode C. User mode D. Global configuration mode
d
In which of the following modes of the CLI could you issue the command reload to reboot the switch? A. User mode B. Interface configuration mode C. Global configuration mode D. Enable mode
c
What command copies the configuration from RAM into NVRAM? A. copy startup-config running-config B. copy running-config tftp C. copy running-config startup-config D. copy tftp running-config E. copy start-up-config running-config F. copy running-config start-up-config
the IOS
What implements and controls logic and functions performed by a Cisco switch?
working memory and running configuration
What is the purpose of RAM in a Cisco switch?
bootstrap program
What is the purpose of ROM memory in a Cisco switch?
e
What type of switch memory is used to store the configuration used by the switch when it is up and working? A. NVRAM B. Bubble C. Flash D. ROM E. RAM
d
Which of the following is a difference between Telnet and SSH as supported by a Cisco switch? A. Telnet is used from Microsoft operating systems, and SSH is used from UNIX and Linux operating systems. B. SSH encrypts the passwords used at login, but not other traffic; Telnet encrypts nothing. C. Telnet encrypts only password exchanges; SSH encrypts all data exchanges. D. SSH encrypts all data exchange, including login passwords; Telnet encrypts nothing.
CLI
a text-based interface in which the user, typically a network engineer, enters a text command and presses Enter.
show process and no debug all
as a precaution, what commands can issue prior to any debug commands
via a web interface and with network management software
aside from the CLI; how else might a Cisco switch be configured?
not unless you preface the command with "do" (as in "do reload")
can you use EXEC commands in "configuration mode"?
not unless you preface the command with do ( as in "do show mac address-table")
can you use EXEC commands in configuration mode
1 goes to 8, 2 goes to 7 and so on
describe rollover cabling
Telnet server
do the Telnet application protocols call the device that listens for commands and replies to them a Telnet client or a Telnet server?
telnet client
do the Telnet application protocols call the terminal emulator a Telnet client or a Telnet server?
global | none-first mode after "configure terminal"
fill row for "hostname(config)#"
interface | interface ~then enter the type and number~
fill row for "hostname(config-if)#"
line | line console 0 or line vty 0 15
fill row for "hostname(config-line)#"
VLAN | vlan ~ then type the vlan number~
fill row for "hostname(vlan)#"
Stores the currently used configuration commands. This file changes dynamically when someone enters commands in configuration mode. | RAM
fill the row for running config
Stores the initial configuration used anytime the switch reloads Cisco IOS. | NVRAM
fill the row for startup config
non volatile RAM
for what does NVRAM stand?
show is to photo as debug is to video
good analogy for the difference between show commands and debug commands
line console 0
how do Cisco switches refer to the console line
line console 0 login password faith
how do you configure the console password
line vty 0 15 login password love
how do you configure the telnet and SSH password
you can quickly retrieve the "no debug all" command if the debug quickly degrades performance (could inhibit ability to type commands)
how does issuing the "no debug all" command prior head off any issues from issuing any debug commands
it allows you to check the current switch CPU utilization
how does the "show process" command prior head off any issues from issuing any debug commands
enable mode and privileged mode
how else is privileged EXEC mode called
When a Cisco switch or router initializes, but the startup config file is empty, the switch or router asks the console user if he wants to use setup.
how is setup mode accessed
16 total
how many people can access a switch from a telnet or SSH session?
1
how many people can be accessing a switch from the console line
enable
if the user is in global configuration mode and issues the exit command, where do you end up?
startup-config
in the command "copy running-config startup-config"; what phrase references the NVRAM memory?
running-config
in the command "copy running-config startup-config"; what phrase references the RAM memory?
it is a console cable and it is a rollover cable
in the first two images, what type of cable is represented by the blue wire and what kind of wiring?
no
is the "reload" available in user mode?
9600 bits/second no hardware flow control 8 bit ASCII no parity bits 1 stop bit
list the attributes of 8N1
Enable mode EXEC command
mode? ~ copy (from-location to-location)
Enable mode EXEC command
mode? ~ copy running-config startup-config
global command
mode? ~ hostname (name)
global command
mode? ~ interface (type port-number)
Global command or any subcommand
mode? ~ line console 0
Global command
mode? ~ line vty (1st-vty last-vty)
Line (console and vty) configuration mode.
mode? ~ login
Enable mode EXEC command
mode? ~ no debug all or undebug all
Line (console and vty) configuration mode.
mode? ~ password (pass value)
enable mode EXEC command
mode? ~ reload
EXEC command
mode? ~ terminal monitor
virtual terminal connections
telnet and SSH are both what
8N1
the default console port settings on a switch are collectively known as what?
terminal emulation software and possibly a software driver if using a USB
to connect to the console port of a switch, what does the PC need besides cabling?
SSH encrypts everything, Telnet doesn't
what advantage does SSH have over Telnet
commands that can be used in either user (EXEC) mode or enable (EXEC) mode
what are EXEC commands
RAM, flash, ROM and NVRAM
what are the four main types of memory found in Cisco switches?
the console, Telnet and SSH
what are three popular ways of connecting to the CLI
command line interface
what does CLI stand for?
internetwork operating system
what does IOS stand for
secure shell
what does SSH stand for
indicates that the port lights are in duplex mode; which in turn conveys each ports duplex status
what does a light at number at number four convey?
indicates that the port lights are in speed mode; which in turn conveys each ports speed status
what does a light at number five convey?
indicates that the port lights are in status mode; which in turn conveys each ports status
what does a light at number three convey
Telnet client software package on a PC and a working network (so that the PC and switch can exchange IP packets)
what does a user need to use Telnet?
moves the user back to enable mode regardless of the current configuration submode
what does the Ctrl-Z sequence do?
moves the user back to enable mode from config mode or any config submode
what does the end command do?
overall system status
what does the light at number one convey?
redundant power supply status
what does the light at number two convey?
look but not touch
what does user EXEC mode allow a user to do?
they can create so many messages that Cisco IOS cannot process them all, possibly resulting in a crash of Cisco IOS.
what is a hazard of the debug commands
enable mode
what is an other expression for privileged mode?
DB9
what is another expression for the bottom end of the blue cable?
user mode
what is another name user EXEC mode
those are the port lights and the information those lights convey depends on what status is lit up at the left
what is indicated at number 7
the mode button; which toggles between status, duplex and speed modes
what is indicated at number six?
user EXEC mode
what is the first level of access called
the console port
what is the name of the port that plugs into the switch in each image?
privileged EXEC mode
what is the next higher level of access above user EXEC mode called
Cisco IOS software, default boot location
what is the purpose of Flash memory in a Cisco switch?
to load the actual OS
what is the purpose of a bootstrap program?
to store the startup configuration
what is the purpose of the NVRAM in a Cisco switch?
an EXEC command
what kind of command is "show mac address-table"?
privileged EXEC/enable
what kind of command is the "reload" command?
user mode or enable mode
what kind of mode does the "show mac address-table" require?
enable mode
what mode does the "reload" command work in?
NVRAM
what type of memory is used to store the configuration file that is loaded when the switch/router next loads the IOS
enable
which command is black
configure terminal
which command is green
disable
which command is purple
exit, end or Ctrl-Z
which command is yellow
exit
which command moves the user one config mode backward, toward global configuration mode
SW1, they don't make PCs with serial ports anymore
which image represents the oldest scenario and why?
enable mode
which mode is blue
configuration mode
which mode is gray
user mode
which mode is red
setup mode
which mode leads a switch administrator by asking questions that prompt the administrator for basic configuration parameters
because setup supports only a small percentage of modern switch configuration settings
why do most network engineers never use setup mode,