Weekly Tech Tidbit – Managing Switch Stacks

October 15th, 2019
Weekly Tech Tidbit – Managing Switch Stacks

Over the past few years, 我们一直建议在所有的MDF和IDF位置使用交换机堆栈.   This has been done to aid in simplifying switch management, 但当有人在网络中工作时,它有时会导致一些混乱.

传统上,我们已经习惯于看到网络柜中机架中的每个设备都标上独立的名称和IP地址.   However, the use of switch stacks changes all that.   Switch stacks have only one single name and IP address assigned to them.   The other devices simply just have “switch member numbers”, that is all.

交换机堆叠作为一个团队运行,并“选择”堆栈中的一个成员作为该堆栈的“主交换机”.   “堆栈主”交换机是唯一有IP地址并代表“堆栈”名称的交换机。.   其余的“堆栈成员”只是作为额外的单元或“卡片”出现在堆栈中,类似于您在管理基于机箱的交换机时所看到的多行卡片.

交换机堆栈只有一个配置,该配置被推到所有堆栈成员并同步.   特定堆叠成员的端口配置由该特定交换机的堆叠成员ID号导出.

Should the switch that is currently the stack master fail for any reason, 剩余的成员将自动选择堆栈中的一个新成员作为新的主成员.   So, in addition to simplified management, switch stacks can provide some amount of operational redundancy as well.

下面是4设备交换机堆栈在管理界面上的一些快速示例:

WC3-2960X-1#show switch

Switch/Stack Mac Address : c4b3.6a3d.3600

Switch#  Role   Mac Address     Priority Version  State

*1       Master c4b3.6a3d.3600     1      4       Ready

2       Member c4b3.6a3d.a000     1      4       Ready

3       Member c4b3.6a3d.6300     1      4       Ready

4       Member c4b3.6a3c.b280     1      4       Ready

注意,本例中交换机1是主交换机,堆叠使用主交换机的MAC地址.

Here is a truncated version of what the switch port listing looks like.   注意交换机成员号成为端口号中标识符的第一部分:

WC3-2960X-1#sh int status

Port      Name               Status       Vlan       Duplex  Speed Type

Gi1/0/1                       notconnect 31            汽车汽车10/100/1000BaseTX

Gi1/0/2                       连接31 - 1000 10/100/1000BaseTX完整

Gi1/0/3                        连接31 - 1000 10/100/1000BaseTX完整

……..

Gi1/0/46                      连接31 - 1000 10/100/1000BaseTX完整

Gi1/0/47                      notconnect 31            汽车汽车10/100/1000BaseTX

Gi1/0/48                      notconnect 31            汽车汽车10/100/1000BaseTX

Te1/0/1                       notconnect 1             完整的10 g中不存在

Te1/0/2                       notconnect 1             完整的10 g中不存在

Gi2/0/1                       notconnect 31            汽车汽车10/100/1000BaseTX

Gi2/0/2                       notconnect 31            汽车汽车10/100/1000BaseTX

Gi2/0/3                       notconnect 31            汽车汽车10/100/1000BaseTX

…..

Gi2/0/46                      notconnect 31            汽车汽车10/100/1000BaseTX

Gi2/0/47                      notconnect 31            汽车汽车10/100/1000BaseTX

Gi2/0/48                      notconnect 31            汽车汽车10/100/1000BaseTX

Te2/0/1                       notconnect 1             完整的10 g中不存在

Te2/0/2                      notconnect   1            full    10G Not Present

Gi3/0/1                       notconnect 32            汽车汽车10/100/1000BaseTX

Gi3/0/2                       notconnect 32            汽车汽车10/100/1000BaseTX

Gi3/0/3                       notconnect 32            汽车汽车10/100/1000BaseTX

…………….

Gi3/0/46                      notconnect 32            汽车汽车10/100/1000BaseTX

Gi3/0/47                      notconnect 32            汽车汽车10/100/1000BaseTX

Gi3/0/48                      notconnect 1             汽车汽车10/100/1000BaseTX

Te3/0/1核心             干满10 g SFP-10GBase-LRM相连

Te3/0/2                      notconnect   1            full    10G Not Present

Gi4/0/1                       notconnect 32            汽车汽车10/100/1000BaseTX

Gi4/0/2                       notconnect 32            汽车汽车10/100/1000BaseTX

Gi4/0/3                       notconnect 32            汽车汽车10/100/1000BaseTX

…………….

Gi4/0/46                      notconnect 32            汽车汽车10/100/1000BaseTX

Gi4/0/47                      notconnect 1             汽车汽车10/100/1000BaseTX

Gi4/0/48                      notconnect 32            汽车汽车10/100/1000BaseTX

Te4/0/1                      notconnect   1            full    10G Not Present

Te4/0/2                       干满10 g SFP-10GBase-LRM相连

Po1       TO CORE            connected    trunk      a-full    10G

Fa0                           汽车汽车10/100BaseTX禁用路由

WC3-2960X-1#

这与在基于机箱的4500 / 6500 / 6800交换机上运行此命令所看到的情况非常相似.

希望这能澄清一点交换机堆栈的管理是如何工作的,以及当您在IDF中工作并试图确定设备实际插入的端口时,堆栈的使用如何影响标签和端口标识符.

As always if you need more information please contact our support team at support@akitomo.net