Skip to main content

SwitchedVlan

Type for VLAN interface-specific data on Ethernet interfaces. These are for standard L2, switched-style VLANs.

Fields

nametypenullabledescription
interfaceModeVlanModeTypefalseAccess or trunk mode for VLANs.
nativeVlanIntegertrueNative VLAN is valid for trunk mode interface.
accessVlanIntegertrueAccess VLAN assigned to the interface.
voiceVlanIntegertrueVoice VLAN assigned to the interface. Not present on non-access interfaces.
defaultVlanIntegertrueWhen present, frames tagged with this VLAN ID are accepted on the interface and are mapped to the same VLAN to which untagged traffic is mapped. Specifically, if the interface is an access interface, then the default VLAN is mapped to the access VLAN, while if the interface is a trunk interface, then the default VLAN is mapped to the native VLAN.
trunkVlansList<VlanIdOrRange>falseSpecifies VLANs, or ranges thereof, that the interface may carry when in trunk mode. If not specified, all VLANs are allowed on the interface. Ranges are specified in the form x..y, where x<y - ranges are assumed to be inclusive (such that the VLAN range is x <= range <= y).

Used by

network → devices → interfaces → ethernet → switchedVlan

See also

Data model path

network → devices → interfaces → aggregation → switchedVlan

See also

Data model path