R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Configuration Guide
116
• Configure Router C as an ASBR to redistribute external routes (static routes), and configure a filter
policy on Router C to filter out route 3.1.3.0/24.
• Configure a routing policy on Router A to filter route 10.5.1.0/24.
Figure 31 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure OSPF basic functions (see "Configuring OSPF basic functions").
3. Configure OSPF to redistribute routes:
# On Router C, configure a static route destined for network 3.1.1.0/24.
<RouterC> system-view
[RouterC] ip route-static 3.1.1.0 24 10.4.1.2
# On Router C, configure a static route destined for network 3.1.2.0/24.
[RouterC] ip route-static 3.1.2.0 24 10.4.1.2
# On Router C, configure a static route destined for network 3.1.3.0/24.
[RouterC] ip route-static 3.1.3.0 24 10.4.1.2
# Configure OSPF to redistribute static routes on Router C.
[RouterC] ospf 1
[RouterC-ospf-1] import-route static
[RouterC-ospf-1] quit
# Display the OSPF routing table of Router A.
<RouterA> display ip routing-table
Routing Tables: Public
Destinations : 12 Routes : 12
Destination/Mask Proto Pre Cost NextHop Interface
3.1.1.0/24 O_ASE 150 1 10.2.1.2 GE2/1/2
3.1.2.0/24 O_ASE 150 1 10.2.1.2 GE2/1/2
3.1.3.0/24 O_ASE 150 1 10.2.1.2 GE2/1/2
10.1.1.0/24 Direct 0 0 10.1.1.1 GE2/1/1
10.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.2.1.0/24 Direct 0 0 10.2.1.1 GE2/1/2
10.2.1.1/32 Direct 0 0 127.0.0.1 InLoop0
10.3.1.0/24 OSPF 10 4 10.1.1.2 GE2/1/1










