DGS-1100/ME Metro Ethernet Managed Switch CLI Reference Guide
create snmp host
Purpose
To create a recipient of SNMP traps generated by the Switch’s
SNMP agent.
Syntax
create snmp host <ipaddr> [v1 | v2c] <string 16>
Description
The
create snmp host
command creates a recipient of SNMP traps
generated by the Switch’s SNMP agent.
Parameters
<ipaddr>
− The IP address of the remote management station t
o
serve as the SNMP host for the Switch.
v1
– Specifies that SNMP version 1 is to be used. The Simple
Network Management Protocol (SNMP), version 1, is a network
management protocol that provides a means to monitor and control
network devices.
v2c
– Specifies that SNMP version 2c is to be used. The SNMP v2c
supports both centralized and distributed network management
strategies. It includes improvements in the Structure of Management
Information (SMI) and adds some security features.
<string 16>
− A
string of up to 16 alphanumeric characters that
identifies the user name of an SNMP community. This string is used
like a password to give remote SNMP managers access to MIB
objects in the Switch’s SNMP agent.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To create a SNMP host to receive SNMP messages:
DGS-1100-24P/ME:admin#create snmp host 10.90.90.22 v1 dlink
Command : create snmp host 10.90.90.22 v1 dlink
Success.
DGS-1100-24P/ME:admin#
delete snmp host
Purpose
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
receives SNMP traps generated by the Switch’s SNMP agent.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To delete a SNMP host entry:
DGS-1100-24P/ME:admin#delete snmp host 10.90.90.22
Command : delete snmp host 10.90.90.22
40