What are six ways to configure a Cisco device?
- Six ways to configure a Cisco device are as follows:
- - Console connection
- - Auxiliary connection (through a modem)
- - Telnet connection
- - HTTP/HTTPS connection
- - Secure Shell (SSH) Connection
- - CiscoWorks
What type of cable do you need to connect to a Cisco device's console port?
An RJ-45[nd]to[nd]RJ-45 rollover cable. A rollover cable is a cable that has each pin wired to its opposite number at the other end.
What are the console configuration settings needed to connect to a Cisco device's console port?
- The console configuration settings needed to connect to a Cisco device's console port are as follows:
- - Speed: 9600 bits per second
- - Data bits: 8
- - Parity: None
- - Stop bit: 1
- - Flow control: None
What two EXEC modes are supported in the Cisco IOS?
- The two EXEC modes supported in Cisco IOS are as follows:
- - User EXEC mode (user mode)
- - Privileged EXEC mode (enable or privileged mode)
In IOS, what is user EXEC mode?
- User EXEC mode is the first mode you enter when you log in to the IOS. This mode is limited and is mostly used to view statistics. You cannot change a router's configuration in this mode. By default, the greater-than sign (>) indicates that you are in user mode. This is how the router prompt looks in user mode:
In the IOS, what is privileged EXEC mode?
- In privileged EXEC mode, you can view and change the configuration in a router; you have access to all the router's commands and the powerful debug commands.
- To enter privileged mode, enter the enable command while in user mode. By default, the pound symbol (#) indicates that you are in privileged mode. This mode is usually protected with a password. Here is an example of how to enter privileged mode. You also see the output of the prompt:
- When you are in privileged EXEC mode, how do you return to user EXEC mode?
- You can return to user EXEC mode by using the disable IOS command. Here is an example of using the disable command:
What two types of context-sensitive help are available in the Cisco IOS?
- Word help and command syntax help.
- Word help uses a question mark and identifies commands that start with a character or sequence of characters. For example, the following router output shows the use of word help for any IOS command that starts with the letters "cl":
- clear clock
- Command syntax help is when you use a question mark after a command so that you can see how to complete the command. For example:
You enter a command in EXEC mode and receive the following error: % Ambiguous command: What does this error mean?
"% Ambiguous command" means that not enough characters were entered for the IOS to recognize the command.
From EXEC mode, you issue the show ip command. After pressing Enter, you receive the following error:
- % Incomplete command
- Why did you get this error?
You received the error because you did not enter all the values or keywords that IOS requires for this command.
In this case, IOS does not know which ip command you want to view.
Upon entering a command in EXEC mode, you receive the following error:
- % Invalid input detected at '^' marker
- Why did you get this error?
You received the "% Invalid input detected at '^' marker" error because you entered the command incorrectly. For example, if you entered sjow ip instead of show ip, you would receive this error.
What are Cisco IOS global commands?
Global configuration commands are commands that affect the entire device. They can be executed only in global configuration mode.
How do you enter global configuration mode?
- To enter global configuration mode, you enter the config terminal command from privileged EXEC mode, as follows:
- Router#config terminal
- Enter configuration commands, one per line. End with CTRL-Z.
On a Cisco IOS device, name the enhanced editing commands that do the following:
- - Move the cursor to the beginning of the line
- - Move the cursor to the end of the line
- - Move the cursor forward one word?
- The enhanced editing commands are as follows:
- - Move the cursor to the beginning of the line: Ctrl-A
- - Move the cursor to the end of the line: Ctrl-B
- - Move the cursor forward one word: Esc-B
- - Move the cursor forward one character: Ctrl-F
- - Move the cursor back one character: Ctrl-B
- - Erase a line: Ctrl-U
What Cisco IOS command would you use to view a list of the most recently used commands?
- The show history command, by default, displays the last ten commands used. You can also use the up-arrow key (or press Ctrl-P) to display the very last command you entered and the down-arrow key (or press Ctrl-N) to display the previous commands you entered. As you use the up- or down-arrow keys, you are scrolling through the history buffer. The following is an example of the show history command:
- Router#show history
- show running-config
- show history
Command history is enabled by default and records ten commands in its history buffer for the current session. How do you edit the number of commands that are stored in the Cisco IOS device's history buffer?
- To edit the number of command lines stored for the current session, use the terminal history [size number-of-lines] command in privileged EXEC mode.
- For example, the following changes the history size to 20 lines:
- Router#terminal history size 20