cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
196
Views
1
Helpful
3
Replies

Which protocol is enabled if nothing is mentioned

zeljkosan
Level 1
Level 1

Hello guys, many thanks for help from you.

 

Quick question, if we have this in config:

line vty 0
exec-timeout 5 0
password somenthin
logging synchronous
login
length 0
line vty 1 4
exec-timeout 5 0
password somenthin
logging synchronous
login
line vty 5 15
exec-timeout 5 0
password somenthin
logging synchronous
login

 

Will both ssh and telnet work ? If nothing is mentioned, which protocol is allowed?

Br

2 Accepted Solutions

Accepted Solutions

@zeljkosan hi, be default devices using below command. so all protocols which supported by device will be enabled.

'transport input all'

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

View solution in original post

Jens Albrecht
Level 3
Level 3

Hello @zeljkosan,

you can check the default settings that are normally not displayed using the command "show run all" and apply the usual filters as needed. As an example the command "show run all | sec line vty" will display all settings on your VTY lines including the defaults.

On older software versions the default used to be 'transport input all' but newer versions now have a default of 'transport input telnet ssh' because Cisco removed the old legacy protocols like rlogin, mop or decnet due to security concerns.

Nevertheless, you can use telnet and ssh by default but turning off telnet is strongly recommended, of course.

HTH!

View solution in original post

3 Replies 3

@zeljkosan hi, be default devices using below command. so all protocols which supported by device will be enabled.

'transport input all'

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Jens Albrecht
Level 3
Level 3

Hello @zeljkosan,

you can check the default settings that are normally not displayed using the command "show run all" and apply the usual filters as needed. As an example the command "show run all | sec line vty" will display all settings on your VTY lines including the defaults.

On older software versions the default used to be 'transport input all' but newer versions now have a default of 'transport input telnet ssh' because Cisco removed the old legacy protocols like rlogin, mop or decnet due to security concerns.

Nevertheless, you can use telnet and ssh by default but turning off telnet is strongly recommended, of course.

HTH!

zeljkosan
Level 1
Level 1

Hello Jens and Kasun, thanks for help. Br