Huawei S9300 Configuration Manual page 24

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
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 v1
The SNMP version is set.
By default, SNMPv3 is enabled.
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
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 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 The default destination UDP port number is 162. In some special cases (for example, port
l The parameter securityname identifies the alarm sender, which will help you learn the alarm
l If the NM station and managed device are both Huawei products, the parameter private-
Step 6 (Optional) Run:
snmp-agent sys-info { contact contact | location location }
The equipment administrator's contact information or location is configured.
Issue 01 (2012-03-15)
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.
run:
snmp-agent target-host trap address udp-domain ip-address params securityname
security-string [
v1 ]
run:
snmp-agent target-host trap ipv6 address udp-domain ip-address [ udp-port port-
number ] params securityname security-string [ v1 ] [private-netmanager ]
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.
source.
netmanager can be configured to add more information to alarms, such as the alarm type,
alarm sequence number, and alarm sending time. The information will help you locate and
rectify faults more quickly.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 SNMP Configuration
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents