PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Selects the virtual terminal line on which to restrict access.
line vty line
Example:
Switch(config)# line vty 10
Step 3
Changes the default privilege level for the line.
privilege level level
Step 4
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 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
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 757
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.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
770
How to Control Switch Access with Passwords and Privilege Levels