CCIE study group

This is a study group forum for the CCIE exam. Please register to see all forum topic and use all forum features.

Who is online?

In total there are 4 users online :: 0 Registered, 0 Hidden and 4 Guests

None


[ View the whole list ]


Most users ever online was 67 on Tue 6 Jul 2010 - 22:45

October 2014

MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar

Statistics

Our users have posted a total of 489 messages in 185 subjects

We have 288 registered users

The newest registered user is otepdgreat

    Telnet to a specific vty line

    Share

    Maarten
    Board General
    Board General

    Posts: 299
    Join date: 2009-07-27
    Age: 32
    Location: Hillegom

    Telnet to a specific vty line

    Post by Maarten on Mon 29 Mar 2010 - 10:43

    It is possible to telnet to a specific vty line. For example, if you need specific settings to apply to a vty line. You can be confident that you will be in this vty line.
    You can do this by turning on rotary group on the vty line on. With Rotary, you can create a kind of group for your vty lines so you can place the same group number. For example you can add one rotay group for 2 vty lins and telnet to that group will be divided over those two vty lines.
    Code:

    line vty 6
     no exec-banner
     privilege level 15
     no login
     rotary 1
    !

    You can telnet to the port 3000+the rotary group number. In this case 3001
    You can also use more vty line for the same rotary group to balance between those vty line and permit more telnet sessions.
    Code:

    Router(config-line)# rotary 1 ?
      queued      Queue when rotary group full
      round-robin  Round robin selection of rotary lines
    !
    Code:

    line vty 6 7
     no exec-banner
     privilege level 15
     no login
     rotary 1
    !
    What Some labs may ask you is to telnet to a specific vty line and automaticly goes to another router. This can be done with auto command. When the user telnets to the specific rotary groep the auto command in that grope is telnet to that specific router
    Router(config-line)#autocommand telnet 172.16.14.1
    You can use the option no-hangup so the session won't be disconnected after the command is executed.
    Code:

    Router(config-line)#autocommand-options ?
      abort-character  Autocommand abort character
      delay            Delay autocommand execution
      nohangup        No hangup after autocommand completion
      <cr>
    Code:

    line vty 6 7
     no exec-banner
     privilege level 15
     no login
     rotary 1
     autocommand  telnet 172.16.14.1
     autocommand-options nohangup
    !

      Current date/time is Fri 24 Oct 2014 - 18:59