Example For Configuring A Device To Communicate With An Nm Station By Using Snmpv2C - Huawei AR150/200 Series Configuration Manual

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
snmp-agent target-host trap-hostname nms2 address 1.1.1.2 udp-port 162 trap-
paramsname trapnms2
snmp-agent target-host trap-paramsname trapnms2 v1 securityname adminnms2
snmp-agent mib-view dnsmib include hwDnsMIB
snmp-agent trap enable
snmp-agent trap queue-size 200
snmp-agent trap life 60
snmp-agent
#
return
1.5.2 Example for Configuring a Device to Communicate with an
NM Station by Using SNMPv2c
This section provides an example to describe how to configure a device to communicate with
an NM station by using SNMPv2c and how to specify the MIB objects that can be managed by
the NM station.
Networking Requirements
As shown in
across a public network. According to the network planning, NMS2 can manage DNS MIB
object on the router, and NMS1 does not manage the router.
On the router, only the modules that are enabled by default are allowed to send alarms to NMS2.
This prevents an excess of unwanted alarms from being sent to NMS2.
Equipment administrator's contact information needs to be configured on the router. This allows
the NMS administrator to contact the equipment administrator quickly if a fault occurs.
Figure 1-5 Networking diagram for configuring a device to communicate with an NM station
by using SNMPv2c
1 .1 .1 .1 /2 4
1 .1 .1 .2 /2 4
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
5.
Issue 02 (2012-03-30)
Figure
1-5, two NM stations (NMS1 and NMS2) and the router are connected
N M S 1
IP N e tw o rk
N M S 2
Enable the SNMP agent.
Configure the router to run SNMPv2c.
Configure an ACL to allow NMS2 to manage DNS MIB object on the router.
Configure the equipment administrator's contact information on the router.
Configure NMS2.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
E th 1 /0 /0
1 .1 .2 .1 /2 4
R o u te r
1 SNMP Configuration
34

Advertisement

Table of Contents
loading

Table of Contents