beautypg.com

Enabling message logging, Configuring ospf to give priority to receiving and, Processing hello packets – H3C Technologies H3C S7500E Series Switches User Manual

Page 114

background image

4-45

To do…

Use the command…

Remarks

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, the OSPF router 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