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

Page 122

Advertising
background image

106

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

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.

Figure 42 Network diagram

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown.)

2.

Configure basic OSPF:
# 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

[SwitchA-ospf-1] quit

# Configure Switch B.

Advertising