Can anyone explain the difference between these two commands, under what case I should use one or the other, and if there are best practice documents that you can refer me to. Thanks in advance.
This command defines all interfaces as edge ports and enables bpdu-block on those edge ports under RSTP with 'set protocols rstp bpdu-block-on-edge interface all edge', the other defines all interfaces with bpdu-block under ethernet-switching-options with 'set ethernet-switching-options bpdu-block interface all'?
I realize the first one only applies bpdu-block to ports defined as edge, but are ther other differences? When would I use one vs the other? Why is one configured under RSTP and the other under Ethernet-switching?