Ospf configuration examples, Configuring ospf basic functions, Network requirements – H3C Technologies H3C SR8800 User Manual
Page 122: Configuration procedure
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
, 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.
[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
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module