XS26GS Managed Optical Ethernet Switch User Manual
151
None.
Description
Use
show snmp community
command to display the information of
SNMPv1/SNMPv2c communities.
SNMPv1 and SNMPv2c use community name authentication. Therefore, the SNMPv1
and SNMPv2c messages carry community names; if the carried community names
are not permitted by the NMS/agent, the messages will be discarded.
You need to create a read community name and a write community name
separately, and these two community names on the NMS and on the device should
be consistent.
To display the current configuration username information of SNMPv3, use
show
snmp user
command.
Examples
XS#
show snmp community
Version Community Popedom
-------------- ---------------- --------------
v1 public RO
v2c com2 RW
show snmp user
Syntax
show snmp user
View
Any view.
Parameters
None.
Description
Use
show snmp user
command to display the information of SNMPv3 users,
including username, auth type, auth password, privacy type, and privacy password.
SNMPv3 introduces the concepts of username and group. You can set the
authentication and privacy functions. The former is used to authenticate the validity
of sending packets, preventing the access of illegal users; the latter is used to
encrypt packets between the NMS and agent, preventing the packets from being
intercepted. A more secure communication between SNMP NMS and SNMP agent
can be ensured by configuring whether to perform authentication and encryption or
not.
You can configure whether to perform authentication and encryption when you
create a SNMPv3 group, and configure the specific algorithms and passwords for
authentication and encryption when a user is created.
Examples