xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
974
101-16
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
- Specify the recipient for which the traps are targeted.
<ipaddr>
- The IP address of the recipient for which the traps are targeted.
v6host
- Specify 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”:
DGS-3120-24TC:admin# create snmp host 10.0.0.1 v1 public
Command: create snmp host 10.0.0.1 v1 public
Success.
DGS-3120-24TC:admin#
101-17
delete snmp
Description
This command is used to delete a recipient of an SNMP trap operation.
Format
delete snmp [host <ipaddr> | v6host <ipv6addr>]
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...