09-24-2015 10:26 AM - edited 03-08-2019 01:55 AM
Hello Guys,
I would like to know how can I config line console in a switch Cisco WS-C2960X.
I tried this config below but I could not set up.
router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. router(config)#line con 0 router(config-line)# router(config-line)#password letmein router(config-line)#login
This is my switch when I try config.
STK-2960-B(config-line)#login ?
authentication Authentication parameters.
STK-2960-B(config-line)#login
% Incomplete command.
line con 0
privilege level 15
logging synchronous
login authentication console
Solved! Go to Solution.
09-24-2015 11:10 AM
Hi,
the authentication methods for the switch lines depend on the (global) aaa model (authentication, authorization and accounting):
Sw1(config)#no aaa new-model
Sw1(config)#line vty 0 15
Sw1(config-line)#login ?
local Local password checking
tacacs Use tacacs server for password checking
<cr>
Sw1(config)#aaa new-model
Sw1(config)#line vty 0 15
Sw1(config-line)#login ?
authentication Authentication parameters.
ctrlc-disable Disable CONTROL-C during login.
Sw1(config-line)#login authentication ?
WORD Use an authentication list with this name.
default Use the default authentication list.
Sw1(config-line)#login authentication default ?
<cr>
Link: cat2960X - Controlling Switch Access with Passwords and Privilege Levels
HTH
Rolf
09-24-2015 11:10 AM
Hi,
the authentication methods for the switch lines depend on the (global) aaa model (authentication, authorization and accounting):
Sw1(config)#no aaa new-model
Sw1(config)#line vty 0 15
Sw1(config-line)#login ?
local Local password checking
tacacs Use tacacs server for password checking
<cr>
Sw1(config)#aaa new-model
Sw1(config)#line vty 0 15
Sw1(config-line)#login ?
authentication Authentication parameters.
ctrlc-disable Disable CONTROL-C during login.
Sw1(config-line)#login authentication ?
WORD Use an authentication list with this name.
default Use the default authentication list.
Sw1(config-line)#login authentication default ?
<cr>
Link: cat2960X - Controlling Switch Access with Passwords and Privilege Levels
HTH
Rolf
09-25-2015 12:58 AM
Hi,
Apart from what Rofl Suggested, Have a look on the below link for more information...
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_53_se/configuration/guide/2960scg/swauthen.html
Hope It Helps..
-GI
Rate if it Helps..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide