beautypg.com

Ospf configuration examples, Configuring ospf basic functions, Network requirements – H3C Technologies H3C SR8800 User Manual

Page 122: Configuration procedure

background image

106

Task Command

Remarks

Reset OSPF counters.

reset ospf [ process-id ] counters [ neighbor
[ interface-type interface-number ] [ router-id ] ]

Available in user
view

Reset an OSPF process.

reset ospf [ process-id ] process [ graceful-restart ]

Available in any
view

Re-enable OSPF route
redistribution.

reset ospf [ process-id ] redistribution

Available in any
view

OSPF configuration examples

NOTE:

These examples only cover OSPF configuration related commands.

Configuring OSPF basic functions

Network requirements

As shown in

Figure 38

, all routers run OSPF. The AS is split into three areas, in which, Router A and

Router B act as ABRs.

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

Figure 38 Network diagram

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown)

2.

Configure OSPF basic functions:
# Configure Router A.

system-view

[RouterA] ospf

[RouterA-ospf-1] area 0

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

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

[RouterA-ospf-1] area 1

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

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