For those ports i would look at something like TCN guard.  TCN Guard — Enabling the TCN Guard feature restricts the port from propagating any topology change information received through that port. This means that even if a port receives a BPDU with the topology change flag set to true, the port will not flush its MAC address table and send out a BPDU with a topology change flag set to true. # spanning-tree tcnguard  (Prevent a port from propagating topology change notifications.)
Hi, Please could someone give me guidance for building a basic network with regards to STP settings. Lets say a "core switch" and a few edge switches. All switches connect back to the core via a 2 port lag group. So what would some common settings be? Any thing else that you would recommend?  Cheers  Dave 
Advice on basic STP and network design