cfd tst

Use cfd tst to enable test (TST). The TST function detects bit errors between the source and target MEPs by using TST frames.

Syntax

cfd tst service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ number number ] [ length-of-test length ] [ pattern-of-test { all-zero | prbs } [ with-crc ] ]

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its MAC address, which is in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

number number: Specifies the number of sent TST frames. The value range for the number argument is 1 to 10, and the default is 5.

length-of-test length: Specifies the length of the Test TLV (Type/Length/Value) in the TST frame. The value range for the length argument is 4 to 1400, and the default is 64.

pattern-of-test { all-zero | prbs } [ with-crc ]: Specifies the pattern of the Test TLV in the TST frame:

Usage guidelines

To view the TST test result, use the display cfd tst command on the target MEP.

Examples

# Enable the TST function to test the bit errors between source MEP 1101 and target MEP 1003 in service instance 1.

<Sysname> cfd tst service-instance 1 mep 1101 target-mep 1003
5 TSTs have been sent. Please check the result on the remote device.

Related commands