H3C switch stack configuration
1. The switch port connection line is as follows:
Switch 1 Ten-GigabitEthernet 1/0/45 ----------------------- Ten-GigabitEthernet 1/0/45 Switch 2
Switch 1 Ten-GigabitEthernet 1/0/46 ----------------------- Ten-GigabitEthernet 1/0/46 Switch 2
2. Close the interface that needs to be stacked
interface range Ten-GigabitEthernet 1/0/45 to Ten-GigabitEthernet 1/0/46
shutdown
3. Configure stack related information
irf mac-address persistent always //IFR address is permanent
irf auto-update enable //Auto update enable
irf auto-merge enable //Auto merge enable
undo irf link-delay //Release IRF link delay
irf member 1 priority 32
irf member 2 priority 1
irf mode normal
4. Add stacking group
irf-port 1/2
port group interface Ten-GigabitEthernet1/0/0/45 mode enhanced
port group interface Ten-GigabitEthernet1/0/0/46 mode enhanced
#
irf-port 2/1
port group interface Ten-GigabitEthernet2/0/0/45 mode enhanced
port group interface Ten-GigabitEthernet2/0/0/46 mode enhanced
interface range Ten-GigabitEthernet 1/0/45 to Ten-GigabitEthernet 1/0/46
undo shutdown
5. View stack configuration information and status
[SWA]dis irf
Huawei switch stack configuration
1. Switch port connection
Switch 1 g0/0/1 ----------------------- g0/0/1 Switch 2
switch 1 g0/0/2 ----------------------- g0/0/2 switch 2
2. Stack configuration
#
stack slot 0 priority 10 Modify the priority, the default is 100, the higher the value, the higher the priority
#
[Huawei]interface stack-port1/1
#
[Huawei-stack-port0/1]port int g0/0 /1 enable
[Huawei-stack-port0/1]port int g0/0/2 enable
#
[Huawei-stack-port0/1]quit
#
[Huawei]interface stack-port2/1
#
[Huawei-stack-port0/2 ]port int g0/0/1 enable
[Huawei-stack-port0/2]port int g0/0/2 enable
#
[Huawei-stack-port0/2]quit
#
[SWA]stack slot 0 reunmber 0 Modify the SWA stack ID It is 0, the default is 0
#
[SWB]stack slot 0 renumber 1 Modify the SWB stack ID to 1
#
save
#
reboot
#
View the current active and standby status:
[Sysname] display stack