From: Dhana (sakthi_vel23@xxxxxxxxxxxxxx)
Date: Thu May 10 2001 - 07:42:06 GMT-3
Hai,
Text displays the menu options and the line no has to match with command line n
os. Make sure that you give way out from the menu loop by using "menu-exit" com
mand.
menu robert text 1 config
menu robert text 2 int-e0
menu robert text 3 shut
menu robert text 4 Exit
menu robert command 1 config terminal
menu robert command 2 interface ethernet 0/0
menu robert command 3 shut
menu robert command 4 menu-exit
Hope this helps
Regards
Sakthi
------------- Original Message --------------
"McCallum, Robert" <Robert.McCallum@let-it-be-thus.com> wrote:
To:"'Ccielab' (E-mail)" <ccielab@groupstudy.com>,
"Cisco@Groupstudy.
Com (E-mail)" <cisco@groupstudy.com>
From:"McCallum, Robert" <Robert.McCallum@let-it-be-thus.com>
Date:Thu, 10 May 2001 10:37:40 +0100
Subject:Menus
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