Data Preparation
Before configuring a device to communicate with an NM station by running SNMPv3, you need
the following data.
No.
Data
1
SNMP version, user name and user group name, address of the alarm destination host,
and administrator's contact information and location
2
(Optional) ACL number, IP address of the NM station, and MIB object
3
(Optional) Name of the alarm-sending module, source address of trap messages,
queue length for trap messages, and lifetime of trap messages
1.4.2 Configuring Basic SNMPv3 Functions
After basic SNMP functions are configured, an NM station can perform basic operations such
as Get and Set operations on a managed device, and the managed device can send alarms to the
NM station.
Context
Steps
, and
are mandatory for the configuration of basic SNMP functions. After the
configurations, basic SNMP communication can be conducted between the NM station and
managed device.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
(Optional) Run:
snmp-agent
The SNMP agent function is enabled.
By default, the SNMP agent function is disabled. Running any command with the parameter
snmp-agent
can enable the SNMP agent function, so this step is optional.
Step 3
(Optional) Run:
snmp-agent sys-info
version
v3
The SNMP version is set.
By default, SNMPv1, SNMPv2c, and SNMPv3 is enabled.
Step 4
Run:
snmp-agent group
v3
group-name
{
authentication
|
noauth
|
privacy
}
An SNMPv3 user group is configured.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
1 SNMP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
23