![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 85](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487085.webp)
Pre-configuration Tasks
Before configuring the Trap function, complete the following tasks:
l
Assigning an IP address to the switch
l
Configuring the routing protocol to make the switch and the NMS accessible
Data Preparation
To configure the Trap function, you need the following data.
No.
Data
1
(Optional) Name of the feature that generates alarms
2
(Optional) Name of the alarm that is generated by the feature
3
Destination host address of Trap messages
4
(Optional) Source address of Trap messages
5
(Optional) Queue length of Trap messages
6
(Optional) Saving time of Trap messages
1.17.2 (Optional) Enabling the switch to Send Specified Alarms to
the NM Station
Context
Do as follows on the switch enabled with the SNMP agent:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
snmp-agent trap enable
The switch is enabled to send alarms.
NOTE
When all trap functions are enabled through the
snmp-agent trap enable
command or at least three trap
functions are enabled through the
snmp-agent trap enable feature-name
command:
l
you can run the
snmp-agent trap disable
command to disable all the enabled trap functions.
l
you can run any one of the
undo snmp-agent trap enable
and
undo snmp-agent trap disable
commands to restore all trap functions to their default status.
l
To disable a specified trap function, you can run the
undo snmp-agent trap enable feature-name
command.
----End
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1 SNMP Configuration
Issue 03 (2010-09-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1-57