Configuring route filtering, Network requirements, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual
Page 139

124
OSPF Process 1 with Router ID 44.44.44.44
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
44.44.44.44/32 0 Stub 44.44.44.44 44.44.44.44 0.0.0.0
14.14.14.0/24 1 Transit 14.14.14.1 192.168.1.41 0.0.0.0
22.22.22.22/32 2 Stub 14.14.14.2 192.168.1.40 0.0.0.0
12.12.12.0/24 2 Transit 14.14.14.2 192.168.1.40 0.0.0.0
Total Nets: 4
Intra Area: 4 Inter Area: 0 ASE: 0 NSSA: 0
The output information shows that the neighbor relationships and routing information on Switch A and
Switch B have not changed. The neighbors cannot sense the switchover on Switch S.
Configuring route filtering
Network requirements
As shown in
•
All the switches in the network run OSPF. The AS is divided into three areas.
•
Switch A and Switch B work as ABRs.
•
Configure Switch C as an ASBR to redistribute external routes (static routes), and configure a filter
policy on Switch C to filter out redistributed route 3.1.3.0/24.
•
Configure a routing policy on Switch A to filter route 10.5.1.0/24.
Figure 47 Network diagram for OSPF route filtering configuration
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 Switch C, configure a static route destined for network 3.1.1.0/24.
[SwitchC] ip route-static 3.1.1.0 24 10.4.1.2