xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
Example
To create a recipient of an SNMP operation:
DGS-3420-28SC:admin#create snmp host 10.48.74.100 v3 noauth_nopriv initial
Command: create snmp host 10.48.74.100 v3 noauth_nopriv initial
Success.
DGS-3420-28SC:admin#
15-17 delete snmp
Description
This command is used to delete a recipient of an SNMP trap operation.
Format
delete snmp [host <ipaddr> | v6host <ipv6addr>]
Parameters
host - Specify the IP address of the SNMP host recipient to be deleted.
<ipaddr> - Specify the IP address of the SNMP host recipient to be deleted.
v6host - Specify the IPv6 address of the SNMP host recipient to be deleted.
<ipv6addr> - Specify the IPv6 address of the SNMP host recipient to be deleted.
Restrictions
Only Administrator-level users can issue this command.
Example
To delete a recipient of an SNMP trap operation:
DGS-3420-28SC:admin#delete snmp host 10.48.74.100
Command: delete snmp host 10.48.74.100
Success.
DGS-3420-28SC:admin#
15-18 show snmp host
Description
This command is used to display the recipient for which the traps are targeted.
891