425
Enabling logging for neighbor state changes
With this feature enabled, the router delivers logs about neighbor state changes to its information
center. The information center processes logs according to user-defined output rules (whether to
output logs and where to output). For more information about the information center, see Network
Management and Monitoring Configuration Guide.
To enable logging for neighbor state changes:
1. Enter system view.
system-view
N/A
2. Enter OSPFv3 view.
ospfv3
[ process-id |
vpn-instance
vpn-instance-name ] *
N/A
3. Enable logging for neighbor
state changes.
log-peer-change
By default, this feature is enabled.
Configuring OSPFv3 network management
This task involves the following configurations:
• Bind an OSPFv3 process to MIB so that you can use network management software to manage
the specified OSPFv3 process.
• Enable SNMP notifications for OSPFv3 to report important events.
• Set the SNMP notification output interval and the maximum number of SNMP notifications that
can be output at each interval.
To report critical OSPFv3 events to an NMS, enable SNMP notifications for OSPFv3. For SNMP
notifications to be sent correctly, you must also configure SNMP on the device. For more information
about SNMP configuration, see the network management and monitoring configuration guide for the
device.
The standard OSPFv3 MIB provides only single-instance MIB objects. To identify multiple OSPFv3
processes in the standard OSPFv3 MIB, you must assign a unique context name to each OSPFv3
process.
Context is a method introduced to SNMPv3 for multiple-instance management. For SNMPv1/v2c,
you must specify a community name as a context name for protocol identification.
To configure OSPFv3 network management:
1. Enter system view.
N/A
2. Bind MIB to an OSPFv3
process.
ospfv3 mib-binding
process-id
By default, MIB is bound to the
process with the smallest
process ID.
3. Enable SNMP notifications
for OSPFv3.
snmp-agent
trap
enable ospfv3
[
grrestarter-status-change
|
grhelper-status-change
|
if-state-change
|
if-cfg-error
|
if-bad-pkt
|
neighbor-state-change
|
nssatranslator-status-change
|
By default, SNMP notifications
for OSPFv3 are enabled.