< Home

Configuring the OSPF Trap Function

Traps are the notifications sent from a router to inform the NMS of the fault detected by the system.

Procedure

  1. Access the system view.

    system-view

  2. Enable the OSPF trap function.

    snmp-agent trap enable feature-name ospf  [ trap-name { hwospfv2intraareadripaddressconflict | hwospfv2intraarearouteridconflict | ospfifauthfailure | ospfifconfigerror | ospfifrxbadpacket | ospfifstatechange | ospflsdbapproachingoverflow | ospflsdboverflow | ospfmaxagelsa | ospfnbrrestarthelperstatuschange | ospfnbrstatechange | ospfnssatranslatorstatuschange | ospforiginatelsa | ospfrestartstatuschange | ospftxretransmit | ospfvirtifauthfailure | ospfvirtifconfigerror | ospfvirtifrxbadpacket | ospfvirtifstatechange | ospfvirtiftxretransmit | ospfvirtnbrrestarthelperstatuschange | ospfvirtnbrstatechange } ]

    To enable the traps of one or more events, you can specify type-name.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >