H3C Technologies H3C S12500-X Series Switches User Manual

Page 354

Advertising
background image

340

[SwitchA-Vlan-interface100] quit

# Configure the router priority of VLAN-interface 200 as 0 on Switch B.

[SwitchB] interface vlan-interface 200

[SwitchB-Vlan-interface200] ospfv3 dr-priority 0

[SwitchB-Vlan-interface200] quit

# Configure the router priority of VLAN-interface 100 of Switch C as 2.

[SwitchC] interface Vlan-interface 100

[SwitchC-Vlan-interface100] ospfv3 dr-priority 2

[SwitchC-Vlan-interface100] quit

# Display neighbor information on Switch A. Router priorities have been updated, but the DR and
BDR are not changed.

[SwitchA] display ospfv3 peer

OSPFv3 Process 1 with Router ID 1.1.1.1

Area: 0.0.0.0

-------------------------------------------------------------------------

Router ID Pri State Dead-Time Interface Inst ID

2.2.2.2 0 2-Way/DROther 00:00:36 Vlan200 0

3.3.3.3 2 Full/Backup 00:00:35 Vlan200 0

4.4.4.4 1 Full/DR 00:00:33 Vlan200 0

# Display neighbor information on Switch D. Switch D is still the DR.

[SwitchD] display ospfv3 peer

OSPFv3 Process 1 with Router ID 4.4.4.4

Area: 0.0.0.0

-------------------------------------------------------------------------

Router ID Pri State Dead-Time Interface Inst ID

1.1.1.1 100 Full/DROther 00:00:30 Vlan100 0

2.2.2.2 0 Full/DROther 00:00:37 Vlan200 0

3.3.3.3 2 Full/Backup 00:00:31 Vlan100 0

4.

Restart DR and BDR election:
# Use the shutdown and undo shutdown commands on interfaces to restart DR and BDR election.
(Details not shown.)
# Display neighbor information on Switch A. The output shows that Switch C becomes the BDR.

[SwitchA] display ospfv3 peer

OSPFv3 Process 1 with Router ID 1.1.1.1

Area: 0.0.0.0

-------------------------------------------------------------------------

Router ID Pri State Dead-Time Interface Inst ID

2.2.2.2 0 Full/DROther 00:00:36 Vlan200 0

3.3.3.3 2 Full/Backup 00:00:35 Vlan100 0

4.4.4.4 1 Full/DROther 00:00:33 Vlan200 0

# Display neighbor information on Switch D.

Advertising
This manual is related to the following products: