the parameter
udp-port
can be used to specify a non-well-known UDP port number. This
ensures communication between the NM station and managed device.
–
public-net
: 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.
–
vpn-instance
: 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 takes over the sending task.
–
securityname
: Identifies the alarm sender, which helps you learn the alarm source.
l
To configure a destination IPv6 address for the alarms and error codes sent from the device,
run:
snmp-agent target-host trap
ipv6
{
address
udp-domain
ipv6-address
} [
udp-port
port-number
]
params
securityname
security-name
[
v2c
]
NOTE
An IPv6 network supports only traps, not informs.
Step 6
(Optional) Run:
snmp-agent sys-info
{
contact
contact
|
location
location
}
The equipment administrators contact information or location is configured.
This step is required for the NMS administrator to view contact information and locations of the
equipment administrator when the NM station manages many devices. This helps the NMS
administrator to contact the equipment administrators for fault location and rectification.
Step 7
(Optional) Run:
snmp-agent packet max-size
byte-count
The maximum size of an SNMP packet that the device can receive or send is set.
By default, the maximum size of an SNMP packet that the device can receive or send is 1500
bytes.
After the maximum size is set, the device discards any SNMP packet that is larger than the set
size.
Step 8
Run:
commit
The configuration is committed.
----End
Follow-up Procedure
After the configuration is complete, basic communication can be conducted between the NM
station and managed device.
l
Access control allows any NM station that uses the community name to monitor and manage
all the objects on the managed device.
l
The managed device sends alarms generated by the modules that are open by default to the
NM station.
If finer device management is required, follow directions below to configure the managed
device:
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
3 SNMP Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
67