SNMP
The commands in this section are used to manage the SNMP server. UFM SNMP settings must be modified in the configuration file using the "ufm configuration export/import" commands.
snmp-server community <community> [ ro | rw] Sets a community name for either read-only or read-write SNMP requests. |
||
Syntax Description |
community |
Community name |
ro |
Sets the read-only community string |
|
rw |
Sets the read-write community string |
|
Default |
Read-only community: "public" |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
show snmp |
|
Notes |
|
snmp-server contact <contact-name> Sets a value for the sysContact variable in MIB-II. |
||
Syntax Description |
contact-name |
Contact name |
Default |
"" |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
show snmp |
|
Notes |
snmp-server listen {enable | interface <ifName>} Configures SNMP server interface access restrictions. |
||
Syntax Description |
enable |
Enables SNMP interface restrictions on access to this system |
interface |
Adds an interface to the "listen" list for SNMP server. For example: "eth0", "eth1". |
|
Default |
N/A |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
show snmp |
|
Notes |
If enabled, and if at least one of the interfaces listed is eligible to be a listen interface, then SNMP requests will only be accepted on those interfaces. Otherwise, SNMP requests are accepted on any interface. |
snmp-server location <system-location> Sets a value for the sysLocation variable in MIB-II. |
||
Syntax Description |
system-location |
string |
Default |
N/A |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
show snmp |
|
Notes |
snmp-server port <port> Sets the UDP listening port for the SNMP agent. |
||
Syntax Description |
N/A |
|
Default |
161 |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
show snmp |
|
Notes |
snmp-server traps {community <community> | event <event name> | port <port> | send-test} Configures hosts to which to send SNMP traps. |
||
Syntax Description |
community |
Sets the default community for traps sent to hosts which do not have a custom community string set |
event |
Specifies which events will be sent as traps |
|
port |
Sets the default port to which traps are sent |
|
send-test |
Sends a test trap |
|
Default |
Community: public |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
show snmp |
|
Notes |
|
snmp-server user {admin | <username>} v3 {[encrypted] auth <hash-type> <password> [priv <privacy-type> [<password>]] | capability <cap> | enable <sets> | prompt auth <hash-type> [priv <privacy-type>]} Specifies an existing username, or a new one to be added. |
||
Syntax Description |
v3 |
Configures SNMPv3 users |
auth |
Configures SNMPv3 security parameters, specifying passwords in plaintext on the command line. Note that passwords are always stored encrypted. |
|
capability |
Sets capability level for SET requests |
|
enable |
Enables SNMPv3 access for this user |
|
encrypted |
Configures SNMPv3 security parameters, specifying passwords in encrypted form |
|
prompt |
Configures SNMPv3 security parameters, specifying passwords securely in follow-up prompts, rather than on the command line |
|
Default |
No SNMPv3 users defined |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
show snmp user |
|
Notes |
show snmp [engineID | events | user] Displays SNMP-server configuration and status. |
||
Syntax Description |
engineID |
SNMP Engine ID |
events |
SNMP events |
|
user |
SNMP users |
|
Default |
N/A |
|
Configuration Mode |
Any configuration mode |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
||
Notes |