Trap configuration, Configuration prerequisites, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 474: Enabling trap transmission, 6 configuration procedure
52-6
z
Logs occupy storage space of the device, thus affecting the performance of the device. Therefore,
you are recommended to disable SNMP logging.
z
The priority of SNMP log is informational, meaning it is a common prompt of the device. To check
SNMP logs, enable the information center to output system information with the severity of
informational.
z
The size of SNMP logs cannot exceed that allowed by the information center and the sum of the
node, and value field of each log information cannot exceed 1K bytes; otherwise, the exceeded
part will be output.
z
For the detailed description of system information, the information center and the info-center
source
command, refer to Information Center in H3C WX6103 Access Controller Switch Interface
Board Configuration Guide
.
Trap Configuration
SNMP Agent sends Traps to NMS to alert the latter of critical and important events (such as restart of
the managed device).
Configuration Prerequisites
Basic SNMP configurations have been completed. These configurations include version configuration:
community name is needed when SNMPv1 and v2c are adopted; username and MIB view are needed
if SNMPv3 is adopted.
Configuration Procedure
Enabling Trap transmission
Follow these steps to enable Trap transmission:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Set to enable the device to
send Traps globally
snmp-agent trap enable
[ bgp |
configuration
| flash | ospf
[ process-id ] [ ospf-trap-list ] |
standard
[ authentication | coldstart
| linkdown | linkup | warmstart ]* |
system
| voice | vrrp [ authfailure |
newmaster
] ]
Optional
All types of Traps are allowed by
default.
Enter interface view
interface interface-type
interface-number
—
Set to enable the device to
send Traps of interface state
change
enable snmp trap updown
Optional
Transmission of Traps of interface
state change is allowed by default.