Configuring ospf to advertise a summary route, Network requirements, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 122

Advertising
background image

107

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

Configuring OSPF to advertise a summary route

Network requirements

As shown in

Figure 40

:

Switch A and Switch B are in AS 200, which runs OSPF.

Switch C, Switch D, and Switch E are in AS 100, which runs OSPF.

An eBGP connection is established between Switch B and Switch C. Switch B and Switch C are

configured to redistribute OSPF routes and direct routes into BGP and BGP routes into OSPF.

Switch B is configured with route summarization and advertises only the summary route 10.0.0.0/8

to reduce Switch A's routing table size.

Figure 40 Network diagram for OSPF summary route advertisement

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown)

2.

Configure OSPF basic functions.

# Configure Switch A.

<SwitchA> system-view

[SwitchA] ospf

[SwitchA-ospf-1] area 0

[SwitchA-ospf-1-area-0.0.0.0] network 11.2.1.0 0.0.0.255

[SwitchA-ospf-1-area-0.0.0.0] quit

Advertising