To do...
Enable OSPF trap
generation
Enabling message logging
Follow these steps to enable message logging:
To do...
Enter system view
Enter OSPF view
Enable message logging
Enabling the advertisement and reception of opaque LSAs
With this feature enabled, OSPF can receive and advertise Type 9, Type 10, and Type 1 1 opaque LSAs.
Follow these steps to enable the advertisement and reception of opaque LSAs:
To do...
Enter system view
Enter OSPF view
Enable the advertisement and
reception of opaque LSAs
Configuring OSPF to give priority to receiving and processing
hello packets
To ensure OSPF runs properly, a router receives and processes hello packets and other protocol packets
at the same time. When the router has established neighbor relationships with multiple routers, and the
routing table size is big, the router must receive and process large numbers of packets. In this case, you
can configure OSPF to give priority to receiving and processing hello packets to ensure stable neighbor
relationships.
Follow these steps to configure OSPF to give priority to receiving and processing hello packets:
To do...
Enter system view
Use the command...
snmp-agent trap enable ospf [ process-id ]
[ ifauthfail | ifcfgerror | ifrxbadpkt |
ifstatechange | iftxretransmit |
lsdbapproachoverflow | lsdboverflow |
maxagelsa | nbrstatechange | originatelsa
| vifcfgerror | virifauthfail | virifrxbadpkt
| virifstatechange | viriftxretransmit |
virnbrstatechange ] *
Use the command...
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
enable log [ config | error | state ]
Use the command...
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
opaque-capability enable
Use the command...
system-view
92
Remarks
Optional
Enabled by default
Remarks
—
—
Required
Not enabled by default.
Remarks
—
—
Optional
Disabled by default
Remarks
—