cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
529
Views
0
Helpful
1
Replies

VTY Lines

zekebashi
Level 4
Level 4

Hello, 

I encountered an interesting behavior on the Cat 3550 switches. First, I configured the vty 0 4 and vty 5 15 with transport input telnet and when I issued the sh run command this is the output I received(what you'd expect to see): 

sw1#sh run | be line vty 
line vty 0 4
 transport input telnet
line vty 5 15
 transport input telnet

 

Next, I wanted to add ssh as the transport input, so I configured the vtys as follows: 

sw1# config t

sw1(config)# line vty 0 4 

sw1(config-line)#transport input all 

 

And, when I issued the show run command, the vty 0 4 is no longer displayed! My question is, why does the line vty disappear when I use the transport input all command? 


sw1#sh run | be line vty    
line vty 5 15
 transport input telnet
!
end

 

Thanks in advance. 

Best, ~zK 

 

1 Reply 1

Leo Laohoo
Hall of Fame
Hall of Fame

Duplicate post. 


Go HERE.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco