F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

785
OSPFv3 process 1 and OSPFv3 process 2 are enabled on Firewall. Firewall communicates with
Router A and Router B 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
Firewall, and set the default metric for redistributed routes to 3. Router B can then learn the routes
destined for 1::0/64 and 2::0/64, and Router A cannot learn the routes destined for 3::0/64 or
4::0/64.
Figure 394 Network diagram
1742BConfiguration procedure
1. Configure IPv6 addresses for interfaces. (Details not shown.)
2. Configure OSPFv3 basic functions:
# Enable OSPFv3 process 1 on Router A.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ospfv3 1
[RouterA-ospfv3-1] router-id 1.1.1.1
[RouterA-ospfv3-1] quit
[RouterA] interface gigabitethernet 0/2
[RouterA-GigabitEthernet0/2] ospfv3 1 area 2
[RouterA-GigabitEthernet0/2] quit
[RouterA] interface gigabitethernet 0/1
[RouterA-GigabitEthernet0/1] ospfv3 1 area 2
[RouterA-GigabitEthernet0/1] quit
# Enable OSPFv3 process 1 and OSPFv3 process 2 on Firewall.
<Firewall> system-view
[Firewall] ipv6
[Firewall] ospfv3 1
[Firewall-ospfv3-1] router-id 2.2.2.2
[Firewall-ospfv3-1] quit
[Firewall] interface gigabitethernet 0/2
[Firewall-GigabitEthernet0/2] ospfv3 1 area 2
[Firewall-GigabitEthernet0/2] quit
[Firewall] ospfv3 2
[Firewall-ospfv3-2] router-id 3.3.3.3
[Firewall-ospfv3-2] quit
[Firewall] interface gigabitethernet 0/1
[Firewall-GigabitEthernet0/1] ospfv3 2 area 2
[Firewall-GigabitEthernet0/1] quit
GE0/2
3::2/64
GE0/1
3::1/64
GE0/1
2::1/64
GE0/2
1::1/64
Router A
Firewall
Router B
GE0/1
4::1/64
GE0/2
1::2/64
Process 1
Area 2
Process 2
Area 2