Chapter 6 - Cisco’s Internetworking Operating System (IOS) Flashcards

1
Q

List the options available to connect to a Cisco device for management purposes.

A

The three options available are the console port, auxiliary port, and in-band communication, such as Telnet, SSH and HTTP. Don’t forget, a Telnet connection is not possible until an IP address has been configured and a Telnet password has been configured.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Understand the boot sequence of a router.

A

When you first bring up a Cisco router, it will run a power-on self-test (POST), and if that passes, it will look for and load the Cisco IOS from flash memory, if a file is present. The IOS then proceeds to load and looks for a valid configuration in NVRAM called the startup-config. If no file is present in NVRAM, the router will go into setup mode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the use of setup mode.

A

Setup mode is automatically started if a router boots and no startup-config is in NVRAM. You can also bring up setup mode by typing setup from privileged mode. Setup provides a minimum amount of configuration in an easy format for someone who does not understand how to configure a Cisco router from the command line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Differentiate user, privileged, and global configuration modes, both visually and from a command capabilities perspective.

A

User mode, indicated by the routername > prompt, provides a command-line interface with very few available commands by default. User mode does not allow the configuration to be viewed or changed. Privileged mode, indicated by the routername# prompt, allows a user to both view and change the configuration of a router. You can enter privileged mode by typing the command enable and entering the enable password or enable secret password, if set. Global configuration mode, indicated by the routername( config)# prompt, allows configuration changes to be made that apply to the entire router (as opposed to a configuration change that might affect only one interface, for example).n.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Recognize additional prompts available in other modes and describe their use.

A

Additional modes are reached via the global configuration prompt, routername( config)#, and their prompts include interface, router( config-if)#, for making interface settings; line configuration mode, router( config-line)#, used to set passwords and make other settings to various connection methods; and routing protocol modes for various routing protocols, router( config-router)#, used to enable and configure routing protocols.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Access and utilize editing and help features.

A

Make use of typing a question mark at the end of commands for help in using the commands. Additionally, understand how to filter command help with the same question mark and letters. Use the command history to retrieve commands previously utilized without retyping. Understand the meaning of the caret when an incorrect command is rejected. Finally, identify useful hot key combinations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Identify the information provided by the show version command.

A

The show version command will provide basic configuration for the system hardware as well as the software version, the names and sources of configuration files, the configuration register setting, and the boot images.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Set the hostname of a router.

A

The command sequence to set the hostname of a router is as follows:
enable
config t
hostname Todd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Differentiate the enable password and enable secret password.

A

Both of these passwords are used to gain access into privileged mode. However, the enable secret password is newer and is always encrypted by default. Also, if you set the enable password and then set the enable secret, only the enable secret will be used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe the configuration and use of banners.

A

Banners provide information to users accessing the device and can be displayed at various login prompts. They are configured with the banner command and a keyword describing the specific type of banner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Set the enable secret on a router.

A

To set the enable secret, you use the global config command enable secret. Do not use enable secret password password or you will set your password to password password. Here is an example:
enable
config t
enable secret todd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Set the console password on a router.

A
To set the console password, use the following sequence: 
enable 
config t 
line console 0
password todd
login
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Set the Telnet password on a router.

A
To set the Telnet password, the sequence is as follows:
 enable 
config t 
line vty 0 4 
password todd 
login
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe the advantages of using Secure Shell and list its requirements.

A

Secure Shell (SSH) uses encrypted keys to send data so that usernames and passwords are not sent in the clear. It requires that a hostname and domain name be configured and that encryption keys be generated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe the process of preparing an interface for use.

A

To use an interface, you must configure it with an IP address and subnet mask in the same subnet of the hosts that will be connecting to the switch that is connected to that interface. It also must be enabled with the no shutdown command. A serial interface that is connected back to back with another router serial interface must also be configured with a clock rate on the DCE end of the serial cable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Understand how to troubleshoot a serial link problem.

A

If you type show interface serial 0/ 0 and see down, line protocol is down, this will be considered a Physical layer problem. If you see it as up, line protocol is down, then you have a Data Link layer problem.

17
Q

Understand how to verify your router with the show interfaces command.

A

If you type show interfaces, you can view the statistics for the interfaces on the router, verify whether the interfaces are shut down, and see the IP address of each interface.

18
Q

Describe how to view, edit, delete, and save a configuration.

A

The show running-config command is used to view the current configuration being used by the router. The show startup-config command displays the last configuration that was saved and is the one that will be used at next startup. The copy running-config startup-config command is used to save changes made to the running configuration in NVRAM. The erase startup-config command deletes the saved configuration and will result in the invocation of the setup menu when the router is rebooted because there will be no configuration present.

19
Q

What command is used to set a serial interface to provide clocking to another router at 1000 Kb?

A

Router (config)# clock rate 10000000

20
Q

If you telnet into a switch and get the response connection refused, password not set, what commands would you execute on the destination device to stop receiving this message and not be prompted for a password?

A

Switch# config t
Switch (config)# line vty 0 15
Switch (config-line)# no login

21
Q

If you type show int fastethernet 0/ 1 and notice the port is administratively down, what commands would you execute to enable the interface?

A

Switch# config t
Switch (config)# int f0/1
Switch (config-if)# no shutdown

22
Q

If you wanted to delete the configuration stored in NVRAM, what command( s) would you type?

A

Switch# erase startup-config

23
Q

If you wanted to set the user-mode password to todd for the console port, what command( s) would you type?

A

Switch# config t
Switch (config)# line console 0
Switch (config)# password todd
Switch (config)# login

24
Q

If you wanted to set the enable secret password to cisco, what command( s) would you type?

A

Switch# config t

Switch (config)# enable secret cisco

25
Q

If you wanted to determine if serial interface 0/ 2 on your router should provide clocking, what command would you use?

A

Router# show controllers serial 0/2

26
Q

What command would you use to see the terminal history size?

A

Switch# show terminal

27
Q

You want to reinitialize the switch and totally replace the running-config with the current startup-config. What command will you use?

A

Switch# reload

28
Q

How would you set the name of a switch to Sales?

A

Switch# config t

Switch (config)# hostname Sales