Configuring extended trap, Enabling logging for network management, Displaying snmp – H3C Technologies H3C S3100 Series Switches User Manual
Page 681

1-6
Configuring Extended Trap
The extended Trap includes the following.
z
“Interface description” and “interface type” are added into the linkUp/linkDown Trap message.
When receiving this extended Trap message, NMS can immediately determine which interface on
the device fails according to the interface description and type.
z
In all Trap messages sent from the information center to the log server, a MIB object name is added
after the OID field of the MIB object. The name is for your better understanding of the MIB object.
Table 1-5 Configure extended Trap
Operation
Command
Description
Enter system view
system-view
—
Configure extended
Trap
snmp-agent trap ifmib
link extended
Optional
By default, the linkUp/linkDown Trap message
adopts the standard format defined in IF-MIB.
For details, refer to RFC 1213.
Enabling Logging for Network Management
Table 1-6 Enable logging for network management
Operation
Command
Description
Enter system view
system-view
—
Enable logging for network
management
snmp-agent log
{ set-operation |
get-operation | all }
Optional
Disabled by default.
Use the display logbuffer command to view the log of the get and set operations requested by the
NMS.
Displaying SNMP
After the above configuration, you can execute the display command in any view to view the running
status of SNMP, and to verify the configuration.