83
active State
2.4.3.15 snmp-server engineid
Command: snmp-server engineid < engine-string >
no snmp-server engineid < engine-string >
Function:
Configure the engine ID; the “no" form of this command restores to the default
engine ID
Command Mode:
Global mode
Parameter:<engine-string>
is the engine ID shown in 1-32 digit hex characters
Default:
Default value is the company ID plus local MAC address
Usage Guide:
Example:
Set current engine ID to A66688999F
Switch(config)#snmp-server engineid A66688999F
Restore the default engine ID
Switch(config)#no snmp-server engineid A66688999F
2.4.3.16 snmp-server group
Command: snmp-server group <group-string>
{NoauthNopriv|AuthNopriv|AuthPriv} [[read <read-string>] [write
<write-string>] [notify <notify-string>]]
no snmp-server group <group-string> {NoauthNopriv|AuthNopriv|AuthPriv}
Function:
This command is used to configure a new group; the “no” form of this
command deletes this group.
Command Mode:
Global Mode
Parameter:<group-string >
group name which includes 1-32 characters
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
Name of readable view which includes 1-32 characters
Name of writable view which includes 1-32 characters
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