autocommand and nohangup

From: AK Singh (singh.anand@gmail.com)
Date: Wed Nov 03 2004 - 06:11:04 GMT-3


Hi All,

I know i had it working in past. How to configure for the autocommand
so that after the command is executed we are not thrown out from
router, instead we are left logged in. I am using "no hangup" option
but that is not working and router asks again for

password/usernae.See below:

R2#sh running-config | inc user
username bb2 nohangup password 7 011F0706
username bb2 autocommand sh ip route
R2#

When otherrouter logs in:

8-BB2#telnet 192.10.1.2
Trying 192.10.1.2 ... Open

User Access Verification

Username: bb2
Password:
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is 129.1.17.7 to network 0.0.0.0

B 119.0.0.0/8 [200/0] via 129.1.124.4, 04:45:16
B 118.0.0.0/8 [200/0] via 129.1.124.4, 04:45:16
...
B* 0.0.0.0/0 [200/0] via 129.1.17.7, 1d00h

User Access Verification

Username:
% Username: timeout expired!

how to make sure that we are logged in after command is executed.

Thanks
-Anand



This archive was generated by hypermail 2.1.4 : Thu Dec 02 2004 - 06:57:37 GMT-3