R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
298
• 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 information center configuration, see System Management and
Maintenance Configuration Guide.)
Follow these steps to configure OSPF network management:
To do… Use the command…
Remarks
Enter system view
system-view
—
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
Enabling message logging
Follow these steps to enable message logging:
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 message logging
enable log [ config | error | state ]
Required
Not enabled by default.
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.
Follow these steps to enable the advertisement and reception of opaque LSAs:
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 advertisement and
reception of opaque LSAs
opaque-capability enable
Optional
Disabled by default
Configuring OSPF to give priority to receiving and processing hello packets
To ensure OSPF runs normally, a router receives and processes Hello packets and other protocol packets
at the same time. When the router has established neighbor relationships with multiple neighboring
routers and the routing table size is big, the router will need to receive and process large numbers of