xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
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-3612G: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-3612G:4#
config snmp engineID
Purpose
Used to configure a name for the SNMP engine on the Switch.
Syntax
config snmp engineID <snmp_engineID>
Description The
config snmp engineID
command configures a name for the
SNMP engine on the Switch.
Parameters
<snmp_engineID>
−
An alphanumeric string that will be used to
identify the SNMP engine on the Switch.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To give the SNMP agent on the Switch the name “0035636666”
DGS-3612G:4#config snmp engineID 0035636666
Command: config snmp engineID 0035636666
Success.
DGS-3612G:4#
34