
Nota:
Quando si modifica l’indirizzo IP del Trap, il WebGate
memorizzerà immediatamente il valore appena selezionato. Tuttavia il
vecchio valore continuerà ad essere utilizzato finché ci sarà una
connessione SNMP attiva.
Valore di ritormo in scrittura:
Potrà verificarsi una di queste situazioni:
• Valore valido e nessuna connessione attiva: IP value updated!
• Valore valido e una o più connessioni attive: Valid for next connection!
Valore non valido: stirnga “bad value” o “syntax error”.
Valore di default:
255.255.255.255 (disabled)
Esempio consolle:
> TrapIPAddress=192.168.0.25
↵
IP value updated!
> TrapIPAddress
↵
192.168.0.25
> _
UpdateStatus
Descrizione
Lettura
Scrittura
Salvato
Restituisce il codice di errore dell’ultimo
riavvio dopo un aggiornamento
√
×
×
Questo comando restituisce una stringa che specifica l’errore
eventualmente verificatosi con l’ultimo riavvio o con l’ultimo tentativo di
aggiornamento del firmware.
Si noti che l’esistenza di un file di aggiornamento viene controllata ad
ogni riavvio del WebGate e non durante il suo normale funzionamento.
La procedura di aggiornamento è descritta al capitolo Aggiornamento
del firmware.
Sintassi:
UpdateStatus
Valore restituito:
• “Update file not found” se non è stato trovato alcun file. Questo
messaggio è del tutto normale. Non si tratta di un errore ma
semplicemente di un avviso che non è stato trovato alcun file di
aggiornamento. Si noti che, dopo ciascun aggiornamento andato a
buon fine, il file di aggiornamento utilizzato viene cancellato per
liberare spazio per i nuovi file utente.
• “Not a valid WebGate update file” o “Incompatible update file” quando
il file sembra essere quello di aggiornamento ma si dimostra non
adatto al WebGate. E’ possibile che abbiate caricato un file di
aggiornamento per un dispositivo diverso da WebGate.
• “Update file corrupted” quando il file è danneggiato. Contattate Carel
per ottenere un file integro.
Esempio consolle:
> UpdateStatus
↵
Update file not found (code -900)
> _
UserLevel
Descrizione
Lettura
Scrittura
Salvato
Ottiene/imposta il livello di accesso
di un utente
√
Guest
√
Visualizza o modifica il livello di accesso di un utente.
Si veda il capitolo Gestione Utenti per la descrizione del sistema di
gestione degli utenti.
Sintassi (lettura):
UserLevel(<index>)
Dove <index> rappresenta l’indice utente nella tabella utenti (0…5)
Valore restituito in lettura:
<level>
Dove <level> è un numero compreso nell’intervallo 0…249 che
individua il livello di accesso di un utente dato.
Note:
When you change Trap IP address, WebGate will immediately
store the value just selected. However, the old value will be used until a
SNMP connection is still active.
Returned value for write:
One of the following situations may occur:
• Valid value entered and no connections still active: IP value updated!
• Valid value entered and one or more connections still active:
Valid for next connection!
• Invalid value entered: “bad value” or “syntax error” string.
Default Value:
255.255.255.255 (disabled)
Console example:
> TrapIPAddress=192.168.0.25
↵
IP value updated!
> TrapIPAddress
↵
192.168.0.25
> _
UpdateStatus
Description
Read
Write
Saved
Return the last update error code
√
×
×
This command return a string specifying the error occurred (if any)
when the last reboot was performed and a firmware update was tried.
Please note that the existence of an updated file is checked at every
WebGate reboot, and not during normal operation. The update
procedure is described in chapter Firmware Upgrade.
Syntax:
UpdateStatus
Returned value:
• “Update file not found” if no file was found. This is the normal
behaviour and not an error, but simply an advise that no update file
was found. Furthermore, please note that after any successful
upgrade the used update file is deleted to free up some space for
new user files.
• “Not a valid WebGate update file” or “Incompatible update file” when
a file seems devised to upgrade but prove itself not adequate for
WebGate. You may have uploaded an update file for a different device
other than WebGate.
• “Update file corrupted” when the file is damaged. Contact Carel to
obtain a functional file.
Console example:
> UpdateStatus
↵
Update file not found (code -900)
> _
UserLevel
Description
Read
Write
Saved
Get/set the given access level
√
Guest
√
Displays or changes the access level of the given user.
Please see chapter User Management for a description of user
management system.
Syntax (read):
UserLevel(<index>)
Where <index> represents the user index in the users table (0…5)
Returned value for read:
<level>
Where <level> is a number in the range 0…249 indicating the access
level of the given user.
74
Manuale WebGate - cod. +030220230 rel. 1.0 - 16.09.2003