H3C LS-3100-52P-OVS-H3 Operation Manual - page 577
1-39
To avoid routing loops, it is recommended to configure all the routers to be either compatible or
incompatible with the external route selection rules defined in RFC 1583.
Logging Neighbor State Changes
Follow these steps to enable the 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 |
vpn-instance instance-name ] *
—
Enable the logging of neighbor
state changes
log-peer-change
Optional
Enabled by default
Configuring OSPF Network Management
After trap generation is enabled for OSPF, OSPF generates traps to report important events. Traps fall
into the following levels:
z
Level-3, for fault traps
z
Level-4, for alarm traps
z
Level-5, for normal but important traps
z
Level-6, for notification traps
The generated traps are sent to the Information Center of the device. The output rules of the traps,
namely, whether to output the traps and the output direction, are determined according to the
Information Center configuration. (For Information Center configuration, refer to Information Center
Configuration in the System Volume.)
Follow these steps to configure OSPF network management:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Bind OSPF MIB to an
OSPF process
ospf mib-binding process-id
Optional
The first OSPF process is
bound with OSPF MIB by
default.
Enable OSPF trap
generation
snmp-agent trap enable ospf
[ process-id ] [ ifauthfail | ifcfgerror |
ifrxbadpkt | ifstatechange | iftxretransmit
| lsdbapproachoverflow | lsdboverflow |
maxagelsa | nbrstatechange |
originatelsa | vifcfgerror | virifauthfail |
virifrxbadpkt | virifstatechange |
viriftxretransmit | virnbrstatechange ] *
Optional
Enabled by default