5 - Device Management Flashcards
What is the most basic way to interact with a switch or router?
console session
What type of cable is used to connect to the console port?
rollover cable
What command/commands can be issued to cause a console session to never timeout?
no exec-timeout
exec-timeout 0 0
What is different between the aux port and the console port?
aux port is configured to use the modem handshake protocol by default
How do you configure the console or aux port?
by issuing the line command in global configuration mode
What is required for vty access?
One accessible interface
What are the two primary types of vty connections supported on cisco devices?
telnet
ssh
What command is used to configure ssh on a vty line?
transport input ssh
How do you suspend a telnet/ssh session?
control shift 6 x key sequence
How do you return to a suspended telnet/ssh session?
resume command
When issuing the sh ip ssh version command what will you see?
ssh version 1.5 indicates you are using ssh 1
ssh version 2.0 indicates you are using ssh 2
ssh version 1.9 indicates you are using ssh 1 and 2
What is required to correctly configure ssh on a cisco device?
hostname
domain name
rsa encryption key
What is required to be configured on a remote management port before you can access it?
ip address on the management port
default gateway on the router
What mode are you in when you see the router> prompt?
User exec mode
What mode are you in when you see the router# prompt?
Privileged exec mode
How do you access privileged exec mode?
from user exec mode you issue the enable comand
What mode are you in when you see the router (config) # prompt?
Global configuration mode
How do you access global configuration mode?
from privileged exec mode you issue the configuration terminal command
What mode are you in when you see the router (config-if) # prompt?
interface configuration mode
What mode are you in when you see the router (config-line # prompt?
line configuration mode
What mode are you in when you see the router (config-router) # prompt?
router configuration mode
How do you use context-sensitive help in ios?
? key
Can you use the help command?
Yes, help command will show you a list of available commands but not provide context-sensitive help
During a session, the _________________ is retained and can be access for easy entry of repetitive commands.
command history
How do you use abbreviated commands in the command line?
type only enough characters of the command to identify it as unique
What does the tab shortcut do?
autocompletes a command
What does Ctrl-W shortcut do?
removes a word
What does Ctrl-U shortcut do?
removes a line
What does Ctrl-A shortcut do?
moves the cursor to the beginning of a line
What does Ctrl-z shortcut do?
terminates configuration mode
What does the up arrow shortcut do?
scrolls through the previously issued commands
What does the ? shortcut do?
displays context-sensitive help
What are the steps in the Cisco boot process?
- device performs power-on self tests (post) checks
- the bootstrap program is loaded and executed
- the bootstrap program loads ios image
- ios loads a config file from nvram and puts in dram for operation
- the device is placed into user exec mode
What is rom on a cisco device?
read-only memory stores a limited ios image
What is the default location a cisco device attempts to load an ios image from?
flash memory
what are the locations a cisco device attempts to locate a valid ios image?
in order:
- local storage
- remote storage
- rom
What is the boot system command used for?
to specify the location of the ios to boot
What is the default configuration register?
0x2102
How do you view the current configuration register?
sh version
What is config register 0x2101 used for?
boot to the bootstrap program to run diagnostics on the router
What is config register 0x2120 used for?
boot to rommon
What is config register 0x2122 used for?
boot to an ios image stored in flash memory with console speed of 19200 baud
What is config register 0x2142 used for?
configures router to disregard the contents of nvram ignoring the config file allowing you to create an initial config for the router
What is config register 0x3122 used for?
boot to an ios image if a valid image exists with a console speed of 57600 baud
What is automated setup?
setup basic configuration parameters on initial configuration:
- host name
- enable password
- enable secret
- vty password
- ip addressing for interfaces
What is manual setup mode?
you manually set configuration parameters using the cli
What is the service config command used for?
the device will attempt to download configuration file from default ip address of 255.255.255.255
What are the boot network and boot host commands used for?
used to set the tftp server address to be used by service config
What command can be used to copy the running config to the start up config?
copy running-config startup-config
What is the open standard of CDP?
LLDP or link layer discovery protocol
What layer does LLDP and CDP operate at?
Layer 2
What type of information is collected by sh CDP neighbors?
the device id of the neighboring device
the capabilities of the neighboring device
the product number of the neighboring device
the hold time
the local interface
the remote interface
What type of information is collected by sh CDP neighbors detail?
the device id of the neighboring device
the capabilities of the neighboring device
the product number of the neighboring device
the hold time
the local interface
the remote interface
Plus:
the layer 3 address of the neighboring device
the native vlan
the vtp domain
what is sh cdp entry command used for?
used to only view the requested information, example are sh cdp entry router1 would show you the output of sh cdp neighbor details for only router1, sh cdp entry router1 version would show you the version information for router1
How do you disable CDP globally on a device?
no cdp run
How do you disable CDP on an interface?
no cdp enable
How do you disable lldp globally?
no lldp run
What is the show controllers command used for?
used to display statistics about the interface card controllers, it can be used to see what side of the serial connection is the dte (data terminal equipment) or dce (data communications equipment)
What is the show protocols command used for?
used to display layer 1 and layer 2 status of each interface as well as the ip address for each interface
What are debug commands used for?
enable an administrator to view traffic and information in real time as it happens
How can you disable debug?
no appended to the beginning of the debug command used or no debug all
What does the no logging console command do?
disables echoing to the console
What does the terminal monitor command do?
enables echoing to the telnet or ssh vty session
What type of messages does the ping command use to test connectivity?
ICMP or internet control message protocol echo messages
What type of messages are received when a host cannot be pinged successfully?
ICMP destination unreachable
What type of messages does the traceroute command use to test the path?
UDP with a ttl value of 1 to an invalid port number
How does traceroute work?
UDP traffic with a low ttl causes the router at each hop to reply with an ICMP TEM or time exceeded message
What does the * indicate in a traceroute command?
the timer expires before it receives a TEM or destination unreachable