Cisco Systems WSC4500X24XIPB Switch User Manual


 
3-13
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 3 Configuring the Switch for the First Time
Controlling Access to Privileged EXEC Commands
ip default-gateway 172.20.52.35
ip classless
ip route 171.20.5.3 255.255.255.255 Vlan1
no ip http server
!
!
x25 host z
!
line con 0
transport input none
line vty 0 4
exec-timeout 0 0
password lab
login
transport input lat pad dsipcon mop telnet rlogin udptn nasi
!
end
Switch#
Controlling Access to Privileged EXEC Commands
The procedures in these sections let you control access to the system configuration file and privileged
EXEC commands:
Setting or Changing a Static enable Password, page 3-13
Using the enable password and enable secret Commands, page 3-14
Setting or Changing a Privileged Password, page 3-14
Setting TACACS+ Password Protection for Privileged EXEC Mode, page 3-15
Encrypting Passwords, page 3-15
Configuring Multiple Privilege Levels, page 3-16
Setting or Changing a Static enable Password
To set or change a static password that controls access to the enable mode, perform this task:
This example shows how to configure an enable password as “lab” at the privileged EXEC mode:
Switch# configure terminal
Switch(config)# enable password lab
Switch(config)#
For instructions on how to display the password or access level configuration, see the “Displaying the
Password, Access Level, and Privilege Level Configuration” section on page 3-17.
Command Purpose
Switch(config)# enable password
password
Sets a new password or changes an existing
password for the privileged EXEC mode.