堆叠的概念

堆叠  istack(intelligent stack)是指将多台支持堆叠特性的交换机设备组合在一起,从逻辑上组合成一台交换设备。

堆叠的两种连接方式:

 1堆叠卡堆叠 : 设备之间通过专用的堆叠卡及专用的堆叠线缆连接。

2 业务口堆叠 : 设备之间通过与逻辑堆叠口绑定的物理成员端口相连,不需要专用的堆叠插卡。业务口堆叠设计及两种端口概念,

(1)物理成员接口 :成员交换机之间用于堆叠连接的物理接口。物理成员端口用于转发需要跨成员交换机的业务报文或者成员交换机之间的堆叠协议报文。

(2)逻辑堆叠接口 : 是专用于堆叠的逻辑端口。需要和物理成员端口绑定。堆叠的每台成员交换机上支持两个逻辑堆叠端口,为stack-port n/1和stack-port n/2,其中n为成员交换机的堆叠id.

 堆叠配置

       1 执行命令system-view,进入系统视图。

       2 执行命令stack enable, 使能设备堆叠功能。

        此配置重启后生效

       3执行命令 stack slot slot-id renumber new-slot-id ,配置设备的堆叠id。

      缺省情况下,设备的堆叠id为0.

      此配置重启后生效

      4 执行 stack slot slot-id priority priority,配置成员交换机的堆叠优先级。

缺省情况下,成员交换机的堆叠优先级为100.

5  执行 display stack configuration  或者 display stack current-configuration slot slot-id,查看成员交换机的堆叠信息。

6 save  重启交换机

7 display device 查看堆叠系统中成员交换机的个数与实际组网中交换机的个数是否一致:

8 display stack

9 display stack peers

10 display  interface stack-port  0/1

通过业务口堆叠

1 执行 system-view 进入视图

2 执行命令 interface stack-port member-id / port-id  创建并进入逻辑堆叠端口视图。

3执行命令 port interface    {interface-type interface-number to interface-type interface-number }  enable.

4 执行命令 stack slot slot-id renumber new-slot-id 配置设备的堆叠id  缺省为0

5执行 stack slot slot-id priority priority  ,配置成员交换机的堆叠优先级。缺省情况下为100

6 执行display  stack configuration slot slot-id    或者 display stack current-configuration  slot slot-id 查看成员交换机的堆叠配置信息

原文地址:https://www.cnblogs.com/felix1225/p/5241236.html