3Com 4500 26-PORT, 4500 PWR 50-PORT manual To create an Snmp group named 3Com, enter the following

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 391
Image 391

SNMP Configuration Commands 385

snmp-agent local-engineid

3Com recommends that you do not use the notify-viewparameter when configuring an SNMP group, for the following reasons:

The snmp-agenttarget-hostcommand automatically generates a notify-viewfor a user, and adds it to the corresponding group.

Any change of the SNMP group notify-viewwill 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]

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-agentlocal-engineidcommand to configure a name for a local or remote SNMP engine on the Switch. Use the undo snmp-agentlocal-engineidcommand 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-nameoid-tree

undo snmp-agent mib-view view-name

Page 391
Image 391
3Com 4500 26-PORT To create an Snmp group named 3Com, enter the following, Configure the ID of a local or remote device as