1-3
Figure 1-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 is 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:
3Com Corporation. for contact,
Marlborough, MA 01752 USA
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 | 3desmd5 | 3dessha
}
{
local-engineid
|
specified-engineid engineid
}
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
{
3des
|
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.