Enabling logging for network management, Displaying snmp – H3C Technologies H3C S3600 Series Switches User Manual
Page 859
1-7
Follow these steps to configure extended trap function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the extended trap
function
snmp-agent trap ifmib link
extended
Optional
By default, the linkUp/linkDown
trap adopts the standard format
defined in IF-MIB. For details, refer
to RFC 1213.
Enabling Logging for Network Management
Follow these steps to enable logging for network management:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable logging for network
management
snmp-agent log
{ set-operation |
get-operation | all }
Optional
Disabled by default.
z
When SNMP logging is enabled on a device, SNMP logs are output to the information center of the
device. With the output destinations of the information center set, the output destinations of SNMP
logs will be decided.
z
The severity level of SNMP logs is informational, that is, the logs are taken as general prompt
information of the device. To view SNMP logs, you need to enable the information center to output
system information with informational level.
z
For detailed description on system information and information center, refer to the Information
Center Configuration part in this manual.
Displaying SNMP
To do…
Use the command…
Remarks
Display the SNMP information
about the current device
display snmp-agent sys-info [ contact |
location | version ]*
Display SNMP packet statistics
display snmp-agent statistics
Display the engine ID of the
current device
display snmp-agent { local-engineid |
remote-engineid }
Display group information
about the device
display snmp-agent group [ group-name ]
Display SNMP user information
display snmp-agent usm-user [ engineid
engineid | username user-name | group
group-name ]*
Available in any
view.