Purpose
Command 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
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......