Snmp configuration – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 471

Advertising
background image

52-3

B can be uniquely identified by a string of numbers {1.2.1.1}. This string of numbers is the OID of the
managed object B.

Figure 52-2

MIB tree

A

2

6

1

5

2

1

1

2

1

B

SNMP Configuration

As configurations for SNMPv3 differ substantially from those of SNMPv1 and SNMPv2c, their SNMP
functionalities will be introduced separately below.

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 enable SNMP Agent
through this command or any
commands that begin 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 Tech. Co., Ltd. for
contact,
Hangzhou, China for location, and
SNMP v3 for the version.

Configure an SNMP 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 the user-defined plain text
password to a cipher text password

snmp-agent calculate-password

plain-password mode

{ md5 |

sha

} { local-engineid |

specified-engineid string

}

Optional

Add a new user to an SNMP agent
group

snmp-agent usm-user

v3

user-name

group-name [ [ cipher ]

authentication-mode

{ md5 |

sha

} auth-password

[ privacy-mode { aes128 | des56 }
priv-password

] ] [ acl acl-number ]

Required
If the cipher keyword is specified,
the arguments auth-password and
priv-password

are considered as

cipher text password.

Advertising