Operation Manual – SNMP-RMON
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 SNMP Configuration
1-3
1.2 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
Technologies 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
Add a new user to an
SNMP agent group
snmp-agent usm-user
v3
user-name
group-name
[
authentication-mode
{
md5
|
sha
}
auth-password
[
privacy-mode
{
aes128
|
des56
}
priv-password
] ]
[
acl
acl-number
]
Required
Configure the maximum
size of an SNMP packet
that can be received or
sent by an SNMP agent
snmp-agent packet
max-size
byte
-
count
Optional
1,500 bytes by default
Configure the engine ID
for a local SNMP agent
snmp-agent
local-engineid
engineid
Optional
Company ID and device
ID by default