No.
Data
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.2.2 Configuring Basic SNMPv1 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
,
are mandatory for the configuration of basic SNMP functions. After the
configurations are complete, 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
Run:
snmp-agent sys-info
version
v1
The SNMP version is set.
By default, SNMPv1, SNMPv2c, and SNMPv3 are enabled.
Step 4
Run:
snmp-agent community
{
read
|
write
}
community-name
The community name is set.
l
read
must be configured in the command if the NM station administrator requires the read
permission in a specified view in some cases. For example, a low-level administrator must
read certain data.
l
write
must be configured in the command if the NM station administrator requires the read
and write permissions in a specified view in some cases. For example, a high-level
administrator must read and write certain data.
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.
8