Snmp configuration, Configuring snmpv3 – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 95

Advertising
background image

7-3

Figure 7-2 MIB tree

A

2

6

1

5

2

1

1

2

1

B

SNMP Configuration

Because SNMPv3 differ from SNMPv1 and SNMPv2c in many aspects, their configuration procedures

are described separately.

Configuring SNMPv3

Follow these steps to configure SNMPv3:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable SNMP agent

snmp-agent

Optional

Disabled by default

You can also enable SNMP agent
by using any command that begins
with snmp-agent.

Configure SNMP agent system
information

snmp-agent sys-info { contact
sys-contact | location sys-location
| version { all | { v1 | v2c | v3 }* } }

Optional

The defaults are as follows:

Hangzhou H3C Technologies Co.,
Ltd. for contact,

Hangzhou China for location, and
SNMP v3 for the version.

Configure a local engine ID for an
SNMP entity

snmp-agent local-engineid
engineid

Optional

Company ID and device ID by
default.

Create or update the MIB view
content for an SNMP agent

snmp-agent mib-view { excluded
| included } view-name oid-tree
[ mask mask-value ]

Optional

The MIB view name is ViewDefault
and OID is 1 by default.

Configure an SNMPv3 agent group

snmp-agent group v3
group-name [ authentication |
privacy
] [ read-view read-view ]
[ write-view write-view ]
[ notify-view notify-view ] [ acl
acl-number ]

Required

Convert a plain text password to a
cipher text password

snmp-agent calculate-password
plain-password mode { 3desmd5 |
3dessha | md5 | sha }
{ local-engineid |
specified-engineid engineid }

Optional

Advertising