Skip to content

Dot1q Ethernet Port

Diagram

Diagram

Classes

topology_switch_dot1q_host_interface (vxlan.topology.switches.interfaces)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$Yes
modeChoicedot1qYes
descriptionStringmax: 256No
mtuAnyInteger[min: 1500, max: 9216] or Choice[default, jumbo]No
speedStringRegex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$No
enabledBooleantrue, falseNo
access_vlanIntegermin: 1, max: 4094No
spanning_tree_portfastBooleantrue, falseNo
enable_bpdu_guardBooleantrue, falseNo
duplexChoiceauto, full, halfNo
orphan_portBooleantrue, falseNo
freeform_configStringNo

Examples

The provided CLI configures interface Ethernet1/11 with the following settings:

  • switchport mode dot1q-tunnel: Sets the port to operate in 802.1Q tunnel mode (Q-in-Q), encapsulating VLAN tags for tunneling VLAN traffic transparently.
Terminal window
interface Ethernet1/11
no shutdown
description Dot1q tunnel interface
spanning-tree port type edge
spanning-tree bpduguard enable
mtu 9216
spanning-tree bpdufilter enable
switchport
switchport mode dot1q-tunnel
vxlan:
topology:
switches:
- name: dc1-leaf1
interfaces:
- name: e1/11
mode: dot1q
description: 'Dot1q Interface 1'
enabled: true
speed: auto
access_vlan: 1