User`s guide
Chapter 7 Virtual LANs (VLANs) 121
Access
This property specifies the default VLAN domain with which the port is associated.
The default access VLAN is 1. You can change the access VLAN ID of a port, but
only if no vNICs are assigned to the port. You can change the access VLAN ID of a
port by using the set ethernet-port command as shown:
Typically, frames in this VLAN domain are untagged and forwarded “as is.”
Note – OVN uses the term “access VLAN ID” to specify the untagged traffic
domain. While it is standard to use this term when operating in access mode, it is
common to see the term “native VLAN ID” being used when the port is configured
as a trunk port. OVN uses the term “access VLAN ID” consistently for both modes
of operation. Be aware that the property “access VLAN” can be refer to both the
“access VLAN ID” or “native VLAN ID” of the port interchangeably depending on
its mode of operation.
Tag Native
By default, untagged frames in the access VLAN domain are forwarded “as is”
across a trunk port. In this default behavior, the value of tag-native property is
“false”. Based on the configuration requirements, you might prefer that only tagged
frames are forwarded across the port. In this case, the tag-native property must
be set to “true,” which results in a default VLAN tag being inserted to the frame
before forwarding it across the port.
trunk In this mode, by default, the port allows transmission and reception of
both tagged and untagged frames. Any untagged frames arriving from
the network are forwarded to the port’s access VLAN domain. For
information about access VLAN property of the port, see “Access” on
page 121.
Furthermore, optionally, untagged frames can be forwarded with a
default VLAN tag inserted as specified by the tag-native property. For
more information about this property, see “Tag Native” on page 121.
You can set trunk mode of operation through the set ethernet-port
command, as shown:
set ethernet-port <slot/port> -mode=trunk
set lag <slot.id> -mode=trunk
set ethernet-port <slot/port> -access-vlan=<id>
set lag <slot.id> -access-vlan=<id>