Avaya Writing Technician Interface Scripts Bedienungsanleitung Seite 75

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 74
308660-14.00 Rev 00
A-1
Appendix A
Sample Scripts
To help you create your own scripts, this appendix contains three sample scripts:
Menu script
FDDI.mnu script
FDDI.bat script
Menu Script
The following example shows a menu script for a Nortel Networks router:
:MENU:
on error :MENU:
echo “”
echo “Simple Menu Example”
echo “”
echo “1. Display Time and Date”
echo “2. Display TFTP default volume”
echo “3. Set TFTP default volume”
echo “4. Quit”
echo “”
setenv ans “$<Enter selection: >”
if “$ans ” = “” then; \
goto :MENU:
if $ans = 1 then; \
date ; \
echo “” ; \
goto :MENU:
if $ans = 2 then ;\
let vol=$(wfTftp.wfTftpDefaultVolume.0);\
echo “Tftp Default Volume:$vol”;\
goto :MENU:
if $ans = 3 then ;\
let vol=$<Enter new TFTP Default Value #: >;\
set wfTftp.wfTftpDefaultVolume.0 $vol;\
go to :MENU:
Seitenansicht 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 115 116

Kommentare zu diesen Handbüchern

Keine Kommentare