
–
Re-elect DR and BDR after the
reset ospf
process
command is run.
l
Run the
reset ospf
process
flush-waiting-timer
time
command to clear invalid LSAs
within the set time before LSAs time out.
l
Run the
reset ospf
[
process-id
]
process
[
graceful-restart
] command to Restart the OSPF
process in GR mode.
----End
5.15.2 Clearing OSPF
This section describes how to clear OSPF statistics, including OSPF counters, imported
routes, and GTSM statistics on the board.
Context
NOTICE
OSPF information cannot be restored after being cleared. Exercise caution when running this
command.
To clear the OSPF information, run the following
reset ospf
commands in the user view.
Procedure
l
Run the
reset ospf
[
process-id
]
counters
[
neighbor
[
interface-type
interface-number
]
[
router-id
] ] command in the user view to clear OSPF counters.
l
Run the
reset ospf
[
process-id
]
redistribution
command in the user view to clear the
routes imported by OSPF.
l
Run the
reset gtsm statistics
{
slot-id
|
all
} command in the user view to clear the GTSM
statistics on the board.
----End
5.16 Configuration Examples
This section provides several configuration examples of OSPF together with the Networking
diagram. The configuration examples explain networking requirements, configuration notes,
and configuration roadmap.
Follow-up Procedure
NOTE
This document takes interface numbers and link types of the NE40E-X8 as an example. In working
situations, the actual interface numbers and link types may be different from those used in this document.
5.16.1 Example for Configuring Basic OSPF Functions
This section provides an example for configuring basic OSPF functions. Detailed operations
include enabling OSPF on each router and specifying network segments in different areas.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
5 OSPF Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
341