Ospfv3 route redistribution configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 412

396
2.2.2.2 0 Full/DROther 00:00:36 0 Vlan200
3.3.3.3 2 Full/BDR 00:00:35 0 Vlan100
4.4.4.4 1 Full/DROther 00:00:33 0 Vlan200
# Display neighbor information on Switch D.
[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 InstID Interface
1.1.1.1 100 Full/DR 00:00:30 0 Vlan100
2.2.2.2 0 2-Way/DROther 00:00:37 0 Vlan200
3.3.3.3 2 Full/BDR 00:00:31 0 Vlan100
The output shows that Switch A becomes the DR.
OSPFv3 route redistribution configuration example
Network requirements
As shown in
•
Switch A, Switch B, and Switch C are in Area 2.
•
OSPFv3 process 1 and OSPFv3 process 2 run on Switch B. Switch B communicates with Switch A
and Switch C through OSPFv3 process 1 and OSPFv3 process 2.
•
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. Switch C can then 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.
Figure 91 Network diagram
Configuration procedure
1.
Configure IPv6 addresses for interfaces. (Details not shown.)
2.
Configure basic OSPFv3:
# Enable OSPFv3 process 1 on Switch A.
[SwitchA] ospfv3 1
[SwitchA-ospfv3-1] router-id 1.1.1.1
[SwitchA-ospfv3-1] quit