Prepare a cisco switch for telnet/ssh access (telnet access line vty 0 15)
Everytime i have to prepare a cisco switch for telnet or ssh access i wondering, what i really need to
configure proper. It’s a simple thing, but when you need this rarely, i always ‘trial and error’ and this
gets me to be aggressive.
So i decide to write a short compilation to fresh up my mind as needed.
First i will give a preface over the 3 kinds of access on a Catalyst 3560
Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(58)SE5, RELEASE SOFTWARE (fc1)
Nothing is configured for telnet
the following lists 3 cases/types – Cat3560(config)#line vty 0 15
- without ‘login’(#no login) there is no chance to access the switch via telnet.
The command prompt output is “Password required, but none set. You must set an enable password to access the switch
- with ‘login’ there must be set a password. After that the enable password is required
- with ‘login local’ a local user is required to grand access
In order to play through above-named cases, prepare the switch at ‘line vty 0 15′
for the preconfigure.