XS26GS Managed Optical Ethernet Switch User Manual
154
Syntax
snmp-server community
no snmp-server community
community-name
View
System view.
Parameters
community-name
: name of the community to be created; it is a string of 3 to 16
characters.
Description
Use
snmp
-
server community
command to create a SNMP community. SNMPv1
and SNMPv2c use a community name to restrict access rights. You can use this
command to configure a community name and configure read or write access rights.
Use
no snmp
-
server community
command to remove an SNMP community.
Typically, “public” is used as a read community name, and “private” is used as a
write community name. For security reason, it is recommended to use a community
name other than these two.
Examples
XS#
snmp-server community
Version (v1 or v2c):
v2c
Community (3-16chars):
com3
Privilege (ro or rw):
ro
Add snmp agent user successfully!
snmp-server user
Syntax
snmp-server user
no snmp-server user
username
View
System view.
Parameters
username
: username, a string of 3 to 16 characters.
Auth-Algorithm
: specifies the security mode for authentication. If this is not
specified, neither authentication nor encryption is performed.
MD5
: uses HMAC MD5 algorithm for authentication.
SHA
: uses HMAC SHA algorithm for authentication, which is more secure than MD5.
auth-password
: authentication password, a string of 9 to 15 characters in plain text,
a 32-bit hexadecimal number in cipher text if MD5 algorithm is used, and a 40-bit
hexadecimal number in cipher text if SHA algorithm is used.
Priv-Algorithm
: specifies the security mode as encrypted.
DES
: specifies the encryption protocol as Data Encryption Standard (DES).
AES
: specifies the encryption protocol as Advanced Encryption Standard (AES),