Operation Manual – SNMP
Quidway S3100 Series Ethernet Switches Chapter 1
SNMP Configuration
Huawei Technologies Proprietary
1-5
Operation Command Description
Set the device engine ID
snmp-agent
local-engineid engineid
Optional
By default, the device
engine ID is
"Enterprise Number +
device information".
Create or update the view
information
snmp-agent mib-view
{ included | excluded }
view-name oid-tree
Optional
By default, the view
name is ViewDefault
and OID is 1.
Table 1-3 Configure SNMP basic functions (SNMP V3)
Operation Command Description
Enter system view
system-view
—
Enable SNMP Agent
snmp-agent
Required
By default, SNMP
Agent is disabled.
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 "R&D
Beijing, Huawei
Technologies Co.,
Ltd.", the system
location is "Beijing
China", and the
SNMP version is
SNMP V3.
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 new user for 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