Chapter 54: Simple Network Management Protocol (SNMP) Command List
create snmp
Description
This command is used to create a recipient of an SNMP trap operation.
Format
create snmp [host <ipaddr> | v6host <ipv6addr>] [v1 | v2c | v3 [noauth_nopriv
| auth_nopriv | auth_priv]] <auth_string 32>
Parameters
host - Specifies the recipient for which the traps are targeted.
●
<ipaddr> - The IP address of the recipient for which the traps are targeted.
●
v6host - Specifies the IPv6 host address to which the trap packet will be sent.
●
<ipv6addr> - The IPv6 address of the recipient for which the traps are targeted.
●
v1 - The least secure of the possible security models.
●
v2c - The second least secure of the possible security models.
●
v3 - The most secure of the possible.
●
noauth_nopriv - Neither support packet authentication nor encrypting.
●
auth_nopriv - Support packet authentication.
●
auth_priv - Support packet authentication and encrypting.
●
<auth_string 32> - Authentication string. If the v1 or v2 is specified, the auth_string presents the
●
community string, and it must be one of the entries in community table. If the v3 is specified, the
auth_string presents the user name, and it must be one of the entries in the user table.
Restrictions
Only Administrator-level users can issue this command.
Example
To create SNMP host "10.0.0.1" with community string "public":
EAS 200-24p:admin# create snmp host 10.0.0.1 v1 public
Command: create snmp host 10.0.0.1 v1 public
Success.
EAS 200-24p:admin#
752
Extreme Networks EAS 200-24p Switch CLI Manual