Hello, i want to understand How i use this stp commands for me the two options clear.
1. option
spanning-tree portfast edge default
spanning-tree portfast edge bpduguard default
spanning-tree portfast edge bpdufilter default
and i tested bpduguard/bpdufilter on eve-ng active both command globally i didn't see any result, when i connect hacker switch, Hacker SW became root,
priority on hacker sw 0 it's just for test.
here i have some confuse about bpdufilter, how i understand bpdufilter it filter bpdu's?
2. option
Activate both command on interface GigabitEthernet0/2 sw3
interface GigabitEthernet0/2
spanning-tree bpdufilter enable
spanning-tree bpduguard enable
in this case SW1 and HAcker both became root.
SW1#show span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 500c.0001.0000
This bridge is the root
Atacker(config-if)#do show span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 1
Address 500c.0004.0000
This bridge is the root
3. option
on interface in sw3 gi0/2 configured bpdufilter and guard root
in this case also SW1 and HAcker's sw both became root.
How i choose correct stp configuration for network?
topology