•
Level-3—Fault traps
•
Level-4—Alarm traps
•
Level-5—Normal but important traps
•
Level-6—Notification traps
The generated traps are sent to the information center of the device. The output rules of the traps
(whether to output the traps and the output direction) are determined according to the information
center configuration. (For more information about information center, see Network Management and
Monitoring Configuration Guide.)
To configure OSPF network management:
Step
Enter system view.
1.
Bind OSPF MIB to
2.
an OSPF process.
Enable OSPF trap
3.
generation.
Enabling message logging
Step
Enter system view.
1.
Enter OSPF view.
2.
Enable message
3.
logging.
Enabling the advertisement and reception of opaque LSAs
With this feature enabled, OSPF can receive and advertise Type 9, Type 10, and Type 11 opaque
LSAs.
To enable the advertisement and reception of opaque LSAs:
Step
Enter system view.
1.
Enter OSPF view.
2.
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 |
vifcfgerror | virifauthfail | virifrxbadpkt |
virifstatechange | viriftxretransmit |
virnbrstatechange ] *
Command
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
enable log [ config | error | state ]
Command
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
80
Remarks
N/A
Optional.
The OSPF process with the
smallest process-id is bound with
OSPF MIB by default.
Optional.
Enabled by default.
Remarks
N/A
N/A
By default, the function is
disabled.
Remarks
N/A
N/A