Weird VTY numbers in IOS release 12.4T

Someone managed to scramble the VTY numbers displayed with the show users and show line commands in IOS release 12.4. The VTY numbers in the show printouts no longer correspond to the numbers in the router configuration.For example, using the "standard" configuration ...

line vty 0 4
password test
logging synchronous
login
... the show line command displays VTY numbers 322 to 326 on a 2800 router:
a1#show line
Tty Line Typ Tx/Rx A Modem Roty AccO AccI Uses
* 0 0 CTY - - - - - 0
1 1 AUX 9600/9600 - - - - - 0
322 322 VTY - - - - - 0
323 323 VTY - - - - - 0
324 324 VTY - - - - - 0
325 325 VTY - - - - - 0
326 326 VTY - - - - - 0
Similarly, the show users command displays the same VTY numbers:
a1#show users
Line User Host(s) Idle
* 0 con 0 idle 00:00:00
vty 322 idle never
vty 323 idle never
However, the clear line command does not like the numbers provided in the show users printout.
a1#clear line vty 322
% 322 is an illegal line number [OK]
a1#clear line vty 0
[confirm]
[OK]

4 comments:

  1. I need some assistance. I was editing my vty lines (0 4) and instead of typing "line vty 0 4" I just typed "line vty 4" and now I have two lots of vty configs - 0 to 3, and a separate 1 for 4. This is really annoying. Anyone know how to condense it back into a single "0 4" section?

    ReplyDelete
  2. Somehow this one slipped out of my Inbox. As soon as the VTY lines have identical configurations, they are merged. Change the configurations for VTY 1 and 4 back to what the others are using and you should be OK.

    ReplyDelete
  3. so what is the solution? because i encounter the same problem.

    ReplyDelete
  4. It's a bug. Open a case with Cisco TAC and request a fix.

    ReplyDelete

You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.

Ivan Pepelnjak, CCIE#1354, is the chief technology advisor for NIL Data Communications. He has been designing and implementing large-scale data communications networks as well as teaching and writing books about advanced technologies since 1990. See his full profile, contact him or follow @ioshints on Twitter.