Huawei AR150/200 Series Configuration Manual page 20

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
After the community name is set, if no MIB view is configured, the NM station that uses the
community name has rights to access objects in the Viewdefault view.
Step 5 Run:
snmp-agent target-host trap-paramsname paramsname v1 securityname securityname [
binding-private-value ]
The parameters of the trap messages sent from device are configured.
Step 6 Run:
snmp-agent target-host trap-hostname hostname address ipv4-addr [ udp-port udp-
portid ] [ public-net | vpn-instance vpn-instance-name ] trap-paramsname paramsname
The destination address for the alarms and error codes sent from the device is configured.
The descriptions of the command parameters are as follows:
l The default destination UDP port number is 162. In some special cases (for example, port
l If the alarms sent from the managed device to the NM station must be transmitted over a
Step 7 (Optional) Run:
snmp-agent sys-info { contact contact | location location }
The equipment administrator's contact information or location is configured.
This step is required when the NM station administrator must know equipment administrators'
contact information and locations when the NM station manages many devices. This allows the
NM station administrator to contact the equipment administrators quickly for fault location and
rectification.
To configure both the equipment administrator's contact information and location, you must run
the command twice to configure them separately.
----End
Follow-up Procedure
If finer device management is required, follow directions below to configure a managed device:
l
l
l
Issue 02 (2012-03-30)
mirroring is configured to prevent a well-known port from being attacked), the parameter
udp-port can be used to specify an unknown UDP port number. This ensures normal
communication between the NM station and managed device.
public network, the parameter public-net must be configured. If the alarms sent from the
managed device to the NM station must be transmitted over a private network, the parameter
vpn-instance vpn-instance-name must be used to specify a VPN that takes over the sending
task.
To allow a specified NM station that uses the community name to manage specified objects
on the device, follow the procedure described in
the
Device.
To allow a specified module on the managed device to report alarms to the NM station,
follow the procedure described in
If the NM station and managed device are both Huawei products, follow the procedure
described in
Enabling the SNMP Extended Error Code Function
send more types of error codes. This allows more specific error identification and facilitates
your fault location and rectification.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
[ private-netmanager ]
Configuring the Trap
1 SNMP Configuration
Controlling the NM Station's Access to
Function.
to allow the device to
9

Advertisement

Table of Contents
loading

Table of Contents