Ejemplo
de configuración entre dos switches Huawei CE6851 en modo stack.
1.-
Configure parámetros de Stack
1.1.-
En el switch CE6851-A se configura la prioridad del stack a 150 y el dominio
stack en 10 (por defecto es 1)
<CE6851-A>system-view
Enter
system view, return user view with return command.
[~CE6851-A]stack
[~CE6851-A-stack]stack
member 1 priority 150
[*CE6851-A-stack]stack
member 1 domain 10
[*CE6851-A-stack]quit
[*CE6851-A]commit
1.2.-
En el switch CE6851-B se configura la prioridad del stack a 120 y el dominio
stack en 10
<CE6851-B>system-view
Enter
system view, return user view with return command.
[~C6851-B]stack
[~C6851-B-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.
[*C6851-B-stack]stack
member 1 priority 120
[*C6851-B-stack]stack
member 1 domain 10
Info:
The operation takes effect only after the save command is executed. The device
with a lower priority then will be reset in the stack merging scenario.
[*C6851-B-stack]quit
[*C6851-B]commit
NOTA:
El parametro inherit-config permite cambiar el numero de member del equipo.
2.- Configuración de puertas Stack
2.1.-
En el witch CE6851-A configurar las interfaces fisicas 10GE 1/0/47 to 1/0/48 a
la interface stack 1/1.
[~C6851-A]interface
Stack-Port 1/1
[*C6851-A-Stack-Port1/1]port
member-group interface 10GE 1/0/47 to 1/0/48
2.2.-
En el witch CE6851-A configurar las interfaces fisicas 10GE 1/0/47 to 1/0/48 a
la interface stack 1/1.
[~C6851-B]interface
Stack-Port 1/1
[*C6851-B-Stack-Port1/1]port
member-group interface 10GE 1/0/47 to 1/0/48
3.-
Verificar la configuración del Stack
<CE6851-B>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(2) --(10) 100(120)
-----------------------------------------
Stack-Port
Configuration:
-------------------------------------------------------------------------
Stack-Port Member Ports
-------------------------------------------------------------------------
Stack-Port1/1 10GE1/0/47 10GE1/0/48
-------------------------------------------------------------------------
NOTA:
Los valores indicados en "Oper(Conf)" indican los valores actuales y
los configurados, en este caso son distintos
debido
a que no se han reiniciado los equipos.
4.-
Grabar la configuración, apagar ambos equipos y conectar interfaces.
<CE6851-B>save
Warning:
The current configuration will be written to the device. Continue? [Y/N]:y
Info:
Please input the file name(*.cfg, *.zip, *.dat)[vrpcfg.zip]:
Now
saving the current configuration to the slot 1 ..
Info:
Save the configuration successfully.
5.-
Conectar los 2 switches y encender ambos equipos.
6.-
Verificar la configuración del Stack
<CE6851-A>display
stack
-------------------------------------------------------------------------
MemberID
Role MAC Priority DeviceType
Description
-------------------------------------------------------------------------
1 Master
9c7d-aaaa-0000 150 CE6851-48S6Q-HI
2 Standby
9c7d-aaaa-0001 120 CE6851-48S6Q-HI
-------------------------------------------------------------------------
<CE6851-A>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) 150(150)
2(2) 10(10) 120(120)
-----------------------------------------
Stack-Port
Configuration:
-------------------------------------------------------------------------
Stack-Port Member Ports
-------------------------------------------------------------------------
Stack-Port1/1 10GE1/0/47 10GE1/0/48
Stack-Port2/1 10GE2/0/47 10GE2/0/48
-------------------------------------------------------------------------
<CE6851-A>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/47 up 10GE2/0/47 up
Stack-Port1/1 10GE1/0/48 up 10GE2/0/48 up
Stack-Port2/1 10GE2/0/47 up 10GE1/0/47 up
Stack-Port2/1 10GE2/0/48 up 10GE1/0/48 up
-------------------------------------------------------------------------