3Com 4500 26-PORT Switch User Manual


 
SNMP Configuration Commands 385
3Com recommends that you do not use the notify-view parameter when
configuring an SNMP group, for the following reasons:
The snmp-agent target-host command automatically generates a
notify-view for a user, and adds it to the corresponding group.
Any change of the SNMP group notify-view will affect all the users related to
this group.
Example
To create an SNMP group named 3Com, enter the following:
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]snmp-agent group v3 3Com
[SW4500]
snmp-agent
local-engineid
Syntax
snmp-agent local-engineid engineid
undo snmp-agent local-engineid
View
System view
Parameter
local-engineid: Specify an engineID for the local SNMPv3 entity
engineid: Specify the engine ID with a character string, only composed of
hexadecimal numbers between 5 and 32 inclusive. The default value is "Enterprise
Number + device information".
Description
Use the snmp-agent local-engineid command to configure a name for a local
or remote SNMP engine on the Switch. Use the
undo snmp-agent
local-engineid
command to restore the default setting of engine ID.
Device information is determined according to different products. It can be IP
address, MAC address or user defined text. However, you must use numbers in
hexadecimal form.
Example
Configure the ID of a local or remote device as 1234512345.
<SW4500>system-view
System View: return to User View with Ctrl+Z.
<SW4500>snmp-agent local-engineid 1234512345
<SW4500>
snmp-agent mib-view Syntax
snmp-agent mib-view { included | excluded } view-name oid-tree
undo snmp-agent mib-view view-name