Chapter 6 Review Questions Flashcards
Interference on the Ethernet cable. Typically, we’d see the input errors and CRC statistics increase with a duplex error, but it could be another Physical layer issue such as the cable might be receiving excessive interference or the network interface cards might have a failure. Typically, you can tell if it is interference when the CRC and input errors output grow but the collision counters do not, which is the case with this question.
The output of the show running-config command comes from ___________.
RAM. Once the IOS is loaded and up and running, the startup-config will be copied from NVRAM into RAM and from then on, referred to as the running-config.
*c* How do you configure SSH on router?
Here are the steps for setting up SSH:
- Set your hostname:
Router(config)#hostname Todd
- Set the domain name—both the hostname and domain name are required for the encryption keys to be generated:
Todd(config)#ip domain-name Lammle.com
- Set the username to allow SSH client access:
Todd(config)#username Todd password Lammle
4. Generate the encryption keys for securing the session:
Todd(config)#crypto key generate rsa
- Enable SSH version 2 on the device—not mandatory, but strongly suggested:
Todd(config)#ip ssh version 2
- Connect to the VTY lines of the switch or router: Todd(config)#line vty 0 15
- Tell the lines to use the local database for password: Todd(config-line)#login local
- Configure your access protocols:
Todd(config-line)#transport input ssh
If you want to go with Telnet, here’s how you do that: Todd(config-line)#transport input ssh telnet
Which command will show you whether a DTE or a DCE cable is plugged into serial 0/0 on your router’s WAN port?
The show controllers serial 0/0 command will show you whether either a DTE or DCE cable is connected to the interface. If it is a DCE connection, you need to add clocking with the clock rate command.
Describe each term.
User EXEC mode
Privileged EXEC mode
Global configuration mode
Specific configuration mode
Setup mode
User EXEC mode - Limited to basic monitoring commands
Privileged EXEC mode-Provides access to all other router commands
Global configuration mode-Commands that affect the entire system
Specific configuration mode- Commands that affect interfaces/processes only
Setup mode- Interactive configuration dialog
100 Mbs. The bandwidth shown is 100000 kbits a second, which is a FastEthernet port, or 100 Mbs.
*c* Which command will configure all the default VTY ports on a switch?
Switch(config)#line vty 0 4. From global configuration mode, use the line vty 0 4 command to set all five default VTY lines. However, you would typically always set all lines, not just the defaults.
Which command sets the privileged mode password to Cisco and encrypts the password?
enable secret Cisco
To set the enable secret password, use the enable secret password command from global configuration mode. This password is automatically encrypted.
If you wanted administrators to see a message when logging into the switch, which command would you use?
banner motd #message#. The banner motd sets a message of the day for administrators when they login to a switch or router.
Which prompt indicates that the switch is currently in privileged mode?
Switch#
Switch(config)# is global configuration mode.
Switch> is user mode.
Switch# is privileged mode.
Switch(config-if)# is interface configuration mode.
What command do you type to save the configuration stored in RAM to NVRAM?
Switch(config)#copy running-config startup-config. To copy the running-config to NVRAM so that it will be used if the router is restarted, use the copy running-config startup-config command in privileged mode (copy run start for short).
SF(config)#line vty 0 4
SF(config-line)#password password
SF(config-line)#login
To allow a VTY (Telnet) session into your router, you must set the VTY password. Notice that you have to set the password before you set the login command.
Which command will delete the contents of NVRAM on a switch?
The erase startup-config command erases the contents of NVRAM and will put you in setup mode if the router is restarted.
The administrator has the interface shut down.
Which of the following commands displays the configurable parameters and statistics of all interfaces on a switch?
show interfaces. With the show interfaces command, you can view the configurable parameters, get statistics for the interfaces on the switch, check for input and CRC errors, and verify if the interfaces are shut down
If you delete the contents of NVRAM and reboot the switch, what mode will you be in?
Setup mode. If you delete the startup-config and reload the switch, the device will automatically enter setup mode. You can also type setup from privileged mode at any time
Part of the command is missing. You can view the interface statistics from user mode, but the command is show interface fastethernet 0/0
You type Switch#sh r and receive a % ambiguous command error. Why did you receive this message?
There is more than one show command that starts with the letter r
Which commands will display the current IP addressing and the layer 1 and 2 status of an interface?
The commands show interfaces and show ip interface will show you the layer 1 and 2 status and the IP addresses of your router’s interfaces.
Physical layer. If you see that a serial interface and the protocol are both down, then you have a Physical layer problem. If you see serial1 is up, line protocol is down, then you are not receiving (Data Link) keepalives from the remote end
What is ROM?
ROM stands for Read-Only Memory. ROM stores the routers bootstrap startup program, operating system software, and power-on diagnostic test programs (the POST). As well as the mini-IOS
What is flash memory?
Flash memory is generally referred to as flash. The Cisco Internetwork Operating System (IOS) images are held here. Flash is erasable and reprogrammable ROM. Flash memory content is retained by the router on power-down or reload.
What is RAM?
RAM is short for Random-Access Memory. RAM on a Cisco router stores operational information such as routing tables, ARP cache, packet buffers and the running configuration file. RAM contents are lost when the router is powered down or reloaded.
What is NVRAM?
(nonvolatile RAM)
Used to hold the router and switch configuration. NVRAM is not erased when the router or switch is reloaded. Does not store an IOS. The configuration register is stored in NVRAM.