![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg35.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
49
delete snmp host
Purpose Used to remove a recipient of SNMP traps generated by the Switch’s SNMP agent.
Syntax
delete snmp [host <ipaddr> | v6host <ipv6addr>]
Description This command is used to delete a recipient of SNMP traps generated by the Switch’s
SNMP agent.
Parameters
host <ipaddr> − The IPv4 address of the remote management station that will serve as
the SNMP host for the Switch.
v6host <ipv6addr> – The IPv6 address of the remote management station that will serve
as the SNMP host for the Switch.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an IPv4 SNMP host entry:
DGS–3426:5#delete snmp host 10.48.74.100
Command: delete snmp host 10.48.74.100
Success.
DGS–3426:5#
To delete an IPv6 SNMP host entry:
DGS–3426:5#delete snmp v6host FF::FF
Command: delete snmp v6host FF::FF
Success.
DGS–3426:5#
show snmp host
Purpose Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent.
Syntax
show snmp host {<ipaddr>}
Description This command is used to display the IP addresses and configuration information of
remote SNMP managers that are designated as recipients of SNMP traps that are
generated by the Switch’s SNMP agent.
Parameters
<ipaddr> − The IP address of a remote SNMP manager that will receive SNMP traps
generated by the Switch’s SNMP agent.
Restrictions None.
Example usage:
To display the currently configured SNMP hosts on the Switch: