![Huawei S6700 Series Скачать руководство пользователя страница 154](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517154.webp)
4.13 Maintaining OSPF
Maintaining OSPF involves resetting OSPF and clearing OSPF statistics.
4.13.1 Resetting OSPF
Restarting OSPF can reset OSPF.
Context
CAUTION
The OSPF neighbor relationship is deleted after you reset OSPF connections with the
reset
ospf
command. Exercise caution when running this command.
To reset OSPF connections, run the following
reset ospf
commands in the user view.
Procedure
l
Run the
reset ospf
[
process-id
]
process
[
flush-waiting-timer
time
] command in the
user view to Restart the OSPF process.
----End
4.13.2 Clearing OSPF
This section describes how to clear OSPF statistics, including OSPF counters, imported
routes, and GTSM statistics on the board.
Context
CAUTION
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.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
4 OSPF Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
135