
xStack Gigabit Layer 3 Switch Command Line Interface Manual
DGS-3324SRi:4#create snmp host 10.48.74.100 v3 auth_priv public
Command: create snmp host 10.48.74.100 v3 auth_priv public
Success.
DGS-3324SRi:4#
delete snmp host
Purpose
Used to remove a recipient of SNMP traps generated by the
Switch’s SNMP agent.
Syntax
delete snmp host <ipaddr>
Description
The
delete snmp host
command deletes 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:
DGS-3324SRi:4#delete snmp host 10.48.74.100
Command: delete snmp host 10.48.74.100
Success.
DGS-3324SRi: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
The
show snmp host
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:
46