Huawei NetEngine5000E Configuration Manual page 66

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
After SNMPv1 is enabled on the managed device, the device supports both SNMPv1 and
SNMPv3. This means that the device can be monitored and managed by NM stations running
SNMPv1 or SNMPv3.
Step 4 Run:
snmp-agent community { read | write } { community-name | cipher community-name1 }
[ acl acl-number | mib-view view-name ]
The community name is set.
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 (1.3.6.1).
l read: NM station administrator configures the read parameter to provide read access to the
l write: NM station administrator configures the write parameter to provide read and write
Step 5 Choose either of the following commands as needed to configure a destination IP address for
the alarms and error codes sent from the device.
l To configure a destination IPv4 address for the alarms and error codes sent from the device,
l To configure a destination IPv6 address for the alarms and error codes sent from the device,
The descriptions of the command parameters are as follows:
l udp-port: The default UDP port number is 162. In some special cases (for example, port
l vpn-instance: If the alarms sent from the managed device to the NM station need to be
l securityname: Identifies the alarm sender, which helps you learn the alarm source.
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.
Issue 01 (2011-10-15)
low level administrator for a specified view.
access to the low level administrator for a specified view.
run:
snmp-agent target-host trap address udp-domain ip-address [ udp-port port-
number ] [ vpn-instance vpn-instance-name ] params securityname security-name
[ v1 ] [ private-netmanager ]
run:
snmp-agent target-host trap ipv6 { address udp-domain ipv6-address } [ udp-port
port-number ] params securityname security-name [ v1 ]
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
communication between the NM station and managed device.
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.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
*
3 SNMP Configuration
58

Advertisement

Table of Contents
loading

Table of Contents