
Operation Manual – Routing Protocol
H3C S5600 Series Ethernet Switches
Chapter 4 OSPF Configuration
4-29
4.7.8 Enabling OSPF Logging of Neighbor State Changes
Follow these steps to enable OSPF logging of neighbor state changes:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
[
router-id
router-id
] ]
—
Enable the OSPF logging
of neighbor state changes
log-peer-change
Required
Disabled by default
4.7.9 Configuring OSPF Network Management
Follow these steps to configure OSPF network management (NM):
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure OSPF
MIB binding
ospf mib-binding process-id
Optional
By default, OSPF MIB is
bound to the first enabled
OSPF process.
Enable OSPF
Trap sending
snmp-agent trap enable ospf
[ process-id ] [ ifauthfail |
ifcfgerror | ifrxbadpkt |
ifstatechange | iftxretransmit |
lsdbapproachoverflow |
lsdboverflow | maxagelsa |
nbrstatechange | originatelsa |
virifauthfail | virifcfgerror |
virifrxbadpkt | virifstatechange
| viriftxretransmit |
virnbrstatechange ] *
Optional
You can configure OSPF
to send diversified SNMP
TRAP messages and
specify a certain OSPF
process to send SNMP
TRAP messages by
process ID.