Ospf route summarization configuration example, Network requirements – H3C Technologies H3C S5560 Series Switches User Manual

Page 122

Advertising
background image

106

Type Destination Area Cost Nexthop RtType

Intra 10.3.1.1 0.0.0.2 10 10.3.1.1 ABR

Inter 10.4.1.1 0.0.0.2 22 10.3.1.1 ASBR

# Display the OSPF routing table on Switch D.

<SwitchD> display ospf routing

OSPF Process 1 with Router ID 10.5.1.1

Routing Tables

Routing for Network

Destination Cost Type NextHop AdvRouter Area

10.2.1.0/24 22 Inter 10.3.1.1 10.3.1.1 0.0.0.2

10.3.1.0/24 10 Transit 10.3.1.2 10.3.1.1 0.0.0.2

10.4.1.0/24 25 Inter 10.3.1.1 10.3.1.1 0.0.0.2

10.5.1.0/24 10 Stub 10.5.1.1 10.5.1.1 0.0.0.2

10.1.1.0/24 12 Inter 10.3.1.1 10.3.1.1 0.0.0.2

Routing for ASEs

Destination Cost Type Tag NextHop AdvRouter

3.1.2.0/24 1 Type2 1 10.3.1.1 10.4.1.1

Total Nets: 6

Intra Area: 2 Inter Area: 3 ASE: 1 NSSA: 0

OSPF route summarization configuration example

Network requirements

As shown in

Figure 24

:

Configure OSPF on Switch A and Switch B in AS 200.

Configure OSPF on Switch C, Switch D, and Switch E in AS 100.

Configure an EBGP connection between Switch B and Switch C. Configure Switch B and Switch C
to redistribute OSPF routes and direct routes into BGP and BGP routes into OSPF.

Configure Switch B to advertise only summary route 10.0.0.0/8 to Switch A.

Advertising
This manual is related to the following products: