Description:
Layer 2 learning configuration. Layer 2 learning teaches the DUT the source MAC address of streams configured on the test port. One project can contain exactly one L2LearningConfig.
Tcl example:
stc::get [stc::get project1 -children-l2learningconfig]
Automatically created from: Project
Attribute | Description | ||||||
---|---|---|---|---|---|---|---|
Common Writable Attributes | Active, Name | ||||||
EncapOption |
Which encapsulation to use for layer 2 Rx learning frames. Type: enum Default: USE_TX_ENCAP Possible Values:
|
||||||
L2FrameSize |
Specifies whether the Layer 2 learning frame size is to match the new stream or is created at a fixed size. Tcl example: stc::config [stc::get project1 -children-l2learningconfig] -L2FrameSize FIXED Type: enum Default: SAME_AS_STREAM Possible Values:
|
||||||
L2FrameSizeFixed |
Frame size in bytes of a new layer 2 learning frame when EnumL2FrameSizeType is FIXED. Tcl example: stc::config [stc::get project1 -children-l2learningconfig] -L2FrameSizeFixed 128 Type: u32 Default: 128 |
||||||
LearningStartDelay |
Delay time in seconds before starting a Layer 2 learning frame. Tcl example: stc::config [stc::get project1 -children-l2learningconfig] -LearningStartDelay 5 Type: u32 Default: 1 |
||||||
Rate |
Rate of Layer 2 learning frames in frames per second. Tcl example: stc::config [stc::get project1 -children-l2learningconfig] -Rate 500 Type: u32 Default: 1000 |
||||||
RepeatCount |
Repeat count of Layer 2 learning frames in seconds. Tcl example: stc::config [stc::get project1 -children-l2learningconfig] -RepeatCount 5 Type: u32 Default: 3 |
There are no read-only attributes.