Resource example

# Specify the PVID as 2 for interface 5, and configure the interface to permit packets from VLANs 2 through 6. Configure the interface to forward packets from VLAN 3 after removing VLAN tags and forward packets from VLANs 2, 4, 5, and 6 without removing VLAN tags.

netdev_l2_interface 'ifindex5' do
 ifindex 5
 pvid 2
 permit_vlan_list '2-6'
 tagged_vlan_list '2,4-6'
 untagged_vlan_list '3'
end