Avaya Writing Technician Interface Scripts Manuel d'utilisateur Page 47

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 116
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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:
Vue de la page 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 115 116

Commentaires sur ces manuels

Pas de commentaire