Skip to main content

Trunk Ethernet Port

Diagram

Classes

topology_switch_trunk_interface (vxlan.topology.switches.interfaces)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$Yes
modeChoicetrunkYes
descriptionStringmax: 256NoNetAsCode Trunk Interface
mtuAnyInteger[min: 1500, max: 9216] or Choice[default, jumbo]Nojumbo
speedStringRegex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$Noauto
enabledBooleantrue, falseNotrue
trunk_allowed_vlansList[trunk_allowed_vlans]Nonone
spanning_tree_portfastBooleantrue, falseNotrue
enable_bpdu_guardBooleantrue, falseNotrue
freeform_configStringNo

trunk_allowed_vlans (vxlan.topology.switches.interfaces.topology_switch_trunk_interface)

NameTypeConstraintMandatoryDefault Value
fromIntegermin: 1, max: 4094Yesnone
toIntegermin: 1, max: 4094Nonone

Examples

vxlan:
topology:
switches:
- name: dc1-leaf1
interfaces:
- name: Ethernet1/11
mode: trunk
description: 'Trunk Interface 1'
enabled: true
mtu: jumbo
speed: auto
trunk_allowed_vlans:
- from: 10
to: 20
- from: 30
- from: 40
to: 50
spanning_tree_portfast: true
enable_bpdu_guard: false
- name: e1/12
mode: trunk
speed: 10gb
trunk_allowed_vlans:
- from: 45
to: 48
- name: e1/13
mode: trunk
trunk_allowed_vlans:
- from: 1
to: 4094