Spanning Tree Interface Policy
Location in GUI: Fabric
» Access Policies
» Policies
» Interface
» Spanning Tree Interface
Diagram
Section titled “Diagram”Classes
Section titled “Classes”interface_policies (apic.access_policies)
Section titled “interface_policies (apic.access_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
spanning_tree_policies | List | [spanning_tree_policies] | No |
spanning_tree_policies (apic.access_policies.interface_policies)
Section titled “spanning_tree_policies (apic.access_policies.interface_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
bpdu_filter | Boolean | true , false | No | false |
bpdu_guard | Boolean | true , false | No | false |
Examples
Section titled “Examples”Example-1: this STP policy named BPDU_FILTER
is configured to enable the BPDU filter feature, given that the bdpu_filter attribute is set to true
. BPDU Filter will silently drop any BPDUs received from the associated interfaces without any further actions. While it is not disruptive, it essentially equates to disabling STP on the interface and should be used with care to ensure no loops occur.
apic: access_policies: interface_policies: spanning_tree_policies: - name: BPDU-FILTER bpdu_filter: true
Example-2: this STP policy named BPDU_GUARD
is configured to enable the BPDU guard feature, given that the bpdu_guard attribute is set to true
. BPDU Guard will error-disable any interfaces from which BPDUs are received for a set time. While it may introduce downtime for the duraiton of the error-disablement, it can ensure the overall stability of the network by guaranteeing that no rogue BPDUs or switches affect the stability of the STP topology.
apic: access_policies: interface_policies: spanning_tree_policies: - name: BPDU-FILTER bpdu_guard: true