Configure Stack of 2 Huawei CE6800 Switches

1. Overview

In Huawei switch series CE6800 we can configure Intelligent stack (iStack) technology combines multiple switches into a single virtual switch.
iStack technology provides high network reliability and scalability because each member of switches in a stack work in redundancy mode and easily increase the number its member.

Since both of the switches are in the same location, we will physically connect and configure them as a ring topology stack in this tutorial.

2. Prerequisites

In this tutorial, it is supposed that:

a. You have already understand the concept of Stack switch
b. You already know how to connect console cable to perform switch configuration

3. Physical Connection Planning

Since our case now all member switches are located near one another, ring topology is recommended, because this topology has higher reliability and link utilization. The following is the table of physical connection planning. We will use following service ports to be the stack ports

CE6800
Stack Ring Connection
Master  Slave
Stack-Port 1/1 Stack-Port 2/2
100GE1/0/5 100GE2/0/5
Stack-Port 1/2 Stack-Port 2/1
100GE1/0/6 100GE2/0/6
DAD
10GE1/0/1 10GE2/0/1

We will use port 100GE1/0/5 and 100GE1/0/6 to be working as iStack ports on Master switch and the same ports on Slave switch but after join Stack port in Slave switch will change name to 100GE2/0/5 and 100GE2/0/6.

Also, we will configure Dual-Active Detection (DAD) to prevent the case that stack cables fail, the stack splits into multiple stacks and causing problem.

4. Configure Stack

Execute the following configuration commands on switch that you wish to make it as the Master switch of the stack.

] stack
    stack member 1 priority 150
    stack member 1 domain 20

] interface stack-port 1/1
    port member-group interface 100GE1/0/5

] interface stack-port 1/2
    port member-group interface 100GE1/0/6

Next, execute the following configuration commands on switch that you wish to make it as the Slave switch of the stack

] stack
   stack member 1 priority 120
   stack member 1 domain 20
   stack member 1 renumber 2 inherit-config

] interface stack-port 1/1
    port member-group interface 100GE1/0/6

] interface stack-port 1/2
    port member-group interface 100GE1/0/5

After finish stack configuration on both switch, we need to reboot both of them and verify stack status after they are all up back.

] dis stack 
--------------------------------------------------------------------------------
MemberID Role     MAC              Priority   DeviceType         Description    
--------------------------------------------------------------------------------
+1       Master   7c1c-f181-15c0   150        CE6870-48S6CQ-EI                  
 2       Standby  7c1c-f181-1620   120        CE6870-48S6CQ-EI                  
--------------------------------------------------------------------------------
+ indicates the device where the activated management interface resides.

Then, it is good idea to have the description of all stack ports. So, we know which port is connected to switch ports.

] int 100GE1/0/5
     des SW-Slave_100GE2/0/5-Stack
 
] int 100GE1/0/6
     des SW-Slave_100GE2/0/6-Stack
 
] int 100GE2/0/5
     des SW-Master_100GE1/0/5-Stack 
] int 100GE2/0/6 
     des SW-Master_100GE1/0/6-Stack

6. Configure DAD

Dual-Active Detection (DAD) to prevent the case that stack cables fail, the stack splits into multiple stacks and causing problem. DAD is not mandatory to configure but it is highly recommend to configure it.

To configure DAD, run the following commands

# cd /etc/cron.d
] interface 10GE1/0/1
    des OKMDRSW-STR01_10GE2/0/1-DAD
    dual-active detect mode direct
] interface 10GE2/0/1
   des OKMDRSW-STR01_10GE1/0/1-DAD
   dual-active detect mode direct

Then, we can verify DAD configuration with the following commands.

] display dual-active
Stack domainID: 20
Dual-active status: Normal
Dual-active detect mode: Direct
Dual-active detect configuration of MEth: Disable
Dual-active direct detect interfaces configured:
 10GE1/0/1        up  (Physical)  up  (Protocol)  20   (PeerDomain)
 10GE2/0/1        up  (Physical)  up  (Protocol)  20   (PeerDomain)
Dual-active relay detect interfaces configured:
 --
Excluded ports(configurable):
 --
Excluded ports(can not be configured):
 100GE1/0/5
 100GE1/0/6
 100GE2/0/5
 100GE2/0/6

7. Conclusion

That’s all about Configuring Stack of two Huawei CE6800 Switches from Tech Space KH. Hopefully, you can find this guide informative. If you have any questions or suggestions you can always leave your comments below. I will try all of my best to review and reply them.

Comments

comments