Avaya Writing Technician Interface Scripts Manual do Utilizador Página 45

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 44
Command Reference
117382-A Rev. A 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:
Vista de página 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 115 116

Comentários a estes Manuais

Sem comentários