
Context
If a device is managed by multiple NM stations that are in the same SNMPv3 user group, note
the following points:
l
If all the NM stations need to have rights to access the objects in the Viewdefault view
(1.3.6.1), skip the following steps.
l
If some of the NM stations need to have rights to access the objects in the Viewdefault view
(1.3.6.1), skip Step
.
l
If all the NM stations need to manage specified objects on the device, skip Steps
, and
.
l
If some of the NM stations need to manage specified objects on the device, perform all the
following steps.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
acl
acl-number
A basic ACL is created to filter the NM station users that can manage the device.
Step 3
Run:
rule
[
rule-id
] {
deny
|
permit
}
source
{
source-ip-address
source-wildcard
|
any
}
A rule is added to the ACL.
Step 4
Run:
quit
Return to the system view.
Step 5
Run:
snmp-agent mib-view
{
excluded
|
included
}
view-name
oid-tree
A MIB view is created, and manageable MIB objects are specified.
By default, an NM station has rights to access the objects in the Viewdefault view (1.3.6.1).
l
If a few MIB objects on the device or some objects in the current MIB view do not or no
longer need to be managed by the NM station,
excluded
needs to be specified in the command
to exclude these MIB objects.
l
If a few MIB objects on the device or some objects in the current MIB view need to be
managed by the NM station,
included
needs to be specified in the command to include these
MIB objects.
Step 6
Run:
snmp-agent group
v3
group-name
[
authentication
|
privacy
] [
read-view
read-view
|
write-view
write-view
|
notify-view
notify-view
]
*
[
acl
acl-number
]
The read and write permissions are configured for the user group.
l
read-view
needs to be configured in the command if the NM station administrator needs the
read permission in the specified view in some cases. For example, a low-level administrator
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
1 SNMP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
30