H3C Technologies H3C S3100 Series Switches User Manual
Page 450

Operation Manual – SNMP and RMON
H3C S3100-52P Ethernet Switch
Chapter 1 SNMP Configuration
1-5
Table 1-3
Configure basic SNMP functions (SNMP V3)
Operation
Command
Description
Enter system view
system-view
—
Enable SNMP agent
snmp-agent
Required
By default, SNMP
Agent is disabled.
You can enable
SNMP agent by
executing this
command or any of
the commands used
to configure SNMP
agent.
Set system information
snmp-agent sys-info
{ contact sys-contact |
location
sys-location |
version
{ { v1 | v2c |
v3
}* | all } }
Optional
By default, the contact
information for system
maintenance is "
Hangzhou H3C
Technologies.
Co.,Ltd.", the system
location is "Hangzhou
China", and the
SNMP version is
SNMPv3.
Set an SNMP 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 user to an SNMP group
snmp-agent usm-user
v3
user-name
group-name
[ authentication-mode
{ md5 | sha }
auth-password
[ privacy-mode des56
priv-password
] ] [ acl
acl-number
]
Required
Set the maximum SNMP
packet size for SNMP agent
snmp-agent packet
max
-size byte-count
Optional
By default, the
maximum SNMP
packet size is 1,500
bytes.