a、查看堆叠信息

<Quidway>            dis stack 

Stack topology type: Ring                                          #堆叠拓扑结构 分为link和ring

Stack system MAC: 384c-4fa0-3180                           #堆叠系统的mac地址,这里是堆叠主交换机mac地址

MAC switch delay time: 10 min                                  #堆叠系统MAC地址切换时间

Stack reserved vlan: 4093                                           #堆叠系统保留vlan 4093

Slot of the active management port: --                    #管理网口所在槽位

Slot      Role        Mac address      Priority   Device type

-------------------------------------------------------------

    0     Master      384c-4fa0-3180   255        S5700-48TP-SI-AC

    1     Standby     384c-4fa2-53d0   1          S5700-48TP-SI-AC

b、查看邻居状态

<Quidway>dis  stack  peers

Slot#     Port1                   Peer1       Port2                   Peer2

---------------------------------------------------------------------------

    0     STACK 1                   1         STACK 2                   1

    1     STACK 1                   0         STACK 2                   0

c、查看堆叠配置信息

<Quidway>dis  stack  configuration

  Current Slot-id    Next Slot-id    Current Priority    Next Priority

  --------------------------------------------------------------------

        0                0                255               255

        1                1                1                 1

<Quidway>dis stack  configuration slot 1

  Current Slot-id    Next Slot-id    Current Priority    Next Priority

  --------------------------------------------------------------------

        1                1                1                 1

<Quidway>dis stack  configuration slot 0

  Current Slot-id    Next Slot-id    Current Priority    Next Priority

  --------------------------------------------------------------------

        0                0                255               255

d、直连检测配置(多主检测的一种)

[Quidway-GigabitEthernet0/0/2]mad  detect  mode  direct

Warning: This command will block the port, and no other configuration running on this port is recommended. Continue?[Y/N]:y

[Quidway-GigabitEthernet0/0/2]

Oct  1 2008 00:46:29+08:00 Quidway DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 1, the change loop count is 0, and the maximum number of records is 4095.

主设备上由于依然是主,所以是detect 

<Quidway>dis mad verbose 

Current MAD domain: 0

Current MAD status: Recovery

Mad direct detect interfaces configured:

 GigabitEthernet1/0/2

Mad relay detect interfaces configured:

Excluded ports(configurable):

Excluded ports(can not be configured):