Configuring Snmp Traps; Introduction To Snmp Traps; Enabling Snmp Traps - H3C S3100V2-52TP Configuration Manual

Network management and monitoring
Hide thumbs Also See for S3100V2-52TP:
Table of Contents

Advertisement

NOTE:
Disable SNMP logging in normal cases to prevent a large amount of SNMP logs from decreasing device
performance.
The total output size for the node field (MIB node name) and the value field (value of the MIB node) in
each log entry is 1024 bytes. If this limit is exceeded, the information center truncates the data in the
fields.

Configuring SNMP traps

Introduction to SNMP traps

The SNMP agent sends traps to inform the NMS of important events, such as a reboot.
Traps fall into generic traps and vendor-specific traps. Available generic traps include authentication,
coldstart, linkdown, linkup and warmstart. All other traps are vendor-defined.
SNMP traps generated by a module are sent to the information center. You can configure the information
center to enable or disable outputting the traps from a module by their severity and set output
destinations. For more information about the information center, see the chapter "Information center
configuration."

Enabling SNMP traps

Enable SNMP traps only when necessary. SNMP traps are memory-intensive and may affect device
performance.
Follow these steps to enable traps:
To do...
Enter system view
Enable traps globally
Enter Layer 2 Ethernet port
view, or VLAN interface
view
Enable link state traps
NOTE:
To generate linkUp or linkDown traps when the link state of an interface changes, you must enable the
linkUp or linkDown trap function globally by using the snmp-agent trap enable [ standard [ linkdown
| linkup ] * ] command and on the interface by using the enable snmp trap updown command.
After you enable a trap function for a module, whether the module generates traps also depends on the
configuration of the module. For more information, see the configuration guide for each module.
Use the command...
system-view
snmp-agent trap enable [ arp rate-limit |
configuration | default-route | flash | standard
[ authentication | coldstart | linkdown | linkup |
warmstart ]* | system ]
interface interface-type interface-number
enable snmp trap updown
65
Remarks
Required
By default, all traps are
enabled.
Required
Required
Enabled by default.

Advertisement

Table of Contents
loading

Table of Contents