华为6800系列交换机堆叠


本次采用软硬件:

硬件:CE6881-48S6CQ
软件:VRP (R) software, Version 8.191 (CE6881 V200R019C10SPC800)

组网:

配置思路:

1. 提前规划好堆叠方案。
2. 按照前期的规划,完成各台交换机的堆叠配置,包括堆叠成员ID、堆叠优先级、堆叠域编号、堆叠端口等。完成后保存配置并将交换机下电。
3. 连接交换机之间的堆叠线缆,然后将交换机上电。
4. 检查堆叠组建是否成功。

SwitchA配置:

[~HUAWEI]sysname SwitchA
[*HUAWEI]commit 
[~SwitchA]stack
[~SwitchA-stack]stack member 1 priority 120
[~SwitchA-stack]stack member 1 domain 10
[*SwitchA-stack]qu
[*SwitchA]commit
[~SwitchA]interface Stack-Port 1/1
[*SwitchA-Stack-Port1/1]port member-group interface 100GE 1/0/1
Warning: After the configuration is complete,
1.The interface will be configured with the port crc-statistics trigger error-down command.
2.The interface may go Error-Down (crc-statistics) because of no shutdown configuration.Continue? [Y/N]:y
[*SwitchA-Stack-Port1/1]qu
[*SwitchA]interface Stack-Port 1/2
[*SwitchA-Stack-Port1/2]port member-group interface 100GE 1/0/4
Warning: After the configuration is complete,
1.The interface will be configured with the port crc-statistics trigger error-down command.
2.The interface may go Error-Down (crc-statistics) because of no shutdown configuration.Continue? [Y/N]:y
[*SwitchA-Stack-Port1/2]qu
[*SwitchA]commit

SwitchB配置:

[~HUAWEI]sysname SwitchB
[*HUAWEI]commit 
[~SwitchB]stack
[~SwitchB-stack]stack member 1 priority 90
[~SwitchB-stack]stack member 1 domain 10
[*SwitchB-stack]stack member 1 renumber 2 inherit-config 
Warning: The stack configuration of member ID 1 will be inherited to member ID 2 after the device resets. Continue? [Y/N]:y
Info: The operation will take effect after reboot.
[*SwitchB-stack]qu
[*SwitchB]commit
[~SwitchB]interface Stack-Port 1/1
[*SwitchB-Stack-Port1/1]port member-group interface 100GE 1/0/1
Warning: After the configuration is complete,
1.The interface will be configured with the port crc-statistics trigger error-down command.
2.The interface may go Error-Down (crc-statistics) because of no shutdown configuration.Continue? [Y/N]:y
[*SwitchB-Stack-Port1/1]qu
[*SwitchB]interface Stack-Port 1/2
[*SwitchB-Stack-Port1/2]port member-group interface 100GE 1/0/4
Warning: After the configuration is complete,
1.The interface will be configured with the port crc-statistics trigger error-down command.
2.The interface may go Error-Down (crc-statistics) because of no shutdown configuration.Continue? [Y/N]:y
[*SwitchB-Stack-Port1/2]qu
[*SwitchB]commit

保存配置后将设备下电。

保存SwitchA和SwitchB的配置,然后将设备下电。SwitchB的配置与SwitchA相同,略。

连接线缆

按照前期规划及配置,连接堆叠线缆。线缆连接完成后将设备上电。
建议先将高优先级设备上电,以使其先完成启动,优先竞争为主交换机。

验证配置结果。

等待几分钟后,在主交换机SwitchA上使用命令display stack查看堆叠是否组建成功。

<SwitchA>display stack 
--------------------------------------------------------------------------------
MemberID Role     MAC              Priority   DeviceType         Description    
--------------------------------------------------------------------------------
1        Master   6c16-32c4-xxxx   120        CE6881-48S6CQ                     
2        Slave    6c16-32c4-xxxx   90         CE6881-48S6CQ                     
--------------------------------------------------------------------------------
<SwitchA>display stack configuration 
Oper          : Operation 
Conf          : Configuration 
*             : Offline configuration 
Isolated Port : The port is in stack mode, but does not belong to any Stack-Port 

Attribute Configuration:
-----------------------------------------
 MemberID      Domain         Priority     
Oper(Conf)   Oper(Conf)      Oper(Conf)  
-----------------------------------------
1(1)         10(10)          120(120)    
2(2)         10(10)          90(90)      
-----------------------------------------

Stack-Port Configuration:
--------------------------------------------------------------------------------
Stack-Port      Member Ports                                                    
--------------------------------------------------------------------------------
Stack-Port1/1   100GE1/0/1                                                      
Stack-Port1/2   100GE1/0/4                                                      
Stack-Port2/1   100GE2/0/1                                                      
Stack-Port2/2   100GE2/0/4                                                      
--------------------------------------------------------------------------------
<SwitchA>display stack topology 
Stack Topology:
----------------------------------------------
            Stack-Port 1      Stack-Port 2 
MemberID   Status Neighbor   Status Neighbor  
----------------------------------------------
1          up     2          up     2         
2          up     1          up     1         
----------------------------------------------

Stack Link:
----------------------------------------------------------------------------
Stack-Port       Port               Status     PeerPort           PeerStatus
----------------------------------------------------------------------------
Stack-Port1/1    100GE1/0/1         up         100GE2/0/4         up        
Stack-Port1/2    100GE1/0/4         up         100GE2/0/1         up        
Stack-Port2/1    100GE2/0/1         up         100GE1/0/4         up        
Stack-Port2/2    100GE2/0/4         up         100GE1/0/1         up        
----------------------------------------------------------------------------


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM