To do…

 

Use the command…

 

Remarks

 

 

 

 

 

snmp-agent group v3

 

 

 

 

 

 

 

group-name[ authentication

 

 

 

 

 

Set an SNMP group

privacy ] [ read-view

Required

 

 

 

 

read-view ] [ write-view

 

 

 

 

 

 

 

 

 

 

 

write-view ] [ notify-view

 

 

 

 

 

 

notify-view ] [ acl acl-number ]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

snmp-agent

 

Optional

 

 

 

Encrypt a plain-text password

 

calculate-password

 

This command is used if

 

 

 

 

plain-password mode { md5

 

 

 

 

to generate a cipher-text one

 

 

password in cipher-text is

 

 

 

 

sha } { local-engineid

 

 

 

 

 

 

 

needed for adding a new user.

 

 

 

 

 

specified-engineid engineid }

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

snmp-agent usm-user v3

 

 

 

 

 

 

 

user-name group-name

 

 

 

 

 

 

 

[ cipher ]

 

 

 

 

 

Add a user to an SNMP group

 

[ authentication-mode { md5

 

Required

 

 

 

sha } auth-password

 

 

 

 

 

 

 

 

 

 

 

[ privacy-mode { des56

 

 

 

 

 

 

 

aes128 } priv-password ] ] [ acl

 

 

 

 

 

 

 

acl-number ]

 

 

 

 

 

 

 

 

 

 

 

 

 

Set the maximum size of an

 

snmp-agent packet max-size

 

Optional

 

 

 

SNMP packet for SNMP agent

 

 

 

 

 

 

byte-count

 

1,500 bytes by default.

 

 

 

to receive or send

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Optional

 

 

 

Set the device engine ID

 

snmp-agent local-engineid

 

By default, the device engine ID

 

 

 

 

engineid

 

is “enterprise number + device

 

 

 

 

 

 

 

 

 

 

 

 

 

information”.

 

 

 

 

 

 

 

 

 

 

 

Create or update the view

 

snmp-agent mib-view

 

Optional

 

 

 

 

{ included excluded }

 

By default, the view name is

 

 

 

information

 

view-name oid-tree [ mask

 

 

 

 

 

 

“ViewDefault” and OID is 1.

 

 

 

 

 

mask-value ]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The device provides the following functions to prevent attacks through unused UDP ports.

zExecuting the snmp-agentcommand or any of the commands used to configure SNMP agent enables the SNMP agent, and at the same opens UDP port 161 and UDP port 1024 used by SNMP agents and SNMP trap clients respectively.

zExecuting the undo snmp-agentcommand disables the SNMP function and closes UDP port 161 and UDP port 1024 as well.

Configuring Trap Parameters

Configuring Basic Trap

Trap messages refer to those sent by managed devices to the NMS without request. They are used to report some urgent and important events (for example, the rebooting of managed devices).

Note that basic SNMP configuration is performed before you configure basic trap.

Follow these steps to configure basic Trap:

1-5

Page 430
Image 430
3Com WX3000 operation manual Configuring Trap Parameters, Configuring Basic Trap