Clear Commands

screen

Syntax

screen

Context

clear

Description

This command allows an operator to clear the Telnet or console screen.

ptp

Syntax

ptp

Context

clear>system

Description

This command enables the context to clear Precision Timing Protocol (PTP) information.

clock

Syntax

clock clock-id statistics

clock csm port port-id statistics

Context

clear>system>ptp

Description

This command clears PTP clock information.

Parameters

clock-id

specifies the clock ID of this PTP instance

Values

1 to 16 for PTP clocks that use IPv4 encapsulation

csm for a PTP clock that uses Ethernet encapsulation

port-id

specifies a PTP Ethernet port in the format slot/mda/port

statistics

clears statistics on the PTP clock or Ethernet port

script-control

Syntax

script-control

Context

clear>system

Description

This command enables the context to clear script information.

script-policy

Syntax

script-policy

Context

clear>system>script-control

Description

This command enables the context to clear script policy information.

completed

Syntax

completed [policy-name] [owner policy-owner]

Context

clear>system>script-control>script-policy

Description

This command clears completed script run history entries.

Parameters

policy-name

specifies to only clear history entries for the specified script policy

owner-name

specifies to only clear history entries for script policies with the specified owner

sync-if-timing

Syntax

sync-if-timing {external | ref1 | ref2}

Context

clear>system

Description

This command allows an operator to individually clear (re-enable) a previously failed reference. As long as the reference is one of the valid options, this command is always executed. An inherent behavior enables the revertive mode which causes a re-evaluation of all available references.

Parameters

external

clears the third timing reference

ref1

clears the first timing reference

ref2

clears the second timing reference

trace

Syntax

trace log

Context

clear

Description

This command allows an operator to clear the trace log.