Avaya Writing Technician Interface Scripts Manuale Utente Pagina 47

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 116
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 46
Command Reference
308660-14.00 Rev 00
2-17
Example 2
The following example is an excerpt from a script file showing how to use the
instenv command.
instenv ip_ wfIpInterfaceEntry
echo “Size of array :{ip_[0]}”
let i = 1
:LOOP:
if $i > ${ip_[0]} then; goto :DONE:
setenv ipstate wfIpInterfaceEntry.wfIpInterfaceState.${ip_[$i]}
setenv ipaddr wfIpInterfaceEntry.wfIpInterfaceAddr.${ip_[$i]}
echo “$i: IP Address: $($ipaddr) State: $($ipstate)”
let i = $i + 1
goto :LOOP:
:DONE:
Vedere la pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 115 116

Commenti su questo manuale

Nessun commento