
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:
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 | 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.
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...