NextHop
Interface
Destination: FE80::/10
NextHop
Interface
Destination: FF00::/8
NextHop
Interface
OSPFv3 route summarization 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, 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 92 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
: ::1
: InLoop0
: ::
: NULL0
: ::
: NULL0
Figure
92:
383
Preference: 0
Cost
: 0
Protocol
: Direct
Preference: 0
Cost
: 0
Protocol
: Direct
Preference: 0