Clear commands

saa

Syntax

saa-test [test-name [owner test-owner]]

Context

clear

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears the SAA results for the latest and the history for this test. If the test name is omitted, all the results for all tests are cleared.

Parameters

test-name

Specifies the name of the SAA test. The test name must already be configured in the config>saa>test context.

owner test-owner

Specifies the owner of an SAA operation up to 32 characters.

Default

If a test-owner value is not specified, tests created by the CLI have a default owner ‟TiMOS CLI”.

session

Syntax

session session-name {dmm | slm | twamp-light}

Context

clear>oam-pm

Platforms

7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C

Description

This command clears the raw measurement interval for the specified session and test.

Parameters

session-name

Specifies the name of the session. 32 characters maximum.

dmm

Specifies the raw measurement interval for DMM tests.

slm

Specifies the raw measurement interval for SLM tests.

twamp-light

Specifies the raw measurement interval for TWAMP Light tests (not applicable to the 7210 SAS-K 3SFP+ 8C).

mep

Syntax

mep mep-id domain md-index association ma-index statistics

Context

clear>eth-cfm

Platforms

7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C

Description

This command clears the specified MEP.

Parameters

mep-id

Specifies the MEP ID.

Values

1 to 8191

md-index

Specifies the domain context for the MEP.

Values

1 to 4294967295

ma-index

Specifies the association context for the MEP.

Values

1 to 4294967295

statistics

Clears MEP statistics for the specified MEP.

statistics

Syntax

statistics

Context

clear>eth-cfm

Platforms

7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C

Description

This command clears the ETH-CFM statistics counters.

test-oam

Syntax

test-oam

Context

clear

Platforms

7210 SAS-D, 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C

Description

This command clears the Operations, Administration, and Maintenance test parameters.

result

Syntax

result service-test test-id [running-instance running-instance]

Context

clear>test-oam

Platforms

7210 SAS-Dxp, 7210 SAS-K 2F1C2T, 7210 SAS-K 2F6C4T, and 7210 SAS-K 3SFP+ 8C

Description

This command clears the results of all previous executions of the specified service test.

Parameters

test-id

Specifies the service test whose results are to be cleared.

Values

1 | 2 | all

running-instance

Specifies a particular instance of the service test.

Values

1 to 2147483647

twamp

Syntax

twamp

Context

clear>test-oam

Platforms

7210 SAS-D, 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, and 7210 SAS-K 2F6C4T

Description

Commands in this context clear TWAMP statistics.

server

Syntax

server

Context

clear>test-oam>twamp

Platforms

7210 SAS-D, 7210 SAS-Dxp, 7210 SAS-K 2F1C2T, and 7210 SAS-K 2F6C4T

Description

This command clears TWAMP server statistics.

testhead

Syntax

testhead result [test-name] [owner test-owner]

Context

oam>clear

Platforms

7210 SAS-D, 7210 SAS-K 2F1C2T, and 7210 SAS-K 2F6C4T

Description

This command clears the testhead results identified by the test-name and test-owner.

Parameters

result

Specifies the test results from the latest history for the test.

test-name

Specifies the name of the test.

Values

ASCII string up to 32 characters

owner test-owner

Specifies the owner of a testhead operation.

Values

ASCII string up to 32 characters

testhead

Syntax

testhead testhead-profile profile-id

Context

oam>clear

Platforms

7210 SAS-D, 7210 SAS-K 2F1C2T, and 7210 SAS-K 2F6C4T

Description

This command clears the testhead results identified by the testhead-profile.

Parameters

testhead-profile profile-id

Specifies the testhead profile ID to use with this run/session of testhead invocation.

Values

1 to 10