Protecting Access to Privileged EXEC Commands
•
•
Protecting Access to Privileged EXEC Commands
A simple way of providing terminal access control in your network is to use passwords and assign
privilege levels. Password protection restricts access to a network or network device. Privilege levels
define what commands users can enter after they have logged into a network device.
For complete syntax and usage information for the commands used in this section, see the Cisco IOS
Note
Security Command Reference, Release 12.4.
These sections contain this configuration information:
•
•
•
•
•
•
•
Default Password and Privilege Level Configuration
Table 1-1
Table 1-1
Default Password and Privilege Levels
Feature
Enable password and privilege level
Enable secret password and privilege level
Line password
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
1-2
If you want to use username and password pairs, but you want to store them centrally on a server
instead of locally, you can store them in a database on a security server. Multiple networking devices
can then use the same database to obtain user authentication (and, if necessary, authorization)
information. For more information, see the
page
1-10.
You can also enable the login enhancements feature, which logs both failed and unsuccessful login
attempts. Login enhancements can also be configured to block future login attempts after a set
number of unsuccessful attempts are made. For more information, see the Cisco IOS Login
Enhancements documentation:
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gt_login.html
Default Password and Privilege Level Configuration, page 1-2
Setting or Changing a Static Enable Password, page 1-3
Protecting Enable and Enable Secret Passwords with Encryption, page 1-3
Disabling Password Recovery, page 1-5
Setting a Telnet Password for a Terminal Line, page 1-6
Configuring Username and Password Pairs, page 1-6
Configuring Multiple Privilege Levels, page 1-7
shows the default password and privilege level configuration.
Default Setting
No password is defined. The default is level 15 (privileged EXEC level).
The password is not encrypted in the configuration file.
No password is defined. The default is level 15 (privileged EXEC level).
The password is encrypted before it is written to the configuration file.
No password is defined.
Chapter 1
Configuring Switch-Based Authentication
"Controlling Switch Access with TACACS+" section on
OL-25303-03