DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Selects the virtual terminal line on which to restrict access.
line vty line
Example:
Switch(config)#
line vty 10
Step 2
Changes the default privilege level for the line.
privilege level level
Step 3
Example:
Switch(config)#
privilege level 15
For
level
, the range is from 0 to 15. Level 1 is for normal user
EXEC mode privileges. Level 15 is the level of access permitted
by the
enable
password.
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 4
What to Do Next
Users can override the privilege level you set using the
privilege level
line configuration command by logging
in to the line and enabling a different privilege level. They can lower the privilege level by using the
disable
command. If users know the password to a higher privilege level, they can use that password to enable the
higher privilege level. You might specify a high level or privilege level for your console line to restrict line
usage.
Related Topics
Privilege Levels, on page 24
Logging into and Exiting a Privilege Level
Beginning in user EXEC mode, follow these steps to log into a specified privilege level and exit a specified
privilege level.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29434-01
33
Controlling Switch Access with Passwords and Privilege Levels
Logging into and Exiting a Privilege Level