Can anyone tell me which protocol wins out regarding where traffic is sent. I have a vlan that is dual-homed to two 6500s. On the 6500-1 the spanning-tree priority is set to 16384 with a standby priority of 200. On the other(6500-2) I see a SP priority of 8192 and standby priority of 101.
I believe the normal way you'd want these configured is to have sp pri 8192 and stand pri 200 on the same link, but I need some confirmation. What I'm seeing is that traffic is traversing the 6500-2 link that has the higher sp pri(but the lower stand pri). Would this mean that the sp pri would always win out over stand if it's not configured correctly?
Yes the gateway would remain the same. And you are also correct in the traffic path you describe.
In this scenario we are talking about a failed link as opposed to a failed supervisor for example so it's concerned with STP rather than HSRP. HSRP doesn't need to help because your clients still have an active path (thanks to STP). Where HSRP comes into it's own is if your supervisor failed in the switch that had the active gateways.
HSRP tracking is used to track interfaces other than the interfaces that your are running the HSRP on. There are times when you want to be able to move the active gateway based on another interface failing, although again in this case it isn't really an issue because you have a L2 interconnect between your 6500 switches.
Yes 6500-1 would take over as the gateway for that vlan if the L3 function on 6500-2 became unavilable - usuallly a failed supervisor module, assuming of course you do not have redundant suprevisors in each chassis.