Options

telnet question

kafifi13kafifi13 Member Posts: 259
Quick question. I'm trying to remove the VTY lines 0 4 and 5 15 on my home lab and everytime i do i get the following message:

% Can't delete last 16 VTY lines

Are these hard coded? Can i not remove all of my VTY lines and set them up from scratch? Or can this only be done if i erase the entire config which I don't want to do.

Comments

  • Options
    redwarriorredwarrior Member Posts: 285
    Why do you want to delete the actual lines? Why not just clear the configuration you have on them? I'm confused...why do you hate telnet? icon_sad.gif Telnet likes you!

    CCNP Progress

    ONT, ISCW, BCMSN - DONE

    BSCI - In Progress

    http://www.redwarriornet.com/ <--My Cisco Blog
  • Options
    kafifi13kafifi13 Member Posts: 259
    redwarrior wrote: »
    Why do you want to delete the actual lines? Why not just clear the configuration you have on them? I'm confused...why do you hate telnet? icon_sad.gif Telnet likes you!

    The reason is when i first set this up i set it u with

    line vty 0 4
    transport input ssh

    line vty 5 15
    transport input ssh

    then decided to change it to Telnet

    I config:

    line vty 0 4
    transport input telnet

    line vty 5 15
    transport input telnet

    did a show run and it displayed that i had

    line vty 0 4

    line vty 5 14

    and

    line vty 15?!?!

    I thought maybe i mistyped something

    now i want to go back and do transport input ssh

    and i'm getting

    line vty 0 3
    line vty 4
    line vty 5 13
    line vty 14
    line vty 15
  • Options
    redwarriorredwarrior Member Posts: 285
    I think I've seen this before and if you just reconfigure it the way you want, the lines should cluster back. I saw on a switch where someone had typed in separately:

    line vty 0 4
    <config>
    Line vty 5
    <config>
    line vty 6 15
    <config>

    When I typed in my config like so:

    line vty 0 4
    <config>
    line vty 5 15
    <config>

    When I did a show run, it came back to having lines 04 together and lines 5 15 together. I'm really not sure why you would want to have the ability to configure each different connection differently, but I guess flexibility is the name of the game?

    CCNP Progress

    ONT, ISCW, BCMSN - DONE

    BSCI - In Progress

    http://www.redwarriornet.com/ <--My Cisco Blog
  • Options
    kafifi13kafifi13 Member Posts: 259
    I tried doing that and still having issues. Been looking online and can't find any info on it. Kind of weird. I even tried removing all the configs from each line. Real strange.
Sign In or Register to comment.