设为首页收藏本站language 语言切换
查看: 3365|回复: 3
收起左侧

[分享] 华为CE12800交换机堆叠

[复制链接]
发表于 2017-7-7 16:19:19 | 显示全部楼层 |阅读模式
朋友问我华为设备如何堆叠,简单整理,顺便分享下

例举CE12800交换机堆叠方式






配置思路


采用如下的思路配置:



  • 连接SwitchA和SwitchB间的堆叠线缆。为了增强带宽和可靠性,两台交换机之间通过两块业务板上的四对业务口进行连接。
  • 在SwitchA和SwitchB上分别配置相同的堆叠域编号和堆叠连接方式,并配置不同的堆叠成员ID和堆叠优先级。
  • 在SwitchA和SwitchB上分别创建一个堆叠端口,并将四对端口分别加入堆叠端口中。
  • 保存SwitchA和SwitchB的配置,并使能堆叠功能。
  • 检查堆叠组建是否成功。


操作步骤



  • 连接堆叠线缆


连接SwitchA和SwitchB间的堆叠线缆。如果选择的堆叠连接方式为主控板直连方式,则需要连接主控板上的SIP口和业务板上的堆叠物理成员端口;如果为业务板直连方式,则无需连接SIP口。



  • 配置SwitchA、SwitchB的堆叠属性


# 配置SwitchA的堆叠成员ID为1,优先级为150,Domain ID为10,堆叠连接方式为主控板直连方式。


<HUAWEI> system-view


[~HUAWEI] sysname SwitchA


[*HUAWEI] commit


[~SwitchA] stack


[~SwitchA-stack] stack member 1


[~SwitchA-stack] stack priority 150


[*SwitchA-stack] stack domain 10


[*SwitchA-stack] stack link-type mainboard-direct


[*SwitchA-stack] quit


[*SwitchA] commit


# 配置SwitchB的堆叠成员ID为2,优先级为100,Domain ID为10,堆叠连接方式为主控板直连方式。


<HUAWEI> system-view


[~HUAWEI] sysname SwitchB


[*HUAWEI] commit


[~SwitchB] stack


[~SwitchB-stack] stack member 2


Warning: The device will use the configuration of memberID 2 after the device resets. Continue? [Y/N]: y


[*SwitchB-stack] stack priority 100


[*SwitchB-stack] stack domain 10


[*SwitchB-stack] stack link-type mainboard-direct


[*SwitchB-stack] quit


[*SwitchB] commit


说明:


如果用户选择的是业务板直连方式,请执行命令stack link-type linecard-direct



  • 配置堆叠端口


# 在SwitchA上创建堆叠端口,并将端口10GE1/0/1~10GE1/0/2、10GE2/0/1~10GE2/0/2加入堆叠端口。在SwitchB上创建堆叠端口,并将端口10GE1/0/1~10GE1/0/2、10GE2/0/1~10GE2/0/2加入堆叠端口。SwitchB的配置与SwitchA类似,配置过程略。


[~SwitchA] port-group group1


[*SwitchA-port-group-group1] group-member 10ge 1/0/1to 10ge 1/0/2


[*SwitchA-port-group-group1] group-member 10ge 2/0/1to 10ge 2/0/2


[*SwitchA-port-group-group1] shutdown


[*SwitchA-port-group-group1] quit


[*SwitchA] commit


[~SwitchA] interface stack-port 1


[*SwitchA-Stack-Port1] port member-group interface10ge 1/0/1 to 1/0/2


[*SwitchA-Stack-Port1] port member-group interface10ge 2/0/1 to 2/0/2


[*SwitchA-Stack-Port1] quit


[*SwitchA] commit


[~SwitchA] port-group group1


[~SwitchA-port-group-group1] undo shutdown


[*SwitchA-port-group-group1] quit


[*SwitchA] commit


[~SwitchA] quit



  • 检查堆叠配置信息


# 上述配置完成后,建议用户执行命令display stack configuration查看以上配置信息是否与预期的一致。以查看SwitchA为例。


Oper : Operation


Conf : Configuration


*    : Offlineconfiguration


Isolated Port: The port is in stack mode, but does notbelong to any Stack-Port




Attribute Configuration:


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


MemberID      Domain         Priority       Mode    Enable


Oper(Conf)  Oper(Conf)      Oper(Conf)   Oper(Conf)  Oper


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


1(1)        --(10)          100(150)     MB(MB)       Disable


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




Stack-Port Configuration:


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


Stack-Port     Member Ports


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


Stack-Port1    10GE1/0/1           10GE1/0/2           10GE2/0/1


               10GE2/0/2


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



  • 保存配置并使能设备堆叠功能


# 保存SwitchA的配置并使能堆叠功能。


<SwitchA> save


Warning: The current configuration will be written to thedevice. Continue? [Y/N]: y


<SwitchA> system-view


[~SwitchA] stack


[~SwitchA-stack] stack enable


Warning: Make sure that one or more dual-active detectionmethods are configured once the conversion is complete and the device ente


rs the stack mode.


Current configuration will be converted to the nextstartup saved-configuration file of stack mode.


System will reboot. Continue? [Y/N]: y


# 保存SwitchB的配置并使能堆叠功能。


<SwitchB> save


Warning: The current configuration will be written to thedevice. Continue? [Y/N]: y


<SwitchB> system-view


[~SwitchB] stack


[~SwitchB-stack] stack enable


Warning: Make sure that one or more dual-active detectionmethods are configured once the conversion is complete and the device ente


rs the stack mode.


Current configuration will be converted to the nextstartup saved-configuration file of stack mode.


System will reboot. Continue? [Y/N]: y


验证


# 通过Console口或管理网口登录堆叠系统,使用命令查看堆叠是否组建成功。当通过管理网口登录时,需要使用主交换机的IP地址。


<SwitchA> display stack


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


MemberID Role    MAC              Priority   DeviceType         Description


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


1       Master   006d-8835-2b00   150       CE12804


2       Standby  006d-8835-2c00   100       CE12804


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




发表于 2018-10-22 15:23:17 | 显示全部楼层
aFafdasa奥术大师大所大SD
沙发 2018-10-22 15:23:17 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-3-12 13:39 , Processed in 0.065043 second(s), 21 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表