Access Ethernet Port
Diagram
Classes
topology_switch_access_interface (vxlan.topology.switches.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$ | Yes | |
mode | Choice | access | Yes | |
description | String | max: 256 | No | NetAsCode Access Interface |
mtu | Any | Integer[min: 1500 , max: 9216 ] or Choice[default , jumbo ] | No | jumbo |
speed | String | Regex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$ | No | auto |
enabled | Boolean | true , false | No | true |
access_vlan | Integer | min: 1 , max: 4094 | No | 1 |
spanning_tree_portfast | Boolean | true , false | No | true |
enable_bpdu_guard | Boolean | true , false | No | true |
freeform_config | String | No |
Examples
vxlan:
topology:
switches:
- name: dc1-leaf1
interfaces:
- name: e1/11
mode: access
description: 'Access Interface 1'
enabled: true
mtu: 1500
speed: auto
access_vlan: 11
spanning_tree_portfast: true
enable_bpdu_guard: true
- name: ethernet1/12
mode: access
- name: eth1/13
mode: access
access_vlan: 13