DeviceGenVlanIfParams Object


Description:

Device generator VLAN interface parameters.

Parents: EmulatedDeviceGenParams, HostGenParams, RouterGenParams

Children: DeviceGenLinkedStep

Relations:

Side name
(Type)
Relative Description
StackedOn
(DeviceGenStackedOnIf)

DeviceGenAal5IfParams, DeviceGenEthIIIfParams, DeviceGenFcIfParams, DeviceGenGreIfParams, DeviceGenHdlcIfParams, DeviceGenIpv4IfParams, DeviceGenIpv6IfParams, DeviceGenPppIfParams, DeviceGenPppoeIfParams, DeviceGenTrillIfParams, DeviceGenVlanIfParams

Next interface below this interface in the interface stack.

TopLevelIfSource
(DeviceGenTopLevelIf)

EmulatedDeviceGenParams, HostGenParams, RouterGenParams

Used to assign the top level interface parameters in the device generator.

DeviceGenVlanIfParams Writable Attributes

Attribute Description
Common Writable Attributes Active, Name
Count

Number of VLAN IDs.

Type: u16

Default: 1

Range: 1 - 4095

IdStep

VLAN ID step value.

Type: s16

Default: 1

Priority

VLAN priority.

Type: u8

Default: 7

Range: 0 - 7

RepeatMode

How VLAN IDs are repeated.

Type: enum

Default: REPEAT_ACROSS_PORT

Possible Values:

Value Description
NO_REPEAT

VLAN IDs are not repeated.

REPEAT_ACROSS_PORT

VLAN IDs are repeated from the starting VLAN ID on all ports.

REPEAT_ACROSS_LOWER_IF

VLAN IDs are repeated from the starting VLAN ID when the next lower level interface (or port) changes.

Tpid

Tag protocol identifier.

Type: u16

Default: 33024

VlanId

VLAN ID.

Type: u16

Default: 100

Range: 0 - 4095

DeviceGenVlanIfParams Read-Only Attributes

There are no read-only attributes.