R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
414
In Figure 269, Area 2 has no direct connection to Area 0, the backbone, and Area 1 acts as the Transit
Area to connect Area 2 to Area 0 via a virtual link between Router B and Router C.
After configuration, Router B can learn routes to Area 2.
Figure 269 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown)
2. Configure OSPF basic functions:
# Configure Router A.
<RouterA> system-view
[RouterA] ospf 1 router-id 1.1.1.1
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0] quit
# Configure Router B.
<RouterB> system-view
[RouterB] ospf 1 router-id 2.2.2.2
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] area 1
[RouterB–ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255
[RouterB–ospf-1-area-0.0.0.1] quit
[RouterB-ospf-1] quit
# Configure Router C.
<RouterC> system-view
[RouterC] ospf 1 router-id 3.3.3.3
[RouterC-ospf-1] area 1
[RouterC-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.1] quit
[RouterC-ospf-1] area 2
[RouterC–ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255
[RouterC–ospf-1-area-0.0.0.2] quit
[RouterC-ospf-1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] ospf 1 router-id 4.4.4.4