To do...
Enter OSPF view
Enable the OSPF logging of
neighbor state changes
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
Displaying and Maintaining OSPF Configuration
Display the router ID
Display brief information about
one or all OSPF processes
Display OSPF statistics
Display OSPF LSDB information
Display OSPF peer information
Display OSPF next hop
information
ospf [ process-id [ router-id
router-id ] ]
log-peer-change
system-view
ospf mib-binding process-id
snmp-agent trap enable ospf
[ process-id ] [ ifauthfail | ifcfgerror |
ifrxbadpkt | ifstatechange |
iftxretransmit | lsdbapproachoverflow |
lsdboverflow | maxagelsa |
nbrstatechange | originatelsa |
vifauthfail | vifcfgerror | virifrxbadpkt |
virifstatechange | viriftxretransmit |
virnbrstatechange ]*
To do...
Use the command...
Use the command...
Use the command...
display router id
display ospf [ process-id ] brief
display ospf [ process-id ] cumulative
display ospf process-id area-id lsdb [ brief |
[ [ asbr | network | nssa | router | summary ]
[ ip-address ] ] [ originate-router ip-address |
self-originate ] ]
display ospf [ process-id ] lsdb [ brief | [ [ asbr |
ase | network | nssa | router | summary ]
[ ip-address ] ] [ originate-router ip-address |
self-originate ] ]
display ospf [ process-id ] peer [ brief |
statistics ]
display ospf [ process-id ] nexthop
4-26
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.
Remarks
Available in
any view