Clear commands

ospf

Syntax

ospf

Context

clear>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears and resets OSPF protocol entities.

ospf3

Syntax

ospf3

Context

clear>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears and resets OSPFv3 protocol entities.

database

Syntax

database [purge]

Context

clear>router>ospf

clear>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears all LSAs received from other nodes, sets all adjacencies better than two way to one way, and refreshes all self originated LSAs.

Parameters

purge

Clears all self-originated LSAs and reoriginates all self-originated LSAs.

export

Syntax

export

Context

clear>router>ospf

clear>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command reevaluates all effective export route policies.

neighbor

Syntax

neighbor [ip-int-name | ip-address]

Context

clear>router>ospf

clear>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command marks the neighbor as dead and reinitiates the affected adjacencies.

Parameters

ip-int-name

Clears all neighbors for the interface specified by this interface name.

ip-address

Clears all neighbors for the interface specified by this IP address.

statistics

Syntax

statistics

Context

clear>router>ospf

clear>router>ospf3

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears all neighbors, routers, interfaces, SPFs, and global statistics for OSPF or OSPFv3.