text stringlengths 0 6.55k |
|---|
|||||||||||||||||||| |
|||||||||||||||||||| |
130 CCNA 200-301 Official Cert Guide, Volume 1 |
NOTE This section refers to several passwords as shared passwords. Users share these pass-words in that all users must know and use that same password. In other words, each user does not have a unique username/password to use, but rather, all the appropriate staff knows and uses the same password. |
In addition, Cisco switches protect enable mode (also called privileged mode) with yet another shared password called the enable password. From the perspective of the network engineer connecting to the CLI of the switch, once in user mode, the user types the enable EXEC com-mand. This command prompts the user for this ... |
Example 6-1 shows an example of the user experience of logging in to a switch from the console when the shared console password and the shared enable password have both been set. Note that before this example began, the user started the terminal emulator, physically connected a laptop to the console cable, and then pre... |
Example 6-1 Console Login and Movement to Enable Mode |
(User now presses enter now to start the process. This line of text does not appear.) |
User Access Verification |
Password: faith |
Switch> enable |
Password: love |
Switch# |
Note that the example shows the password text as if typed (faith and love), along with the enable command that moves the user from user mode to enable mode. In reality, the switch hides the passwords when typed, to prevent someone from reading over your shoulder to see the passwords. |
To configure the shared passwords for the console, Telnet, and for enable mode, you need to configure several commands. However, the parameters of the commands can be pretty intui-tive. Figure 6-2 shows the configuration of all three of these passwords. |
The configuration for these three passwords does not require a lot of work. First, the console and vty password configuration sets the password based on the context: console mode for the console (line con 0), and vty line configuration mode for the Telnet password (line vty 0 15). Then inside console mode and vty mode,... |
password password-value: Defines the actual password used on the console or vty |
login: Tells IOS to enable the use of a simple shared password (with no username) on this line (console or vty), so that the switch asks the user for a password |
Answers to the “Do I Know This Already?” quiz: 1 B 2 A 3 B, C 4 A, D, F 5 B, C 6 A |
|||||||||||||||||||| Technet24 |
|||||||||||||||||||| |
Chapter 6: Configuring Basic Switch Management 131 |
Console |
line console 0 login |
password faith |
User Mode enable secret love (switch>) |
Enable Mode (switch#) |
line vty 0 15 login password hope |
Telnet (vty) |
Figure 6-2 Simple Password Security Configuration |
The configured enable password, shown on the right side of the figure, applies to all users, no matter whether they connect to user mode via the console, Telnet, or otherwise. The command to configure the enable password is a global configuration command: enable |
secret password-value. 6 |
NOTE Older IOS versions used the command enable password password-value to set the enable password, and that command still exists in IOS. However, the enable secret command is much more secure. In real networks, use enable secret. Chapter 5, “Securing Network Devices,” in the CCNA 200-301 Official Cert Guide, Volume... |
To help you follow the process, and for easier study later, use the configuration checklist before the example. The configuration checklist collects the required and optional steps to configure a feature as described in this book. The configuration checklist for shared pass-words for the console, Telnet, and enable pas... |
Config Checklist |
Step 1. Configure the enable password with the enable secret password-value command. |
Step 2. Configure the console password: |
A. Use the line con 0 command to enter console configuration mode. |
B. Use the password password-value subcommand to set the value of the console password. |
C. Use the login subcommand to enable console password security using a simple password. |
|||||||||||||||||||| |
|||||||||||||||||||| |
132 CCNA 200-301 Official Cert Guide, Volume 1 |
Step 3. Configure the Telnet (vty) password: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.