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
mirroring is configured to prevent a well-known port from being attacked), the parameter
udp-port
can be used to specify a non-well-known UDP port number. This ensures normal
communication between the NM station and managed device.
l
If the alarms sent from the managed device to the NM station need to be transmitted over a
public network, the parameter
public-net
needs to be configured. If the alarms sent from the
managed device to the NM station need to be transmitted over a private network, the
parameter
vpn-instance
vpn-instance-name
needs to be used to specify a VPN that will take
over the sending task.
Step 8
(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 the managed
device:
l
To allow a specified NM station in an SNMPv3 user group to manage specified objects of
the device(such as NM station with the specified IP address), follow the procedure
described in
Controlling the NM Station's Access to the Device
l
To allow a specified module on the managed device to report alarms to the NM station,
follow the procedure described in
l
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.
1.4.3 (Optional) Controlling the NM Station's Access to the Device
This section describes how to specify an NM station and manageable MIB objects for SNMPv3-
based communication between the NM station and managed device to improve communication
security.
Context
If a device is managed by multiple NM stations that are in the same SNMPv3 user group, note
the following points:
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.
25