Purpose
Command or Action
Enters line configuration mode, and configures the console port (line
0) or the VTY lines (line 0 to 15).
Use one of the following:
Step 4
•
line console 0
•
line vty 0 15
Example:
Switch(config)#
line console 0
or
Switch(config)#
line vty 15
Enables local password checking at login time. Authentication is
based on the username specified in Step 3.
login local
Example:
Switch(config-line)#
login local
Step 5
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 6
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 7
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 8
startup-config
Related Topics
Preventing Unauthorized Access, on page 753
Username and Password Pairs, on page 757
Setting the Privilege Level for a Command
Follow these steps to set the privilege level for a command:
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
767
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: ......