Operation Manual – SNMP and RMON
Quidway S5600 Series Ethernet Switches-Release 1510 Chapter 1
SNMP Configuration
Huawei Technologies Proprietary
1-4
Table 1-2 Configure SNMP basic functions for SNMP V1 and SNMP V2C
Operation Command Description
Enter system view
system-view
—
Enable SNMP Agent
snmp-agent
Optional
By default, SNMP
Agent is disabled
To enable SNMP
Agent, you can
execute this
command or those
commands used to
configure SNMP
Agent features
Set system information
snmp-agent sys-info
{ contact sys-contact |
location sys-location |
version { { v1 | v2c |
v3 }* | all } }
Required
By default, the contact
information for system
maintenance is "R&D
Beijing, Huawei
Technologies Co.,
Ltd.", the system
location is "Hangzhou
China", and the
SNMP version is
SNMP V3
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.
Direct
configu
ration
Set a
commun
ity name
snmp-agent
community { read |
write } community-name
[ acl acl-number |
mib-view view-name ]*
Set an
SNMP
group
snmp-agent group { v1
| v2c } group-name
[ read-view read-view ]
[ write-view write-view ]
[ notify-view
notify-view ] [ acl
acl-number ]
Set a
communi
ty name
and
access
authority
Indirect
configu
ration
Add a
new
user for
an
SNMP
group
snmp-agent usm-user
{ v1 | v2c } user-name
group-name [ acl
acl-number ]
Required
z Direct
configuration for
SNMP V1 and
SNMP V2C is
based on
community name
z Indirect
configuration. The
added user is
equal to the
community name
for SNMPV1 and
SNMPV2C
z You can choose
either of them as
needed