beautypg.com

Ospf configuration examples, Configuring ospf basic functions, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual

Page 120: Configuration procedure

background image

4-51

To do…

Use the command…

Remarks

Re-enable OSPF route

redistribution

reset ospf [ process-id ] redistribution

OSPF Configuration Examples

These examples only cover commands for OSPF configuration.

Configuring OSPF Basic Functions

Network requirements

z

As shown in the following figure, all switches run OSPF. The AS is split into three areas, in which,

Switch A and Switch B act as ABRs to forward routing information between areas.

z

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

Figure 4-21 Network diagram for OSPF basic configuration

Configuration procedure

1) Configure IP addresses for interfaces (omitted)

2) Configure OSPF basic functions

# Configure Switch A.

system-view

[SwitchA] ospf

[SwitchA-ospf-1] area 0

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

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

[SwitchA-ospf-1] area 1

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

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

[SwitchA-ospf-1] quit