cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1235
Views
0
Helpful
9
Replies

How to merge vty?

ThisIsLoai
Level 1
Level 1

Hello there,

while configuring vty I have chose vty 0 4 then vty 5 15 then vty 5 6.

Here's what I got in my config file:

 

line vty 0

password 7 083540

no login

transport input ssh

line vty 1 4

password 7 082D4342

no login

transport input ssh

line vty 5 6

password 7 082D4342

no login

transport input ssh

line vty 7 15

no login

transport input ssh

 

How to delete vty? or how to merge them together?

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

@ThisIsLoai wrote:

while configuring vty I have chose vty 0 4 then vty 5 15 then vty 5 6.


conf t
 line vty 0 15
 password YIPEE!
end

View solution in original post

9 Replies 9

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

You can't delete the VTY lines.

 

HTH

I see

Leo Laohoo
Hall of Fame
Hall of Fame

@ThisIsLoai wrote:

while configuring vty I have chose vty 0 4 then vty 5 15 then vty 5 6.


conf t
 line vty 0 15
 password YIPEE!
end

Thanks, Leo.

what's the explanation? 


@ThisIsLoai wrote:

what's the explanation? 


Explanation is simple:  RTFM

I learnt that when I was studying CCNA.  It is the first set of "instructions" in books, courses and CBT.  

lol, I DO READ the TFM. it's not mentioned!
I'v took CCNA1 & i'm studying CCNA2 on netacad.com 

I have not come across those kind of configurations.


@ThisIsLoai wrote:

it's not mentioned!


Oh geez!  Seriously, they never mentioned this is netacad?  WTF.  

Yes they mentioned it (general concept n how to configure it) but not the point i asked !!

cuz i try to get hands-on i get confused sometimes n start to wonder n to ask more questions like hows ,ifs, and buts.

It's not a guarantee, but once you "know" a bit about how commands in an environment work, if something isn't directly documented, try doing what appears "logical" within that environment.

In this case, for example, you already should know you can configure VTY either using a specific line number or a range of line numbers.  So, since you wanted to "merge" VTY lines 0 15, using a command using "VTY 0 15" might be part of "the trick", as also might (unsure it's supported for VTYs), something like "default VTY 0 15" before you further configure them.

Review Cisco Networking for a $25 gift card