Menus

From: McCallum, Robert (Robert.McCallum@xxxxxxxxxxxxxxxxxx)
Date: Thu May 10 2001 - 06:37:40 GMT-3


   
Hi,

Does anyone know how to configure a menu such that by pressing key 1 it will
do various commands i.e.

menu robert text 1 Press key 1 to shut ehternet interface down
menu robert command 1 conf t

then when you put in more menu robert command 1 they just overwrite each
other.

What I need to do is
menu robert command 1 config terminal
menu robert command 1 interface ethernet 0/0
menu robert command 1 shut
menu robert command 1 exit

BUT the only command which is showing is the last menu robert command 1
exit.

I have tried to do menu robert command 1 conf t int e0/0 shut exit

but of course it errors as expected saying that there is no more commands
after conf t i.e. when you normally type the command in.

Any help much appreciated.

Robert McCallum
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:30:38 GMT-3