xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
44
DGS–3426:5#delete snmp community dlink
Command: delete snmp community dlink
Success.
DGS–3426:5#
show snmp community
Purpose Used to display SNMP community strings configured on the Switch.
Syntax
show snmp community <community_string 32>
Description This 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–3426P:4#show snmp community
Command: show snmp community
SNMP Community Table
Community Name View Name Access Right
––––––––––––––––– ––––––––––––––––– ––––––––––––
private CommunityView read_write
public CommunityView read_only
Total Entries: 2
DGS–3426P:4#
config snmp engineID
Purpose Used to configure an identification for the SNMP engine on the Switch.
Syntax
config snmp engineID <snmp_engineID 10–64>
Description This command configures a name for the SNMP engine on the Switch.
Parameters
<snmp_engineID 10–64> − An alphanumeric string that will be used to identify the
SNMP engine on the Switch.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To give the SNMP agent on the Switch the name “0035636666”:
DGS–3426:5#config snmp engineID 0035636666
Command: config snmp engineID 0035636666
Success.
DGS–3426:5#