D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
39
delete snmp community
Description
The delete snmp community command is used to remove a
previously defined SNMP community string from the Switch.
Parameters
<community_string 32> An alphanumeric string of up to 32
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 Only administrator-level users can issue this command.
Example usage:
To delete the SNMP community string “dlink:”
DGS-3324SRi:4#delete snmp community dlink
Command: delete snmp community dlink
Success.
DGS-3324SRi:4#
show snmp community
Purpose Used to display SNMP community strings configured on the
Switch.
Syntax
show snmp community {<community_string 32>}
Description
The show snmp community command is used to display SNMP
community strings that are configured on the Switch.
Parameters
<community_string 32> An alphanumeric string of up to 32
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.
Example usage:
To display the currently entered SNMP community strings:
DGS-3324SRi:4#show snmp community
Command: show snmp community
SNMP Community Table
Community Name View Name Access Right
------------------------------- ------------------------------ ------------
dlink ReadView read_write
private CommunityView read_write
public CommunityView read_only
Total Entries: 3
DGS-3324SRi:4#