449
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
Destination: FF00::/8 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0
OSPFv3 route summarization configuration example
Network requirements
As shown in Figure 104:
• 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, respectively.
• On Switch A, configure IPv6 addresses 2:1:1::1/64, 2:1:2::1/64, and 2:1:3::1/64 for
VLAN-interface 200.
• On Switch B, configure OSPFv3 process 2 to redistribute direct routes and the routes from
OSPFv3 process 1. Switch C can then learn the routes destined for 2::/64, 2:1:1::/64, 2:1:2::/64,
and 2:1:3::/64.
• On Switch B, configure route summarization to advertise only summary route 2::/16 to Switch
C.
Figure 104 Network diagram
Configuration procedure
1. Configure IPv6 addresses for interfaces. (Details not shown.)
2. Configure OSPFv3:
# Enable OSPFv3 process 1 on Switch A.
<SwitchA> system-view
[SwitchA] ospfv3 1
[SwitchA-ospfv3-1] router-id 1.1.1.1
[SwitchA-ospfv3-1] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ospfv3 1 area 2
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 200
[SwitchA-Vlan-interface200] ipv6 address 2:1:1::1 64
[SwitchA-Vlan-interface200] ipv6 address 2:1:2::1 64
[SwitchA-Vlan-interface200] ipv6 address 2:1:3::1 64
Vlan-int300
3::2/64
Vlan-int300
3::1/64
Vlan-int200
2::1/64
Vlan-int100
1::1/64
Switch A
Switch B
Switch C
Vlan-int400
4::1/64
Vlan-int100
1::2/64
Process 1
Area 2
Process 2
Area 2