Configuring Trap Message; Configuration Prerequisites; Configuration Procedure - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches

1.3 Configuring Trap Message

Trap message is the information that the managed device unsolicited sends to the NMS.
Trap message is used to report some urgent and important events (e.g., the managed
device is rebooted).

1.3.1 Configuration Prerequisites

Complete SNMP basic configuration.

1.3.2 Configuration Procedure

Follow these steps to configure trap message:
Enter system view
Enable the device to
send trap messages
Enable
the port
to send
trap
messag
es
Set trap target host
address
Set the source address
to send trap messages
Set the length of the
queue of trap messages
sent to destination host
To do...
system-view
snmp-agent trap enable [ bgp
[ backwardtransition | established ]*
| configuration | flash | ospf
[ process-id ] [ ospf-trap-list ] |
standard [ authentication |
coldstart | linkdown | linkup |
warmstart ]* | system | vrrp
[ authfailure | newmaster ] ]
Enter port
interface interface-type
view or
interface-number
interface view
Enable the
port or
interface to
enable snmp trap updown
send trap
messages
Quit to
quit
system view
snmp-agent target-host trap
address udp-domain { ip-address }
[ udp-port port-number ] params
securityname security-string [ v1 |
v2c | v3 {authentication | privacy } ]
snmp-agent trap source
interface-type interface-number
snmp-agent trap queue-size size
Use the command...
1-6
Chapter 1 SNMP Configuration
Remarks
Optional
By default, the
port or the
interface is
enabled to
send trap
messages.
Required
Optional
Optional
The default
value is 100.

Advertisement

Table of Contents
loading

Table of Contents