cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8030
Views
5
Helpful
2
Replies

Which line vty is Currently using?

mgae2m400
Level 1
Level 1

 

Running configuration (Router 1841):


!

!

line con 0

login local

!

line aux 0

!

line vty 0

access-class 2 in

password 7 08731E1C

login

transport input telnet

line vty 1 4

access-class 2 in

login local

transport input telnet

line vty 5 15

access-class 2 in

password 7 08731E1C

login

transport input telnet

!

!

!

end


When I connecting the device with telnet, how can I found which line vty is currently using?

1 Accepted Solution

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

When I connecting the device with telnet, how can I found which line vty is currently using?

try this command:

show line

you should see something like this:

* 2 VTY - - - - - 8633 0 0/0 -
* 3 VTY - - - - - 15823 0 0/0 -

In this case VTY line 2 and 3 are being used.

HTH

View solution in original post

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

When I connecting the device with telnet, how can I found which line vty is currently using?

try this command:

show line

you should see something like this:

* 2 VTY - - - - - 8633 0 0/0 -
* 3 VTY - - - - - 15823 0 0/0 -

In this case VTY line 2 and 3 are being used.

HTH

Returns below↓

 

R1#show line

Tty Line Typ Tx/Rx A Roty AccO AccI Uses Noise Overruns Int

* 0 0 CTY - - - - 0 0 0/0 -

1 1 AUX 9600/9600 - - - - 0 0 0/0 -

* 194 194 VTY - - - 2 17 0 0/0 -

* 195 195 VTY - - - 2 23 0 0/0 -

* 196 196 VTY - - - 2 3 0 0/0 -

197 197 VTY - - - 2 0 0 0/0 -

198 198 VTY - - - 2 0 0 0/0 -

199 199 VTY - - - 2 0 0 0/0 -

200 200 VTY - - - 2 0 0 0/0 -

201 201 VTY - - - 2 0 0 0/0 -

202 202 VTY - - - 2 0 0 0/0 -

203 203 VTY - - - 2 0 0 0/0 -

204 204 VTY - - - 2 0 0 0/0 -

205 205 VTY - - - 2 0 0 0/0 -

206 206 VTY - - - 2 0 0 0/0 -

207 207 VTY - - - 2 0 0 0/0 -

208 208 VTY - - - 2 0 0 0/0 -

209 209 VTY - - - 2 0 0 0/0 -

Line(s) not in async mode -or- with no hardware support:

2-193

 

I case I have connected with 3 PCs by telnet.

 

This appropriated which line vty commands, in the running configuration. (first post)