Enabling message logging – H3C Technologies H3C SecPath F1000-E User Manual

Page 437

Advertising
background image

412

Step Command

Remarks

3.

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

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OSPF view.

ospf [ process-id | router-id router-id
| vpn-instance vpn-instance-name ] * N/A

3.

Enable message logging.

enable log [ config | error | state ]

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.
To enable the advertisement and reception of opaque LSAs:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OSPF view.

ospf [ process-id | router-id router-id
| vpn-instance vpn-instance-name ] * N/A

3.

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 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 needs to 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.
To configure OSPF to give priority to receiving and processing Hello packets:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Configure OSPF to give priority
to receiving and processing

Hello packets.

ospf packet-process
prioritized-treatment

Not configured by default.

Advertising