![Huawei S6700 Series Скачать руководство пользователя страница 182](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517182.webp)
# Configure Switch A.
[SwitchA]
ospf
[SwitchA-ospf-1]
graceful-restart
# Configure SwitchB.
[SwitchB]
ospf
[SwitchB-ospf-1]
graceful-restart
Step 4
Verify the configuration.
# View the GR status of Switch A.
[SwitchA]
display ospf graceful-restart
OSPF Process 1 with Router ID 1.1.1.1
Graceful-restart capability : enabled
Graceful-restart support : planned and un-planned, totally
Helper-policy support : planned and un-planned, strict lsa check
Current GR state : normal
Graceful-restart period : 120 seconds
Number of neighbors under helper:
Normal neighbors : 0
Virtual neighbors : 0
Sham-link neighbors : 0
Total neighbors : 0
Number of restarting neighbors : 0
Last exit reason:
On graceful restart : none
On Helper : none
# Verify the GR feature of Switch A.
[SwitchA]
quit
<SwitchA>
reset ospf process graceful-restart
# View the neighbor status on SwitchB.
[SwitchB]
display ospf peer
OSPF Process 1 with Router ID 1.1.1.2
Neighbors
Area 0.0.0.0 interface 1.1.1.2(Vlanif10)'s neighbors
Router ID: 1.1.1.1 Address: 1.1.1.1 GR State:
Doing GR
State:
Full
Mode:Nbr is Slave Priority: 1
DR: 1.1.1.2 BDR: 1.1.1.1 MTU: 0
Dead timer due in 29 sec
Neighbor is up for 00:01:01
Authentication Sequence: [ 0 ]
The status of the neighbor is Full.
----End
Configuration Files
l
Configuration file of Switch A
#
sysname SwitchA
#
router id 1.1.1.1
#
vlan batch 10
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.
163