Ospf Configuration Examples; Configuring Ospf Basic Functions - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

To do...
Reset OSPF counters
Reset an OSPF process
Re-enable OSPF route
redistribution

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,
Switch A and Switch B act as ABRs to forward routing information between areas.
After configuration, all switches can learn routes to every network segment in the AS.
Figure 1-21 Network diagram for OSPF basic configuration
Configuration procedure
1)
Configure IP addresses for interfaces (omitted)
2)
Configure OSPF basic functions
# Configure Switch A.
<SwitchA> 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
Use the command...
reset ospf [ process-id ] counters [ neighbor
[ interface-type interface-number ] [ router-id ] ]
reset ospf [ process-id ] process
[ graceful-restart ]
reset ospf [ process-id ] redistribution
1-46
Remarks
Available in
user view

Advertisement

Chapters

Table of Contents
loading

Table of Contents