config system snmp community
SNMP community configuration.
config system snmp community
Description: SNMP community configuration.
edit <id>
set name {string}
set status [enable|disable]
config hosts
Description: Configure IPv4 SNMP managers (hosts).
edit <id>
set source-ip {ipv4-address}
set ip {user}
set ha-direct [enable|disable]
set host-type [any|query|...]
next
end
config hosts6
Description: Configure IPv6 SNMP managers.
edit <id>
set source-ipv6 {ipv6-address}
set ipv6 {ipv6-prefix}
set ha-direct [enable|disable]
set host-type [any|query|...]
next
end
set query-v1-status [enable|disable]
set query-v1-port {integer}
set query-v2c-status [enable|disable]
set query-v2c-port {integer}
set trap-v1-status [enable|disable]
set trap-v1-lport {integer}
set trap-v1-rport {integer}
set trap-v2c-status [enable|disable]
set trap-v2c-lport {integer}
set trap-v2c-rport {integer}
set events {option1}, {option2}, ...
next
end
config system snmp community
Parameter |
Description |
Type |
Size |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name |
Community name. |
string |
Maximum length: 35 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status |
Enable/disable this SNMP community. |
option |
- |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
query-v1-status |
Enable/disable SNMP v1 queries. |
option |
- |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
query-v1-port |
SNMP v1 query port . |
integer |
Minimum value: 1 Maximum value: 65535 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
query-v2c-status |
Enable/disable SNMP v2c queries. |
option |
- |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
query-v2c-port |
SNMP v2c query port . |
integer |
Minimum value: 0 Maximum value: 65535 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
trap-v1-status |
Enable/disable SNMP v1 traps. |
option |
- |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
trap-v1-lport |
SNMP v1 trap local port . |
integer |
Minimum value: 1 Maximum value: 65535 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
trap-v1-rport |
SNMP v1 trap remote port . |
integer |
Minimum value: 1 Maximum value: 65535 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
trap-v2c-status |
Enable/disable SNMP v2c traps. |
option |
- |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
trap-v2c-lport |
SNMP v2c trap local port . |
integer |
Minimum value: 1 Maximum value: 65535 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
trap-v2c-rport |
SNMP v2c trap remote port . |
integer |
Minimum value: 1 Maximum value: 65535 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
events |
SNMP trap events. |
option |
- |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
config hosts
Parameter |
Description |
Type |
Size |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
source-ip |
Source IPv4 address for SNMP traps. |
ipv4-address |
Not Specified |
|||||||||
ip |
IPv4 address of the SNMP manager (host). |
user |
Not Specified |
|||||||||
ha-direct |
Enable/disable direct management of HA cluster members. |
option |
- |
|||||||||
|
|
|||||||||||
host-type |
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. |
option |
- |
|||||||||
|
|
config hosts6
Parameter |
Description |
Type |
Size |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
source-ipv6 |
Source IPv6 address for SNMP traps. |
ipv6-address |
Not Specified |
|||||||||
ipv6 |
SNMP manager IPv6 address prefix. |
ipv6-prefix |
Not Specified |
|||||||||
ha-direct |
Enable/disable direct management of HA cluster members. |
option |
- |
|||||||||
|
|
|||||||||||
host-type |
Control whether the SNMP manager sends SNMP queries, receives SNMP traps, or both. |
option |
- |
|||||||||
|
|