Professional Documents
Culture Documents
Jacob Network Telnet Access Line Vty 0 15 - Telnet SSH Access PDF
Jacob Network Telnet Access Line Vty 0 15 - Telnet SSH Access PDF
Preface Contact Feedback Site Map Home » Basics » telnet access line vty 0 15
up-to-date?
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.
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)
Cat3560(con g-line)#login ?
1. 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
2. with ‘login’ there must be set a password. After that the enable password is required
3. 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.
activate transport
Cat3560#conf t
Cat3560(config)#line vty 0 15
Cat3560(config-line)#transport input ?
all All protocols
none No protocols
telnet TCP/IP Telnet protocol
We choose the option ‘all’. With telnet – only ‘telnet’ is allowed. With ‘all’ ssh and telnet is allowed.
With ‘none’ – telnet and ssh is deactivated.
jacob-network.com/1508/telnet-access-line-vty-0-15 1/5
3/6/2020 Jacob Network telnet access line vty 0 15- telnet ssh access
Cat3560(config)#crypto key generate rsa
% Please define a domain-name first.
Cat3560(config)#ip domain-name telnet.com
Cat3560(config)#crypto key generate rsa
The name for the keys will be: Cat3560.telnet.com
Choose the size of the key modulus in the range of 360 to 4096 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
ip address vlan 1
Cat3560(config)#
Cat3560(config)#int vlan1
Cat3560(config-if)#ip address 10.10.10.10 255.255.255.0
Cat3560(config-if)#no shut
Cat3560(config-if)#
Case 1.
Case 1
Cat3560>en
% No password set
Cat3560>
Cat3560>en
Password: cisco456
Cat3560#
Case 2.
Case 2
Cat3560(config)#line vty 0 15
Cat3560(config-line)#login
% Login disabled on line 1, until ‘password’ is set
jacob-network.com/1508/telnet-access-line-vty-0-15 2/5
3/6/2020 Jacob Network telnet access line vty 0 15- telnet ssh access
% Login disabled on line 2, until ‘password’ is set
% Login disabled on line 3, until ‘password’ is set
% Login disabled on line 4, until ‘password’ is set
% Login disabled on line 5, until ‘password’ is set
% Login disabled on line 6, until ‘password’ is set
% Login disabled on line 7, until ‘password’ is set
% Login disabled on line 8, until ‘password’ is set
% Login disabled on line 9, until ‘password’ is set
% Login disabled on line 10, until ‘password’ is set
% Login disabled on line 11, until ‘password’ is set
% Login disabled on line 12, until ‘password’ is set
% Login disabled on line 13, until ‘password’ is set
% Login disabled on line 14, until ‘password’ is set
% Login disabled on line 15, until ‘password’ is set
% Login disabled on line 16, until ‘password’ is set
Cat3560(config-line)#password cisco123
Cat3560(config-line)#
Password: cisco123
Cat3560>en
Password: cisco456
Cat3560#
Cat3560#
Cat3560#
Case 3.
Case 3
Cat3560(config-line)#
Cat3560(config-line)#login local
Cat3560(config-line)#
Username:
% Username: timeout expired!
Username: something
Password:
% Login invalid
Username:
Cat3560(config)#
Cat3560(config)#username cisco privilege 15 password cisco678
Cat3560(config)#
Username: cisco
Password: cisco678
Cat3560#
Cat3560#
Cat3560#
jacob-network.com/1508/telnet-access-line-vty-0-15 3/5
3/6/2020 Jacob Network telnet access line vty 0 15- telnet ssh access
Social Share
2 Comments
Woah! I’m really enojying the template/theme of this blog. It’s simple, yet effective. A lot of times it’s challenging to get that perfect balance between
usability and visual appeal. I must say you’ve done a superb job with this. Also, the blog loads very quick for me on Chrome. Outstanding Blog!
Leave a Reply
Name *
Email *
Website
Anti-Spam *
Post Comment
jacob-network.com/1508/telnet-access-line-vty-0-15 4/5
3/6/2020 Jacob Network telnet access line vty 0 15- telnet ssh access
March 2013
February 2013
January 2013
jacob-network.com/1508/telnet-access-line-vty-0-15 5/5