From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Mon Aug 21 2006 - 16:07:22 ART
Hi Faryar
Does this works?
ROUTER(config)#username cisco password cisco
ROUTER(config)#username cisco privilege 4 
ROUTER(config)#username cisco autocommand show ip int brief 
ROUTER(config)#line vty 0 4
ROUTER(config-line)#login local
ROUTER(config-line)#length ?
  <0-512>  Number of lines on screen (0 for no pausing)
ROUTER(config-line)#length 0
ROUTER(config-line)#^Z
ROUTER#
*Mar  1 04:32:15.065: %SYS-5-CONFIG_I: Configured from console by console
ROUTER#telnet 150.1.5.5
Trying 150.1.5.5 ... Open
User Access Verification
Username: cisco
Password: 
Interface                  IP-Address      OK? Method Status
Protocol
Ethernet0/0                150.1.12.5    YES NVRAM  up                    up
Serial0/0                  150.1.13.1    YES NVRAM  up                    up
Serial0/1                  unassigned      YES NVRAM  administratively down
down    
Serial0/2                  unassigned      YES NVRAM  administratively down
down    
Loopback0                  150.1.5.5     YES NVRAM  up                    up
[Connection to 150.1.5.5 closed by foreign host]
ROUTER#
Regards
Victor.-
-----Mensaje original-----
De: nobody@groupstudy.com [mailto:nobody@groupstudy.com] En nombre de Faryar
Zabihi (fzabihi)
Enviado el: Lunes, 21 de Agosto de 2006 02:40 p.m.
Para: ccielab@groupstudy.com
Asunto: Telnet and priviledge levels
I am allowing telnet from R1 to R2 and user can only do "sh X" command(x
being whatever).
How do I terminate the telnet connection on completion of output from
that sh command?
TIA,
 Faryar 
This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:58 ART