Properties

Table 53: Properties for netdev_l2_interface

Property name

Description

Property type

Value type and restrictions

ifindex

Specifies a Layer 2 Ethernet interface by its index.

Index

Unsigned integer.

pvid

Specifies the PVID for the interface.

N/A

Unsigned integer.

Value range: 1 to 4094.

permit_vlan_list

Specifies the VLANs permitted by the interface.

N/A

String, a comma separated list of VLAN IDs or VLAN ID ranges, for example, 1,2,3,5-8,10-20.

Value range for each VLAN ID: 1 to 4094.

The string cannot end with a comma (,), hyphen (-), or space.

untagged_vlan_list

Specifies the VLANs from which the interface sends packets after removing VLAN tags.

N/A

String, a comma separated list of VLAN IDs or VLAN ID ranges, for example, 1,2,3,5-8,10-20.

Value range for each VLAN ID: 1 to 4094.

The string cannot end with a comma (,), hyphen (-), or space.

A VLAN cannot be on the untagged list and the tagged list at the same time.

tagged_vlan_list

Specifies the VLANs from which the interface sends packets without removing VLAN tags.

N/A

String, a comma separated list of VLAN IDs or VLAN ID ranges, for example, 1,2,3,5-8,10-20.

Value range for each VLAN ID: 1 to 4094.

The string cannot end with a comma (,), hyphen (-), or space.

A VLAN cannot be on the untagged list and the tagged list at the same time.