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