CE 6800 堆疊


 
          
         

 

 


一、配置思路先配置后連線方式,推薦) 采用如下的思路配置: 提前規划好堆疊方案。 按照前期的規划,完成各台交換機的堆疊配置,包括堆疊成員ID、堆疊優先級、堆疊域編號、堆疊端口等。完成后保存配置並將交換機下電。 連接交換機之間的堆疊線纜,然后將交換機上電。 檢查堆疊組建是否成功。
二、操作步驟 提前規划堆疊方案。 規划SwitchA的堆疊成員ID為1,SwitchB的成員ID為2。 規划SwitchA作為主交換機,其堆疊優先級最高,為150。SwitchB的堆疊優先級為120。 規划堆疊域編號(Domain ID)為10,不與網絡中其他堆疊系統的域編號沖突。 規划SwitchA和SwitchB用於堆疊連接的端口為10GE1
/0/1~10GE1/0/4。 配置堆疊屬性。 # 配置SwitchA的堆疊優先級為150,Domain ID為10。缺省情況下,設備的堆疊成員ID為1。此處默認SwitchA的堆疊成員ID為1,無需配置。 <HUAWEI> system-view [~HUAWEI] sysname SwitchA [*HUAWEI] commit [~SwitchA] stack [~SwitchA-stack] stack member 1 priority 150 [*SwitchA-stack] stack member 1 domain 10 [*SwitchA-stack] quit [*SwitchA] commit # 配置SwitchB的堆疊成員ID為2,優先級為120,Domain ID為10。 <HUAWEI> system-view [~HUAWEI] sysname SwitchB [*HUAWEI] commit [~SwitchB] stack [~SwitchB-stack] stack member 1 priority 120 [*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 [*SwitchB-stack] quit [*SwitchB] commit 說明: 因SwitchB尚未重啟,當前堆疊成員ID還是1,所以此時仍使用member 1來進行堆疊配置。 因為修改堆疊成員ID時指定了inherit-config參數,所以SwitchB重啟后會繼承member 1的堆疊配置;如果不指定inherit-config參數,那么SwitchB重啟后不會繼承member 1的堆疊配置,需要使用member 2重新進行堆疊配置。 配置堆疊端口。 # 將SwitchA的業務口10GE1/0/1~10GE1/0/4加入堆疊端口1/1。 [~SwitchA] interface stack-port 1/1 [*SwitchA-Stack-Port1/1] port member-group interface 10ge 1/0/1 to 1/0/4 Warning: After the configuration is complete, 1.The interface(s) (10GE1/0/1-1/0/4) will be converted to stack mode and be configured with the port crc-statistics trigger error-down command if the configuration does not exist. 2.The interface(s) may go Error-Down (crc-statistics) because there is no shutdown configuration on the interfaces.Continue? [Y/N]: y [*SwitchA-Stack-Port1/1] commit [~SwitchA-Stack-Port1/1] return 被配置為堆疊物理成員端口后,端口下會自動配置port crc-statistics trigger error-down。 # 將SwitchB的業務口10GE1/0/1~10GE1/0/4加入堆疊端口1/1。 [~SwitchB] interface stack-port 1/1 [*SwitchB-Stack-Port1/1] port member-group interface 10ge 1/0/1 to 1/0/4 Warning: After the configuration is complete, 1.The interface(s) (10GE1/0/1-1/0/4) will be converted to stack mode and be configured with the port crc-statistics trigger error-down command if the configuration does not exist. 2.The interface(s) may go Error-Down (crc-statistics) because there is no shutdown configuration on the interfaces.Continue? [Y/N]: y [*SwitchB-Stack-Port1/1] commit [~SwitchB-Stack-Port1/1] return 檢查堆疊配置信息。 # 上述配置完成后,執行命令display stack configuration查看配置是否與規划的一致,如果不一致,需要修改配置。以查看SwitchA為例。 <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 Switch Mode Uplink Port Oper(Conf) Oper(Conf) Oper(Conf) Oper(Conf) Oper(Conf) ---------------------------------------------------------------------------- 1(1) --(10) 100(150) Auto(Auto) 4*40GE(4*40GE) ---------------------------------------------------------------------------- Stack-Port Configuration: -------------------------------------------------------------------------------- Stack-Port Member Ports -------------------------------------------------------------------------------- Stack-Port1/1 10GE1/0/1 10GE1/0/2 10GE1/0/3 10GE1/0/4 -------------------------------------------------------------------------------- 保存配置后將設備下電。 # 保存SwitchA和SwitchB的配置,然后將設備下電。SwitchB的配置與SwitchA相同,略。 <SwitchA> save Warning: The current configuration will be written to the device. Continue? [Y/N]: y 按照前期規划及配置,連接堆疊線纜。線纜連接完成后將設備上電。 建議先將高優先級設備上電,以使其先完成啟動,優先競爭為主交換機。 驗證配置結果。 # 等待幾分鍾后,在主交換機SwitchA上使用命令display stack查看堆疊是否組建成功。 <SwitchA> display stack -------------------------------------------------------------------------------- MemberID Role MAC Priority DeviceType Description -------------------------------------------------------------------------------- 1 Master 0004-9f31-d520 150 CE6850-48T4Q-EI 2 Standby 0004-9f62-1f40 120 CE6850-48T4Q-EI -------------------------------------------------------------------------------- 如上所示,顯示兩台交換機的信息,表示堆疊建立成功,且主交換機為成員ID為1的設備,即SwitchA。 # 查看堆疊系統拓撲信息。 <SwitchA> display stack topology Stack Topology: ---------------------------------------------- Stack-Port 1 Stack-Port 2 MemberID Status Neighbor Status Neighbor ---------------------------------------------- 1 up 2 -- -- 2 up 1 -- -- ---------------------------------------------- Stack Link: ---------------------------------------------------------------------------- Stack-Port Port Status PeerPort PeerStatus ---------------------------------------------------------------------------- Stack-Port1/1 10GE1/0/1 up 10GE2/0/1 up Stack-Port1/1 10GE1/0/2 up 10GE2/0/2 up Stack-Port1/1 10GE1/0/3 up 10GE2/0/3 up Stack-Port1/1 10GE1/0/4 up 10GE2/0/4 up Stack-Port2/1 10GE2/0/1 up 10GE1/0/1 up Stack-Port2/1 10GE2/0/2 up 10GE1/0/2 up Stack-Port2/1 10GE2/0/3 up 10GE1/0/3 up Stack-Port2/1 10GE2/0/4 up 10GE1/0/4 up ---------------------------------------------------------------------------- 保存堆疊系統配置。 說明: 在檢查堆疊已成功建立后,建議用戶立即使用save命令保存堆疊系統配置。 <SwitchA> save Warning: The current configuration will be written to the device. Continue? [Y/N]: y

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM