Multiple autocommands for a user

From: dagbo (goddardtek@nc.rr.com)
Date: Thu Mar 15 2007 - 13:06:14 ART


Hello group,

  is there anyway to have a local user account configured to do more than one
single command upon logging in? My only other idea would be to offer a menu
that allows for the different commands. For example, I'd like for when user
dave logs in, to have the following commands be executed:

show start
show cdp neighbors
show interfaces

and then exit user dave back out of the device.

If I do this:

username dave pass cisco
username dave autocommand show start
username dave autocommand show ver

the "show ver" config overwrites the "show start" command. Any idea's?

thanks,
Dave



This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:51 ART