Huawei AR150/200 Series Configuration Manual page 27

Enterprise routers
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
By default, the SNMP agent function is disabled. Running any command with the parameter
snmp-agent can enable the SNMP agent function, so this step is optional.
Step 3 Run:
snmp-agent sys-info version v2c
The SNMP version is set.
By default, SNMPv1, SNMPv2c, and SNMPv3 is enabled.
Step 4 Run:
snmp-agent community { read | write } community-name
The community name is set.
l read must be configured in the command if the NM station administrator requires the read
l write must be configured in the command if the NM station administrator requires the read
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 v2c 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 need to 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.
Issue 02 (2012-03-30)
permission in a specified view in some cases. For example, a low-level administrator must
read certain data.
and write permissions in a specified view in some cases. For example, a high-level
administrator must read and write certain data.
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.
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.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
[ private-netmanager ]
1 SNMP Configuration
16

Advertisement

Table of Contents
loading

Table of Contents