Huawei AR150/200 Series Configuration Manual page 46

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
l
Procedure
Step 1 Configure available routes between the router and the NM stations. Details for the configuration
procedure are not provided here.
Step 2 Enable the SNMP agent.
<Huawei> system-view
[Huawei] snmp-agent
Step 3 Configure the router to run SNMPv2c.
[Huawei] snmp-agent sys-info version v2c
# Check the configured SNMP version.
[Huawei] display snmp-agent sys-info version
Step 4 Configure the NM stations' access rights.
# Configure an ACL to allow NMS2 to manage and disallow NMS1 from managing the
router.
[Huawei] acl 2001
[Huawei-acl-basic-2001] rule 5 permit source 1.1.1.2 0.0.0.0
[Huawei-acl-basic-2001] rule 6 deny source 1.1.1.1 0.0.0.0
[Huawei-acl-basic-2001] quit
# Configure a MIB view.
[Huawei] snmp-agent mib-view dnsmib include 1.3.6.1.4.1.2011.5.25.194
# Configure a community name to allow NMS2 to manage the objects in the MIB view.
[Huawei] snmp-agent community write adminnms2 mib-view dnsmib acl 2001
Step 5 Configure the trap function.
[Huawei] snmp-agent target-host trap-paramsname trapnms2 v2c securityname
adminnms2
[Huawei] snmp-agent target-host trap-hostname nms2 address 1.1.1.2 trap-paramsname
trapnms2
[Huawei] snmp-agent trap queue-size 200
[Huawei] snmp-agent trap life 60
[Huawei] snmp-agent trap enable
Step 6 Configure the equipment administrator's contact information.
[Huawei] snmp-agent sys-info contact call Operator at 010-12345678
Step 7 Configure NMS2.
For details on how to configure NMS2, see the relevant NMS configuration guide.
Issue 02 (2012-03-30)
SNMP version
Community name
ACL number
IP address of the NM station
Equipment administrator's contact information
SNMP version running in the system:
SNMPv2c
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 SNMP Configuration
35

Advertisement

Table of Contents
loading

Table of Contents