SNMP is an application layer protocol that facilitates the exchange of management information between the management stations and a managed EX3500 switch. SNMP-enabled devices listen on port 162 (by default) for SNMP packets from the management server. SNMP uses read-only and read-write community strings as an authentication mechanism to monitor and configure supported devices. The read-only community string is used to gather statistics and configuration parameters from a supported wireless device. The read-write community string is used by a management server to set device parameters. SNMP is generally used to monitor a system's performance and other parameters.
snmp-server {community|contact|enable|engine-id|group|host|location|notify-filter| user|view}
snmp-server {community <STRING> {ro|rw}}
snmp-server {contact <NAME>}
snmp-server {enable traps {authentication|link-up-down}}
snmp-server {engine-id [local <WORD>|remote <IP> <WORD>]}
snmp-server {group <GROUP-NAME> [v1|v2c|v3 [auth|noauth|priv]] {notify <WORD>|read <WORD>| write <WORD>}}
snmp-server {host <IP> [<STRING>|inform]}
snmp-server {host <IP> <STRING> version [v1|v2c|v3 [auth|noauth|priv]] {udp-port <1-65535>}}
snmp-server {host <IP> inform [retry <0-255>|timeout <0-2147483647>] <STRING> version [v2c|v3 [auth|noauth|priv]] {udp-port <1-65535>}}
snmp-server {location <WORD>}
snmp-server {notify-filter <WORD> remote <IP>}
snmp-server {user <USER-NAME> <GROUP-NAME> [remote-host|v1|v2c|v3]}
snmp-server {user <USER-NAME> <GROUP-NAME> remote-host <IP> v3 [auth|encrypted auth] [md5|sha] <WORD> {priv [3des|aes128|aes192|aes256|des56] <WORD>}}
snmp-server {user <USER-NAME> <GROUP-NAME> [v1|v2c|v3]}
snmp-server {view <VIEW-NAME> <OID-TREE-STRING> [excluded|included]}
snmp-server {community <STRING> {ro|rw}}
snmp-server {community <STRING> {ro|rw}} | Configures SNMP-server related settings
After specifying the string, optionally specify the access type associated
with it.
You can configure a maximum of five (5) community strings per vEX3500 management policy. |
snmp-server {contact <NAME>}
snmp-server {contact <NAME>} | Configures SNMP-server related settings
|
snmp-server {enable traps {authentication|link-up-down}}
snmp-server {enable traps {authentication|link-up-down}} | Configures SNMP-server related settings
If the command is executed without either of the above mentioned trap options, the system enables both authentication and link-up-down traps. If enabling SNMP traps, use the snmp-server > host command to specify the host(s) receiving the SNMP notifications. |
snmp-server {engine-id [local <WORD>|remote <IP> <WORD>]}
snmp-server {engine-id [local <WORD>|remote <IP> <WORD>]} | Configures SNMP-server related settings
Configure the remote engine ID when using SNMPv3 informs. The remote ID configured here is used to generate the security digest for authentication and encryption of packets exchanged between the switch and the and the remote host user. SNMP passwords are localized using the engine ID of the authoritative agent. For informs, the authoritative SNMP agent is the remote agent. You therefore need to configure the remote agent‘s SNMP engine ID before you can send proxy requests or informs to it. |
snmp-server {group <GROUP-NAME> [v1|v2c|v3 [auth|noauth|priv]] {notify <WORD>| read <WORD>|write <WORD>}}
snmp-server group <GROUP-NAME> | Configures SNMP-server related settings
|
[v1|v2c|v3 [auth|noauth|priv]] | Configures the SNMP version used for authentication by this user group
|
notify <WORD> | Optional. Configures the notification view string
|
read <WORD> | Optional. Configures the read view string
|
write <WORD> | Optional. Configures the write view string
|
snmp-server {host <IP> <STRING> version [v1|v2c|v3 [auth|noauth|priv]] {udp-port <1-65535>}}
snmp-server host <IP> | Configures SNMP-server related settings
You can configure a maximum of five (5) SNMP trap recipients per EX3500 management policy. Ensure that SNMP trap notification is enabled. |
<STRING> | Configures the SNMP community string. You can configure the SNMP community
string here, or else use the string configured using the snmp-server >
community <STRING> > {ro|rw} command. It is recommended that
you configure the SNMP community string prior to configuring the SNMP host.
|
version [v1|v2c| v3 [auth|noauth| priv]] | Configures the SNMP version used
|
udp-port <1-65535> | Optional. After specifying the SNMP version, optionally specify the host UDP
port
|
snmp-server {host <IP> inform [retry <0-255>|timeout <0-2147483647>] <STRING> version [v2c|v3 [auth|noauth|priv]] {udp-port <1-65535>}}
snmp-server host <IP> | Configures SNMP-server related settings
You can configure a maximum of five (5) SNMP trap recipients per EX3500 management policy. Ensure that SNMP trap notification is enabled. |
inform [retry <0-255>| timeout <0-2147483647>] | Enables sending of SNMP notifications as inform messages, and configures inform
message settings.
Inform messages are more reliable than trap messages since they include a request for acknowledgement of receipt. Using inform messages to communicate critical information would be good practice. However, since inform messages are retained in the memory until a response is received, they consume more memory and may also result in traffic congestion. Take into considerations these facts when configuring the notification format. |
<STRING> | Configures the SNMP community string. You can configure the SNMP community
string here, or else use the string configured using the snmp-server >
community <STRING> > {ro|rw} command. It is recommended that
you configure the SNMP community string prior to configuring the SNMP host.
|
version [v2c| v3 [auth|noauth| priv]] | Configures the SNMP version used
SNMP inform messages are not supported on SNMP v1. |
udp-port <1-65535> | Optional. After specifying the SNMP version, optionally specify the host UDP
port
|
snmp-server {location <WORD>}
snmp-server {location <WORD>} | Configures SNMP-server related settings
|
snmp-server {notify-filter <WORD> remote <IP>}
snmp-server notify-filter <WORD> | Configures SNMP-server related settings
|
remote <IP> | Optional. Configures the remote host‘s IP address
|
snmp-server {user <USER-NAME> <GROUP-NAME> remote <IP> v3 {auth|encrypted auth} [md5|sha] <WORD> {priv [3des|aes128|aes192|aes256|des56] <WORD>}}
snmp-server user <USER-NAME> <GROUP-NAME> | Configures SNMP-server related settings
|
remote <IP> v3 | Configures the remote host on which the SNMPv3 engine is running
This option is available only for SNMPv3 engine. After configuring the remote host, optionally configure the authentication type and the corresponding authentication password used. |
{auth|encrypted auth} [md5|sha] <WORD> {priv [3des|aes128| aes192|aes256| des56] <WORD>} | Optional. Configures authentication and encryption settings
The following parameters are common to the ‘auth‘ and ‘encrypted‘
keywords:
The following parameter is common to the ‘md5‘ and ‘sha‘ keywords:
|
snmp-server {user <USER-NAME> <GROUP-NAME> [v1|v2c|v3]}
snmp-server {user <USER-NAME> <GROUP-NAME> [v1|v2c|v3]} | Configures SNMP-server related settings
If using SNMP version 3, optionally specify the authentication type and the corresponding authentication password used. Please see previous table for SNMPv3 authentication and encryption configuration details. |
snmp-server {view <VIEW-NAME> <OID-TREE-STRING> [excluded|included]}
snmp-server view <VIEW-NAME> | Configures SNMP-server related settings
|
<OID-TREE-STRING> [excluded|included] | Configures the object identifier (OID) of a branch within the MIB tree
|
nx9500-6C8809(config-ex3500-management-policy-test)#snmp-server enable traps
nx9500-6C8809(config-ex3500-management-policy-test)#snmp-server host 192.168.13.10
snmpteststring version 1 udp-port 170
nx9500-6C8809(config-ex3500-management-policy-test)#snmp-server host 1.2.3.4 inform
retry 2 test version 3 auth udp-port 180
nx9500-6C8809(config-ex3500-management-policy-test)#snmp-server engine-id local
1234567890
nx9500-6C8809(config-ex3500-management-policy-test)#show context ex3500-management-policy test http secure-server enable password level 3 7 12345678901020304050607080929291 snmp-server enable traps authentication snmp-server notify-filter 3 remote 1.2.3.4 snmp-server notify-filter 1 remote 127.0.0.1 snmp-server notify-filter 2 remote 192.168.13.10 snmp-server host 1.2.3.4 inform timeout 1500 retry 2 test version 3 auth udp-port 180 snmp-server host 192.168.13.10 snmpteststring version 1 udp-port 170 snmp-server engine-id local 1234567890 memory falling-threshold 50 memory rising-threshold 95 process-cpu falling-threshold 60 process-cpu rising-threshold 80 nx9500-6C8809(config-ex3500-management-policy-test)#
no (ex3500-management-policy-config-mode) | Removes SNMP server related settings or reverts them to default |