I have two switches (Cisco 2960's) with a trunk between them (two ports in an ether-channel) and each has a trunk up to a separate router, all other switch ports are access ports to end devices;
R1 R2
| |
| |
| |
SW1 === SW2
I want to implement various STP options, port fast on all ports, BPDU filter and BPDU guard. I have read various Cisco documents and other reputable web site feeds, just a few are;
I wish to configured all access ports as follows, I already know and use these features and so there is no problems here:
int gi0/10
description End Device Port
switchport mode access
switchport access vlan 10
spanning-tree portfast
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
I wish to configured trunk ports between switches and up to routers as follows, again I already use this configuration and see no issues here;
int gi0/1
description Trunk to R1
switchport mode trunk
spanning-tree portfast trunk
What I can't find any good documentation on is mixing BPDU filter and BPDU guard as global defaults with ports configured for portfast trunk
. To save my self configuring port-fast on every access port with BPDU guard and BPDU filter, I can simply enter these three global configuration commands;
spanning-tree portfast default
spanning-tree portfast bpdufilter default
spanning-tree portfast bpduguard default
BPDU filter and BPDU guard will now become active on all portfast ports, but what about portfast ports that are configured as portfast trunk
such as between the switches, I want BPDU's being sent between switches. I can't find any documentation that says if or if not enabling BPDU guard/filter globally will also configure this on portfast trunk
ports, which could stop STP running between switches and potentially cause those trunk ports to errdisable
.
What happens when this situation is configured and are there any official online Cisco doc's to clarify?