Configuring ospfv3 route redistribution, Network requirements – H3C Technologies H3C S10500 Series Switches User Manual

Page 315

Advertising
background image

300

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

[SwitchD] display ospfv3 peer

OSPFv3 Area ID 0.0.0.0 (Process 1)

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

Neighbor ID Pri State Dead Time Interface Instance ID

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

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

3.3.3.3 2 Full/Backup 00:00:40 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. Switch C becomes the BDR.

[SwitchA] display ospfv3 peer

OSPFv3 Area ID 0.0.0.0 (Process 1)

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

Neighbor ID Pri State Dead Time Interface Instance ID

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

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

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

# Display neighbor information on Switch D. Switch A becomes the DR.

[SwitchD] display ospfv3 peer

OSPFv3 Area ID 0.0.0.0 (Process 1)

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

Neighbor ID Pri State Dead Time Interface Instance ID

1.1.1.1 100 Full/DR 00:00:34 Vlan100 0

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

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

Configuring OSPFv3 route redistribution

Network requirements

As shown in

Figure 108

:

Switch A, Switch B, and Switch C are in Area 2.

OSPFv3 process 1 and OSPFv3 process 2 are enabled on Switch B. Switch B communicates with
Switch A and Switch C through OSPFv3 process 1 and OSPFv3 process 2 respectively.

Configure OSPFv3 process 2 to redistribute direct routes and the routes from OSPFv3 process 1 on
Switch B and set the default metric for redistributed routes to 3. Then, Switch C can learn the routes

destined for 1::0/64 and 2::0/64, and Switch A cannot learn the routes destined for 3::0/64 or
4::0/64.

Advertising