To do…

 

 

Use the command…

 

 

 

Remarks

 

 

 

 

 

 

 

snmp-agent community

 

Required

 

 

 

 

 

Direct

Set a

 

{ read write }

 

z

You

can

set

an

 

 

configura

community

 

community-name [ acl

 

 

 

 

 

 

SNMPv1/SNMPv2c

 

 

 

tion

name

 

acl-number mib-view

 

 

 

 

 

 

 

 

community

 

name

 

 

 

 

view-name ]*

 

 

 

 

 

 

 

 

 

through

 

direct

 

Set a

 

 

 

 

 

 

 

 

 

 

 

snmp-agent group { v1

 

 

configuration.

 

 

 

community

 

 

 

 

 

Indirect configuration is

 

 

Set an

 

v2c } group-name[ read-view

 

z

 

name and

 

SNMP

 

read-view ] [ write-view

 

 

compatible

 

 

with

 

access

Indirect

group

write-view ] [ notify-view

 

 

SNMPv3.

The

added

 

permission

 

notify-view ] [ acl acl-number ]

 

 

user

is equal

to

the

 

configura

 

 

 

 

 

 

 

 

 

 

community

name

for

 

 

tion

Add a user

 

 

 

 

 

 

 

snmp-agent usm-user { v1

 

 

SNMPv1

 

 

and

 

 

 

 

 

 

 

 

 

 

 

to an

 

v2c } user-name group-name

 

 

SNMPv2c.

 

 

 

 

 

 

SNMP

 

 

z You can choose either

 

 

 

 

[ acl acl-number ]

 

 

 

 

group

 

 

 

of them as needed.

 

 

 

 

 

 

 

 

 

 

Set the maximum size of an SNMP

 

snmp-agent packet

 

Optional

 

 

 

 

 

packet for SNMP agent to receive or

 

 

 

 

 

 

 

 

max-sizebyte-count

 

1,500 bytes by default.

 

 

send

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Optional

 

 

 

 

 

Set the device engine ID

 

 

snmp-agent local-engineid

 

By default, the device

 

 

 

 

 

engine ID is “enterprise

 

 

 

engineid

 

 

 

 

 

 

 

number + device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

information”.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

snmp-agent mib-view

 

Optional

 

 

 

 

 

Create/Update the view information

 

{ included excluded }

 

By default, the view name

 

 

view-name oid-tree [ mask

 

is “ViewDefault” and OID is

 

 

 

 

 

 

 

 

 

 

 

mask-value ]

1.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Configuring basic SNMP functions for SNMPv3

The device now supports the Advanced Encryption Standard (AES) for SNMPv3 to provide encryption. AES can provide higher security than the Data Encryption Standard (DES).

Follow these steps to configure basic SNMP functions for SNMPv3:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

 

 

Optional

 

 

Disabled by default.

Enable SNMP agent

snmp-agent

You can enable SNMP agent

 

 

by executing this command or

 

 

any of the commands used to

 

 

configure SNMP agent.

 

 

 

 

 

Required

 

snmp-agent sys-info

By default, the contact

Set system information and

information for system

{ contact sys-contact

maintenance is "3Com

specify to enable SNMPv3 on

location sys-locationversion

Corporation", the system

the device

{ { v1 v2c v3 }* all } }

location is "Marlborough, MA

 

 

 

01752 USA", and the SNMP

 

 

version is None.

 

 

 

1-4

Page 429
Image 429
3Com WX3000 operation manual Configuring basic Snmp functions for SNMPv3