Follow these steps to configure extended trap function:
To do...
Enter system view
Configure the extended trap
function
Enabling Logging for Network Management
Follow these steps to enable logging for network management:
To do...
Enter system view
Enable logging for network
management
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.
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.
For detailed description on system information and information center, refer to the Information
Center Configuration part in this manual.
Displaying SNMP
To do...
Display the SNMP information
about the current device
Display SNMP packet statistics
Display the engine ID of the
current device
Display group information
about the device
Display SNMP user information
Use the command...
system-view
snmp-agent trap ifmib link
extended
Use the command...
system-view
snmp-agent log
{ set-operation |
get-operation | all }
Use the command...
display snmp-agent sys-info [ contact |
location | version ]*
display snmp-agent statistics
display snmp-agent { local-engineid |
remote-engineid }
display snmp-agent group [ group-name ]
display snmp-agent usm-user [ engineid
engineid | username user-name | group
group-name ]*
1-6
Remarks
—
Optional
By default, the linkUp/linkDown
trap adopts the standard format
defined in IF-MIB. For details, refer
to RFC 1213.
Remarks
—
Optional
Disabled by default.
Remarks
Available in any
view.