This is a good idea for a knowledge article so when we have a few more posts i will create an article for general basic L2 switch best practises and post it on this thread.
Below are my recommendations:
- disable gvrp unless you have a specific requirement for it
- Spantree
enabled by default - leave it enabled unless you have a specific case that requires disabling (eg. router connection)
Admin edge - for all edge / user ports
Spanguard - which will operate on admin edge ports
Loop Protect - on all uplink ports to LPCapable switches
Lptrap enable
use MSTP, which is default version and configure 2 instances if there is a redundant path that would otherwise be blocked
- set movedaddrtrap enable - crucial for L2 networks to get notification of moving mac addresses in the event of a loop
- LACP
use dynamic lacp ( default )
manually configure aadminkey
set spantree portenable disable - disable bridging on lag physical member ports and restrict to logical lag port.
configure short timers where appropriate - The default timers for the lag are "long". The protocol transmits maintenance packets every 30 seconds.
- Set mac multicast
If user traffic consists of NLB this will be flooded on the network as unknown so will need to be scoped by manually configuring a multicast mac and static arp
https://gtacknowledge.extremenetworks.com/articles/How_To/EOS-How-to-configure-multicast-mac-to-stop...
- set forcelinkdown enable
- set port disable - on any unused ports for security
- set port alias - crucial to troubleshooting connectivity
- set port broadcast - prevent broadcast storms propagating
- set logging local console enable file enable sfile enable
- set logging server ( having syslog is crucial to troubleshooting )
- set system location
- set system name
- set system login
- set prompt
- set ssh enabled