• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Tech Factors

All about your IT needs

  • Blog
  • About
  • Misc
  • Contact Us
You are here: Home / Cisco / Setup Console, VTY, Auxiliary Port Passwords On Cisco Switch

Setup Console, VTY, Auxiliary Port Passwords On Cisco Switch

March 13, 2016 by virdih

Follow the below commands to configure Console, VTY and Auxiliary port passwords on a Cisco Switch:

Line Console Password

Console port is used to access the switch using a console port.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line con
Switch(config)#line console 0
Switch(config-line)#password ABCD
Switch(config-line)#login
Switch(config-line)#exit

Telnet Password Virtual Terminal (VTY)

VTY is virtual terminal line which controls inbound telnet sessions or connections. When we configure “line vty 0 4” command it means we are allowing only 5 remote simultaneous connections to the switch.
 Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line vty 0 4
Switch(config-line)#password ABCD
Switch(config-line)#login
Switch(config-line)#end
Switch#

Auxiliary Port Password

Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#line aux 0
Switch(config-line)#password ABCD
Switch(config-line)#login
Switch(config-line)#end
Switch#

Filed Under: Cisco, Networking Tagged With: thetechfactors

Primary Sidebar

Calendar

June 2025
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930  
« Jan    

Archives

Featured Post

Adding a host to vCenter Server fails

January 9, 2021 By virdih

In case you find some issues while adding a VMWARE ESXi host to vCenter Server and you get an error message “A General System error Occurred” or “vim.fault.NoPermission”. This issue occurs by inconsistent authorization setup on the ESXi Host. The name of this authorization file is “authorization.xml” and located at /etc/vmware/hostd You can follow the […]

© 2016 | The Tech Factors
Sitemap