![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 86](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487086.webp)
1.17.3 (Optional) Enabling the switch to Send an Alarm Message of
a Specified Feature to the NM Station
Context
Do as follows on the switch that requires an alarm to be enabled separately:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
snmp-agent trap enable feature-name
feature-name
trap-name
trap-name
The switch is enabled to send an alarm message of a specified feature to the NM station.
To disable a specified trap function, you can run the
undo snmp-agent trap enable feature-
name
command.
----End
1.17.4 Setting the Destination Host of Trap Messages
This part describes how to configure the destination address (IP address of the NM Station) for
trap messages.
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 target-host trap
address
udp-domain
ip-address
[
udp-port
port-number
]
[
public-net
|
vpn-instance
vpn-instance-name
]
params
securityname
security-
string
[
v1
|
v2c
| [
v3
[
authentication
|
privacy
] ] ] [
private-netmanager
]
The destination host of trap messages is configured.
----End
1.17.5 (Optional) Setting the Source Interface of Trap Messages
To ensure the security of the device, you are required to configure the local loopback address
as the source address of the trap messages.
1 SNMP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1-58
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)