N-Tron 708M12 Switch User Manual


 
(Revised 2010-11-15) Page 135 of 156
CLI Commands, Continued…
Show or Set SNMP Configuration
Command Name
Snmp
Description
Show or set SNMP configuration. If no parameters are specified, this command will
show the SNMP configuration (same as -show parameter).
Syntax
snmp [-show] [-ro name] [-rw name] [-trap name]
Parameters
-show
Show configuration.
-ro name
Set the Authorized Community Name for SNMP Get requests.
-rw name
Set the Authorized Community Name for SNMP Set requests.
-trap name
Set the Authorized Community Name for SNMP Traps.
Examples
N-TRON/Admin> snmp ro users
IP Address - Trap Stn.#1 : Value Not Configured
IP Address - Trap Stn.#2 : Value Not Configured
IP Address - Trap Stn.#3 : Value Not Configured
IP Address - Trap Stn.#4 : Value Not Configured
IP Address - Trap Stn.#5 : Value Not Configured
Read-Only Community Name : users
Read-Write Community Name : private
Trap Community Name : public
Changes have been made that have not been saved.
NOTES
Community names may only contain alphanumeric, space, ‗-‗, ‗_‘, and ‗#‘ characters,
and may not begin with a number, space, or underscore. A name with embedded space
characters must be enclosed in quotes. The maximum length is 15 characters.
Show or Clear the Last System Error
Command Name
Syserr
Description
Show or clear the last system error
If clear is not supplied, then the last system error is displayed.
Syntax
syserr [clear]
Parameters
Clear
Clear the last system error.
Example
N-TRON/Admin> syserr
Last System Error: None.
N-TRON/Admin> syserr clear
Last System Error: Cleared.
Notes