Two H3C (S7003E) do simple stacking configuration
1. First plan the ports that need to be stacked and prepare the stacking cables. The stacking ports are generally optical ports, depending on the equipment.
2. Power up the equipment and use stacking cables to connect the equipment and ports.
3. Use the console line to connect the console port of the device to start configuration.
4. The configuration is as follows:
The member number of the ① configuration switch is generally 1 for the master and 2 for the backup.
Lord:
Sys
[H3C] irf member 1 renumber 1 choose YES to enter directly
[H3C] quit
Standby:
Sys
[H3C] irf member 1 renumber 2 choose YES to enter directly
[H3C] quit
Restart the standby equipment
② configure the member priority of the switch
Lord:
Sys
[H3C] irf member 1 priority 30
[H3C] quit
Standby:
Sys
[H3C] irf member 1 priority 15
[H3C] quit
③ configure irf port, enter the physical port that needs to be configured to stack and close the port.
Lord:
Sys
[H3C] int range Ten-GigabitEthernet 1-0-49 Ten-GigabitEthernet 1-0-50
[H3C-if-range] shutdown
[H3C-if-range] quit
[H3C] irf-port 1/1
[H3C-irf-port1/1] port group interface Ten-GigabitEthernet 1-0-49
[H3C-irf-port1/1] port group interface Ten-GigabitEthernet 1-0-50
[H3C-irf-port1/1] quit
[H3C] int range Ten-GigabitEthernet 1-0-49 Ten-GigabitEthernet 1-0-50
[H3C-if-range] undo shutdown
[H3C-if-range] quit
[H3C] save
[H3C] irf-port-configuration active
Standby:
Sys
[H3C] int range Ten-GigabitEthernet 2-0-49 Ten-GigabitEthernet 2-0-50
[H3C-if-range] shutdown
[H3C-if-range] quit
[H3C] irf-port 1/1
[H3C-irf-port1/1] port group interface Ten-GigabitEthernet 2-0-49
[H3C-irf-port1/1] port group interface Ten-GigabitEthernet 2-0-50
[H3C-irf-port1/1] quit
[H3C] int range Ten-GigabitEthernet 2-0-49 Ten-GigabitEthernet 2-0-50
[H3C-if-range] undo shutdown
[H3C-if-range] quit
[H3C] save
[H3C] irf-port-configuration active
Note: the master campaign will be started after the configuration is completed, and the slave will restart automatically after the campaign is completed. Use dis irf to check the stack.
④ configure bfd to detect the stack
Configure BFD MAC
[H3C] vlan 3
[H3C-vlan3] port ten-gigabitethernet 1-0-24 ten-gigabitethernet 2-0-24
[H3C-vlan3] quit
[H3C] interface vlan-interface 3
[H3C-Vlan-interface3] mad bfd enable
[H3C-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[H3C-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[H3C-Vlan-interface3] quit
# BFD and stp mutually exclusive, disable stp
[H3C] interface gigabitethernet 1-0-24
[H3C-gigabitethernet-1/0/1] undo stp enable
[H3C-gigabitethernet-1/0/1] quit
[H3C] interface gigabitethernet 2-0-24
[H3C-gigabitethernet-2/0/1] undo stp enable
[H3C-gigabitethernet-2/0/1] quit
Network Topology: