D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
58
delete snmp host
SNMP agent.
Syntax
delete snmp [host <ipaddr>]
Description
This command is used to delete a recipient of SNMP traps 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
Only Administrator-level users can issue this command.
Example usage:
To delete an SNMP host entry:
DES-3200-28:4#delete snmp host 10.48.74.100
Command: delete snmp host 10.48.74.100
Success.
DES-3200-28:4#
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:
DES-3200-28:4#show snmp host
Command: show snmp host
SNMP Host Table
Host IP Address SNMP Version Community Name / SNMPv3 User Name
--------------- --------------- ---------------------------------
10.48.76.23 V3 noauthnopriv initial
10.48.74.100 V2c public
Total Entries : 2
DES-3200-28:4#
create trusted_host
Purpose
Used to create a trusted host.
Syntax
create trusted_host [<ipaddr> | network <network_address>]