text stringlengths 0 6.55k |
|---|
User Mode (switch>) |
Telnet (vty) |
line console 0 login local password faith |
username wendell secret odom username chris secret youdda |
line vty 0 15 login local password hope |
Figure 6-3 Configuring Switches to Use Local Username Login Authentication |
Working through the configuration in the figure, first, the switch of course needs to know the list of username/password pairs. To create these, repeatedly use the username name secret password global configuration command. Then, to enable this different type of con-sole or Telnet security, simply enable this login sec... |
The following checklist details the commands to configure local username login, mainly as a method for easier study and review: |
Config Checklist |
Step 1. Use the username name secret password global configuration command to add one or more username/password pairs on the local switch. |
Step 2. Configure the console to use locally configured username/password pairs: |
A. Use the line con 0 command to enter console configuration mode. |
B. Use the login local subcommand to enable the console to prompt for both username and password, checked versus the list of local usernames/pass- |
words. |
C. (Optional) Use the no password subcommand to remove any existing sim-ple shared passwords, just for good housekeeping of the configuration file. |
Step 3. Configure Telnet (vty) to use locally configured username/password pairs. |
A. Use the line vty 0 15 command to enter vty configuration mode for all 16 vty lines (numbered 0 through 15). |
B. Use the login local subcommand to enable the switch to prompt for both username and password for all inbound Telnet users, checked versus the list of local usernames/passwords. |
C. (Optional) Use the no password subcommand to remove any existing sim-ple shared passwords, just for good housekeeping of the configuration file. |
|||||||||||||||||||| Technet24 |
|||||||||||||||||||| |
Chapter 6: Configuring Basic Switch Management 135 |
When a Telnet user connects to the switch configured as shown in Figure 6-3, the user will be prompted first for a username and then for a password, as shown in Example 6-4. The username/password pair must be from the list of local usernames; otherwise, the login is rejected. |
Example 6-4 Telnet Login Process After Applying Configuration in Figure 6-3 |
SW2# telnet 10.9.9.19 |
Trying 10.9.9.19 ... Open |
User Access Verification |
Username: wendell |
Password: |
SW1> enable |
Password: |
SW1# configure terminal |
Enter configuration commands, one per line. End with CNTL/Z. |
SW1(config)#^Z 6 SW1# |
*Mar 1 02:00:56.229: %SYS-5-CONFIG_I: Configured from console by wendell on vty0 (10.9.9.19) |
NOTE Example 6-4 does not show the password value as having been typed because Cisco switches do not display the typed password for security reasons. |
Securing User Mode Access with External Authentication Servers The end of Example 6-4 points out one of the many security improvements when requiring each user to log in with their own username. The end of the example shows the user enter-ing configuration mode (configure terminal) and then immediately leaving (end). N... |
when a user exits configuration mode, the switch generates a log message. If the user logged in with a username, the log message identifies that username; note the “wendell” in the log message. |
However, using a username/password configured directly on the switch causes some admin-istrative headaches. For instance, every switch and router needs the configuration for all users who might need to log in to the devices. Then, when any changes need to happen, like an occasional change to the passwords for good secu... |
A better option would be to use tools like those used for many other IT login functions. Those tools allow for a central place to securely store all username/password pairs, with tools to make users change their passwords regularly, tools to revoke users when they leave their current jobs, and so on. |
|||||||||||||||||||| |
|||||||||||||||||||| |
136 CCNA 200-301 Official Cert Guide, Volume 1 |
Cisco switches allow exactly that option using an external server called an authentication, authorization, and accounting (AAA) server. These servers hold the usernames/passwords. Typically, these servers allow users to do self-service and forced maintenance to their pass-words. Many production networks use AAA servers... |
The underlying login process requires some additional work on the part of the switch for each user login, but once set up, the username/password administration is much less. When using a AAA server for authentication, the switch (or router) simply sends a message to the AAA server asking whether the username and passwo... |
1 Login: wendell/odom 2 Login: wendell/odom |
A |
SW1 S1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.