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... the show line command displays VTY numbers 322 to 326 on a 2800 router:
password test
logging synchronous
login
a1#show lineSimilarly, the show users command displays the same VTY numbers:
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
a1#show usersHowever, the clear line command does not like the numbers provided in the show users printout.
Line User Host(s) Idle
* 0 con 0 idle 00:00:00
vty 322 idle never
vty 323 idle never
a1#clear line vty 322
% 322 is an illegal line number [OK]
a1#clear line vty 0
[confirm]
[OK]
4 comments: