![D-Link xStack DGS-3400 Series Cli Manual Download Page 53](http://html.mh-extra.com/html/d-link/xstack-dgs-3400-series/xstack-dgs-3400-series_cli-manual_77433053.webp)
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:
D G S – 3 4 2 6 : 5 # d e l e t e s n m p h o s t 1 0 . 4 8 . 7 4 . 1 0 0
C o m m a n d : d e l e t e s n m p h o s t 1 0 . 4 8 . 7 4 . 1 0 0
S u c c e s s .
D G S – 3 4 2 6 : 5 #
To delete an IPv6 SNMP host entry:
D G S – 3 4 2 6 : 5 # d e l e t e s n m p v 6 h o s t F F : : F F
C o m m a n d : d e l e t e s n m p v 6 h o s t F F : : F F
S u c c e s s .
D G S – 3 4 2 6 : 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: