eos_stp_interface¶
Synopsis¶
Added in version 1.0.0
Provides active state management of STP interface configuration on Arista EOS nodes.
Options¶
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| bpduguard | no |
|
Specifies whether or not bpduguard should be enabled on the named interface. If this value is configured true, then bpduguard is enabled on the interface. If this value is configured false, then bpduguard is disabled on the interface. The EOS default value for bpduguard is false (added in 1.0.0) |
|
| name | yes |
The unique interface identifier name. The interface name must use the full interface name (no abbreviated names). For example, interfaces should be specified as Ethernet1 not Et1 (added in 1.0.0) |
||
| portfast | no |
|
Specifies whether or not portfast should be enabled on the named interface. If this value is configured true, then portfast is enabled on the interface. If this value is configured false, then portfast is disabled on the interface. The EOS default value for portfast is false (added in 1.0.0) |
|
| portfast_type | no |
|
Configures the portfast port type value for the named interface in EOS. Valid port types include edge or network. (added in 1.0.0) |
Important
Requires Arista EOS 4.13.7M or later with command API enabled
Important
Requires Python Client for eAPI 0.3.0 or later
Examples¶
- name: Ensure portfast is enabled on Ethernet3
eos_stp_interface: name=Ethernet3 portfast=yes
- name: Ensure bpduguard is enabled on Ethernet49
eos_stp_interface: name=Ethernet49 bpduguard=yes
Note
All configuration is idempotent unless otherwise specified
Note
Supports eos metaparameters for using the eAPI transport
Note
Does not support stateful resource configuration.