Dot1q Ethernet Port
Diagram
Classes
topology_switch_dot1q_host_interface (vxlan.topology.switches.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$ | Yes | |
mode | Choice | dot1q | Yes | |
description | String | max: 256 | No | |
mtu | Any | Integer[min: 1500 , max: 9216 ] or Choice[default , jumbo ] | No | |
speed | String | Regex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$ | No | |
enabled | Boolean | true , false | No | |
access_vlan | Integer | min: 1 , max: 4094 | No | |
spanning_tree_portfast | Boolean | true , false | No | |
enable_bpdu_guard | Boolean | true , false | No | |
duplex | Choice | auto , full , half | No | |
orphan_port | Boolean | true , false | No | |
freeform_config | String | No |
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.
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