15 snmp-server group, 16 snmp-server host – PLANET XGS3-24040 User Manual
Page 78
XGS3 Command Guide
1-78
1.4.15 snmp-server group
Command:
snmp-server group
[access {
{
no snmp-server group
[ipv6-access {
Function:
This command is used to configure a new group; the “no” form of this command deletes this group.
Command Mode:
Global Mode
Parameter:
NoauthNopriv Applies the non recognizing and non encrypting safety level
AuthNopriv Applies the recognizing but non encrypting safety level
AuthPriv Applies the recognizing and encrypting safety level
read-string Name of readable view which includes 1-32 characters
write-string Name of writable view which includes 1-32 characters
notify-string Name of trappable view which includes 1-32 characters
Usage Guide:
There is a default view “v1defaultviewname” in the system. It is recommended to use this view as the view name of
the notification. If the read or write view name is empty, corresponding operation will be disabled.
Example:
Create a group CompanyGroup, with the safety level of recognizing andencrypting, the read viewname isreadview,
and the writing is disabled.
Switch (config)#snmp-server group CompanyGroup AuthPriv read readview
deletet group
Switch (config)#no snmp-server group CompanyGroup AuthPriv
1.4.16 snmp-server host
Command:
snmp-server host {
AuthPriv}}} <user-string>
no snmp-server host {
AuthNopriv | AuthPriv}}} <user-string>
Function:
As for the v1/v2c versions this command configures the IPv4 or IPv6 address and Trap community character string of
the network manage station receiving the SNMP Trap message. And for v3 version, this command is used for