• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Selecting a VTY line when using telnet

AlexMc

Member
On a Cisco router it is possible to set different passwords for each of your VTY lines. When using telnet how would you select which of the VTY lines you wish to use to establish the connection?
 
login to your router:
'en'
'password'
'conf t'
'line vty <#1> <#2>' where #1 is the 1st line #, #2 last line #
'password 0 <password>'
'ctrl+c'
'copy run start'


rtr-gancr-1-gcore(config)#line vty ?
<0-1869> First Line number

rtr-gancr-1-gcore(config)#line vty 1 ?
<2-1869> Last Line number
<cr>


line vty 0 4
session-timeout 30
access-class 1 in
password 7 asdfasdfasdf
login
transport preferred none
transport input telnet
line vty 5 15
session-timeout 30
access-class 1 in
password 7 ertertertert
login
transport preferred none
transport input telnet
!
 
Back
Top