how can i completely disable STP in a Opensolaris bridge.
This bridge is connected to a Cisco Access Port and will disable the uplink port when the first BPDU arrives.
bridged[3651]: [ID 581644 daemon.warning] unexpected BPDU on rge1 from 0:xx:xx:xx:xx:b; forwarding disabled
I already disabled the transmission of BPDU Messages to the Switch by:
dladm set-linkprop -p stp=0 rge1
This solved only the problem that the access switch port goes in "error-disable" mode.
Thomas
Are you sure you want to disable Spanning Tree? STP is enabled for a reason to stop layer 2 routing loops, which can cause ethernet frames to loop indefinitely!
I'm not quite sure what environment your operating or what your trying to achieve, it maybe best to get to the bottom of the problem rather than a work around.
A better solution is to de-configure
spanning-tree portfast
andspanning-tree bpduguard enable
on the Cisco port you're connected to. Without BPDU transmission and spanning-tree, you may end up having a switching loop and I've seen switching loops take networks down.