Switch#show switch
Switch/Stack Mac Address : 001d.a242.7180
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 001d.a242.7180 1 0 Ready
2 Member 001d.a26b.8e80 1 0 Ready
Switch#show switch detail Switch/Stack Mac Address : 001d.a242.7180
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 001d.a242.7180 1 0 Ready
2 Member 001d.a26b.8e80 1 0 Ready
Stack Port Status Neighbors
Switch# Port 1 Port 2 Port 1 Port 2
--------------------------------------------------------
1 Ok Ok 2 2
2 Ok Ok 1 1
Switch#show switch neighbors
Switch # Port 1 Port 2
-------- ------ ------
1 2 2
2 1 1
Switch#show switch stack-ports
Switch # Port 1 Port 2
-------- ------ ------
1 Ok Ok
2 Ok Ok
结果证实,最初的猜测是正确的。
结论:1、每台设备背面贴出来的那个MAC地址,与堆叠顺序是有关的,地址最小的那个为Master,依次类推。
2、即时随便将几台设备连接起来,如果没有指定优先级,让交换机自动进行选举,那MAC地址最小的那台为Master,次之的为2,依次类推。
3、设备背面贴出来的那个地址,应该叫做 Stack Mac Address.