H3C Technologies H3C S10500 Series Switches User Manual

Page 136

Advertising
background image

121

# Configure Switch A

<SwitchA> system-view

[SwitchA] router id 1.1.1.1

[SwitchA] ospf 100

[SwitchA-ospf-100] area 0

[SwitchA-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255

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

# Configure Switch B

<SwitchB> system-view

[SwitchB] router id 2.2.2.2

[SwitchB] ospf 100

[SwitchB-ospf-100] area 0

[SwitchB-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255

[SwitchB-ospf-100-area-0.0.0.0] quit

# Configure Switch C

<SwitchC> system-view

[SwitchC] router id 3.3.3.3

[SwitchC] ospf 100

[SwitchC-ospf-100] area 0

[SwitchC-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255

[SwitchC-ospf-100-area-0.0.0.0] quit

3.

Configure OSPF GR.

# Configure Switch A as the non-IETF standard OSPF GR Restarter: enable the link-local signaling
capability, the out-of-band re-synchronization capability, and non IETF standard Graceful Restart

capability for OSPF process 100.

[SwitchA-ospf-100] enable link-local-signaling

[SwitchA-ospf-100] enable out-of-band-resynchronization

[SwitchA-ospf-100] graceful-restart

[SwitchA-ospf-100] return

# Configure Switch B as the GR Helper: enable the link-local signaling capability and the out-of-band

re-synchronization capability for OSPF process 100.

[SwitchB-ospf-100] enable link-local-signaling

[SwitchB-ospf-100] enable out-of-band-resynchronization

# Configure Switch C as the GR Helper: enable the link-local signaling capability and the out-of-band

re-synchronization capability for OSPF process 100.

[SwitchC-ospf-100] enable link-local-signaling

[SwitchC-ospf-100] enable out-of-band-resynchronization

4.

Verify the configuration.

# After the configurations on Switch A, Switch B, and Switch C are completed and the switches are

running steadily, enable OSPF Graceful Restart event debugging and then restart the OSPF process using

GR on Switch A.

<SwitchA> debugging ospf event graceful-restart

<SwitchA> terminal monitor

<SwitchA> terminal debugging

<SwitchA> reset ospf 100 process graceful-restart

Warning : Reset OSPF process? [Y/N]:y

Advertising