Specifications
DGS-3048 Layer 2 Switch CLI Reference Manual
36
create snmp community
to the contents of the MIBs on the Switch.
Restrictions Only administrator-level users can issue this command.
Example usage:
To create the SNMP community string “dlink:”
DGS3048#create snmp community dlink view ReadView read_write
Command: create snmp community dlink view ReadView read_write
Success.
DGS3048#
delete snmp community
Purpose Used to remove a specific SNMP community string from the Switch.
Syntax
delete snmp community <community_string 20>
Description
The delete snmp community command is used to remove a
previously defined SNMP community string from the Switch.
Parameters
<community_string 20> − An alphanumeric string of up to 20
characters that is used to identify members of an SNMP community
to delete. 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 delete the SNMP community string “dlink:”
DGS3048#delete snmp community dlink
Command: delete snmp community dlink
Success.
DGS3048#
show snmp community
Purpose Used to display SNMP community strings configured on the Switch.
Syntax
show snmp community {<community_string 20>}
Description
The show snmp community command is used to display SNMP
community strings that are configured on the Switch.
Parameters
<community_string 20> − An alphanumeric string of up to 20
characters that is used to identify members 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 None.