cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4175
Views
0
Helpful
2
Replies

Multiple commands in autocommand or menu

vaniello
Level 1
Level 1

On a Cisco router is it possible to execute multiple commands using the

autocommand username option?

Is it possible to execute multiple commands from a menu?

V/

2 Replies 2

Not applicable

username name [autocommand command]

Specifies a command to be issued automatically after the user logs in. When the command is complete, the session is terminated. Because the command can be any length and contain embedded spaces, commands using the autocommand keyword must be the last option on the line.

For more information : http://www.cisco.com/univercd/cc/td/doc/product/atm/c8540/12_1/11_ey/command/u.htm

Autocommand only supports a single command. I need to execute multiple commands. IOS 12.3T supports TCl scripting, but so far it seems to buggy to be useful.

V/