21 snmp-server user, 21 snmp-server user -95 – PLANET XGS3-24042 User Manual
Page 95

XGS3 Command Guide
1-95
Function:
Set the source IPv4 or IPv6 address which is used to send trap packet, the no command deletes the configuration.
Command Mode:
Global Mode
Parameter:
Usage Guide:
If there is no configuration, select the source address according to the interface address sent by actual trap packet,
when configure the IP address, adopt the configured source address as the source address of trap packet.
Example:
Set the IP address which is used to send trap packet.
Switch(config)# snmp-server trap-source 1.1.1.5
Delete the configured source address which is used to send IPv6 trap packet.
Switch(config)# no snmp-server trap-source 2001::1
1.4.21 snmp-server user
Command:
snmp-server user
{
no snmp-server user
{
Function:
Add a new user to an SNMP group; the "no” form of this command deletes this user.
Command Mode:
Global Mode.
Parameter:
<user-string> is the user name containing 1-32 characters.
<group-string> is the name of the group the user belongs to, containing 1-32 characters.
authPriv use DES for the packet encryption.
authNoPriv not use DES for the packet encryption.
auth perform packet authentication.
md5 packet authentication using HMAC MD5 algorithm.
sha packet authentication using HMAC SHA algorithm.