Configuring route filtering, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 138

Advertising
background image

122

OSPF Process 1 with Router ID 192.168.1.40

Routing Tables

Routing for Network

Destination Cost Type NextHop AdvRouter Area

44.44.44.44/32 2 Stub 12.12.12.2 44.44.44.44 0.0.0.0

14.14.14.0/24 2 Transit 12.12.12.2 192.168.1.41 0.0.0.0

22.22.22.22/32 0 Stub 22.22.22.22 192.168.1.40 0.0.0.0

12.12.12.0/24 1 Transit 12.12.12.1 192.168.1.40 0.0.0.0

Total Nets: 4

Intra Area: 4 Inter Area: 0 ASE: 0 NSSA: 0

# Display OSPF neighbors and routes on Switch B.

<SwitchB> display ospf peer

OSPF Process 1 with Router ID 44.44.44.44

Neighbor Brief Information

Area: 0.0.0.0

Router ID Address Pri Dead-Time Interface State

192.168.1.41 14.14.14.2 1 33 Vlan200 Full/DR

<SwitchB> display ospf routing

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 shows that when an active/standby switchover occurs on Switch S, the neighbor

relationships and routing information on Switch A and Switch B have not changed and the traffic
from Switch A to Switch B has not been impacted.

Configuring route filtering

Network requirements

In

Figure 49

, 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.

Advertising