L2LearningStartCommand Object


Description:

Teach the DUT the MAC address of the transmitted/received port.

Can be used with Command Sequencer: Yes

GUI Command Name: Learning: Start L2 Learning

Parents: Sequencer, StcSystem

L2LearningStartCommand Writable Attributes

Attribute Description
Common Writable Attributes ProgressCancelled
HandleList

Handle of the port, stream or emulated device.

Type: handle

Default: 0

L2LearningOption

Specifies whether the L2LearningOption takes place on Tx, or Rx, or both Tx and Rx.

Type: enum

Default: TX_RX

Possible Values:

Value Description
TX_ONLY

Transmit side.

RX_ONLY

Receive side.

TX_RX

Both transmit and receive side.

L2LearningStartCommand Read-Only Attributes

Read-Only Attribute Description
Common Read-Only Attributes ElapsedTime, EndTime, ProgressCurrentStep, ProgressCurrentStepName, ProgressCurrentValue, ProgressDisplayCounter, ProgressMaxValue, ProgressStepsCount, StartTime, State, Status
L2LearningState

State of the current layer 2 learning command.

Type: enum

Default: IDLE

Possible Values:

Value Description
IDLE

Idle state.

CONFIGURING

Configuring state.

INPROGRESS

In Progress state.

SUCCESSFUL

Successful state.

FAILURE

Failure state.