beautypg.com

Ospf configuration examples, Configuring ospf basic functions, Network requirements – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 270: Network diagram, Configuration procedure

background image

25-36

OSPF Configuration Examples

These examples only cover commands for OSPF configuration.

Configuring OSPF Basic Functions

Network requirements

As shown in the following figure, all switches run OSPF. The AS is split into three areas, in which, AC
and Switch A act as ABRs to forward routing information between areas.

After configuration, all devices can learn routes to every network segment in the AS.

Network diagram

Figure 25-21

Network diagram for OSPF basic configuration

Configuration procedure

1) Configure IP addresses for interfaces (omitted)

2) Configure OSPF basic functions

# Configure AC.

system-view

[AC] ospf

[AC-ospf-1] area 0

[AC-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255

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

[AC-ospf-1] area 1

[AC-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255

[AC-ospf-1-area-0.0.0.1] quit

[AC-ospf-1] quit

# Configure Switch A.

system-view