Clear Commands

saa

Syntax

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

Context

clear

Description

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

Parameters

test-name

specifies the SAA test to clear. The test name must already be configured in the config>saa>test context.

test-owner

specifies the owner of an SAA operation, up to 32 characters in length

Default

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

dual-ended-loss-test

Syntax

dual-ended-loss-test mep mep-id domain md-index association ma-index

Context

clear>eth-cfm

Description

This command clears the accumulated frame counters during a dual-ended loss measurement (LM) test.

The LM counters are reset when a MEP on the datapath is created or deleted automatically by the system for network or configuration reasons. Some of the reasons for creating or deleting a MEP are as follows, excluding the general functions of manually creating or deleting a MEP:

  • for SAPs

    • changing the ccm-ltm-priority using the CLI or SNMP

    • changing the ccm-interval using the CLI or SNMP

    • changing the SAP egress QoS policy

    • changes to the SAP state (due to, for example, moving (bouncing) ports, link loss forwarding (LLF), or network changes that require recreation of flows)

  • for spoke SDPs

    • changing the VC type on the spoke SDP

    • changing the VC vc-tag on the spoke SDP

    • changing the VC etype on the spoke SDP

    • change to the spoke SDP state due to network conditions

Note:

The clear>dual-ended loss-test command only resets the ‟Accumulated Frames During the Test” results for both the far end and near end. The frame counters for aggregated results are not reset. See Output Example - before fewer than two CCMs.

Parameters

mep-id

specifies the target MEP ID

Values

1 to 8191

md-index

displays the index of the MD to which the MEP is associated, or 0, if none

Values

1 to 4294967295

ma-index

displays the index of the MA to which the MEP is associated, or 0, if none

Values

1 to 4294967295

Output

The following outputs are examples of displays after a show>eth-cfm>.....>dual-ended-loss-test command is issued:

  • before receiving fewer than two CCMs after the clear command is issued

  • after receiving two or more CCMs after the clear command is issued

Output Example - before fewer than two CCMs
===============================================================================
Eth CFM Dual-Ended Test Result
===============================================================================
Far-End Mac Addr  :    00:1a:f0:69:d4:a6       Duration (sec)  : 0
 
Latest Frame Counters    In Previous CCM       In Current CCM     Delta
   TxLocal        :      0                     0                  0
   RxFarEnd       :      0                     0                  0
   TxFarEnd       :      0                     0                  0
   RxLocal        :      0                     0                  0
Accumulated Frames During Test                Near-End            Far-End
   Total Tx       :                            0                  0
   Total Rx       :                            0                  0
   Total Loss     :                            0                  0
   Loss Ratio(%)  :                            0.00               0.00
  
===============================================================================
Output Example - after two or more CCMs
===============================================================================
Eth CFM Dual-Ended Test Result
===============================================================================
Far-End Mac Addr  :    00:1a:f0:69:d4:a6       Duration (sec)  : 2  
 
Latest Frame Counters    In Previous CCM       In Current CCM     Delta
   TxLocal        :      123556                123566             10
   RxFarEnd       :      123550                123560             10
   TxFarEnd       :      123550                123560             10
   RxLocal        :      123556                123566             10

Accumulated Frames During Test                Near-End            Far-End
   Total Tx       :                           10                  10
   Total Rx       :                           10                  10
   Total Loss     :                           0                   0
   Loss Ratio(%)  :                           0.00                0.00
  
=======================================================================

server

Syntax

server

Context

clear>test-oam>twamp>

Description

This command clears the statistics for the TWAMP server.

testhead

Syntax

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

Context

clear

Description

This command clears the ITU-T Y.1564 test head statistics.

Parameters

test-name

specifies a Y.1564 test to clear

test-owner

clears all Y.1564 tests assigned to a specific owner