![Huawei S6700 Series Configuration Manual Download Page 241](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517241.webp)
[Switch B]
interface vlanif 10
[Switch B-Vlanif10]
ospfv3 dr-priority 0
[Switch B-Vlanif10]
quit
# Configure the DR priority of Switch C to 2.
[Switch C]
interface vlanif 10
[Switch C-Vlanif10]
ospfv3 dr-priority 2
[Switch C-Vlanif10]
quit
# View the neighbors of Switch A, and you can see that the other DR priority is updated but the
DR and BDR are unchanged.
[Switch A]
display ospfv3 peer
OSPFv3 Process (1)
OSPFv3 Area (0.0.0.0)
Neighbor ID Pri State Dead Time Interface Instance ID
2.2.2.2
0 2-Way/DROther
00:00:34 Vlanif10 0
3.3.3.3
2 Full/Backup
00:00:38 Vlanif10 0
4.4.4.4
1 Full/DR
00:00:31 Vlanif10 0
# View the neighbors of Switch D, and you can see that the other DR priority is updated.
[Switch D]
display ospfv3 peer
OSPFv3 Process (1)
OSPFv3 Area (0.0.0.0)
Neighbor ID Pri State Dead Time Interface Instance ID
1.1.1.1
100 Full/DROther
00:00:36 Vlanif10 0
2.2.2.2
0 Full/DROther
00:00:30 Vlanif10 0
3.3.3.3
2 Full/Backup
00:00:36 Vlanif10 0
Step 5
Perform DR/BDR election again.
# Restart all Switches (or run the
shutdown
and
undo shutdown
commands on the VLANIF
interface that establishes the OSPFv3 neighbor relationship) to re-elect the DR and BDR.
Step 6
Verify the configuration.
# View the neighbors of Switch A, and you can see that Switch C is the BDR.
[Switch A]
display ospfv3 peer
OSPFv3 Process (1)
OSPFv3 Area (0.0.0.0)
Neighbor ID Pri State Dead Time Interface Instance ID
2.2.2.2
0 Full/DROther
00:00:31 Vlanif10 0
3.3.3.3
2 Full/Backup
00:00:36 Vlanif10 0
4.4.4.4
1 Full/DROther
00:00:39 Vlanif10 0
# View the neighbors of Switch D, and you can see that Switch A is the DR.
[Switch D]
display ospfv3 peer
OSPFv3 Process (1)
OSPFv3 Area (0.0.0.0)
Neighbor ID Pri State Dead Time Interface Instance ID
1.1.1.1
100 Full/DR
00:00:39 Vlanif10 0
2.2.2.2
0 2-Way/DROther
00:00:35 Vlanif10 0
3.3.3.3
2 Full/Backup
00:00:39 Vlanif10 0
----End
Configuration Files
l
Configuration file of Switch A
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
5 OSPFv3 Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
222