006-三台交换机堆叠

三台交换机堆叠

链形连接和环形连接

image-20240619231225551

链形配置IRF与环形配置IRF的区别

三个交换机链形配置IRF与三个交换机环形配置IRF的主要区别体现在以下几个方面:

  1. 物理位置要求:
    • 链形连接:对成员设备的物理位置要求相对较低,主要适用于成员设备物理位置分散的组网场景。
    • 环形连接:相比链形连接,对成员设备的物理位置要求更高,需要设备之间形成闭环连接。
  2. 可靠性:
    • 链形连接:当链形连接中出现链路故障时,可能会引起IRF分裂,导致部分成员设备无法正常工作。
    • 环形连接:在环形连接中,即使某条链路出现故障,也会自动形成链形连接,IRF的业务不会受到影响,因此具有更高的可靠性。
  3. 配置和管理:
    • 无论是链形连接还是环形连接,在配置IRF时都需要进行必要的配置,如设置成员设备的优先级、配置IRF物理端口等。但具体的配置步骤和参数可能会因不同的设备和网络环境而有所差异。
    • 管理方面,无论是链形连接还是环形连接的IRF系统,都可以通过连接到任何一台设备的任何一个端口来登录统一的逻辑设备,从而实现对整个智能弹性系统以及系统内所有成员设备的管理。
  4. 带宽和性能:
    • 链形连接和环形连接在带宽和性能方面没有本质的区别,都可以通过跨设备的链路聚合等技术实现高性能的数据传输。但在某些特定的网络环境中,环形连接可能会因为具有更高的可靠性而提供更稳定的网络性能。
  5. 适用场景:
    • 链形连接适用于对物理位置要求较低、对网络可靠性要求不是非常高的场景。
    • 环形连接适用于对物理位置要求较高、对网络可靠性要求非常高的场景,如数据中心、大型企业网络等。

链形连接和环形连接在物理位置要求、可靠性、配置和管理、带宽和性能以及适用场景等方面都存在明显的差异。在实际应用中,需要根据具体的网络环境和需求来选择合适的连接方式。

链形配置IRF

拓扑图

image-20240619230445964

链路连接

Switch_A的Ten-GigabitEthernet1/0/51连接Switch_B的Ten-GigabitEthernet1/0/52

Switch_B的Ten-GigabitEthernet1/0/51连接Switch_C的Ten-GigabitEthernet1/0/52

交换机配置

Switch_A
  • 设置为主交换机配置其优先级为30,同时关闭堆叠口
[Switch_A]irf member 1 priority 30
[Switch_A]
[Switch_A]int Ten-GigabitEthernet1/0/51
[Switch_A-Ten-GigabitEthernet1/0/51]shutdown
[Switch_A-Ten-GigabitEthernet1/0/51]%Jun 19 22:17:48:393 2024 Switch_A IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/51 changed to down.
%Jun 19 22:17:48:393 2024 Switch_A IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/51 changed to down.[Switch_A-Ten-GigabitEthernet1/0/51]quit
[Switch_A]
  • 创建虚拟接口,并绑定端口
[Switch_A]irf
[Switch_A]irf-port 1/1
[Switch_A-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/51
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_A-irf-port1/1]
[Switch_A-irf-port1/1]quit
[Switch_A]
  • 进入堆叠口,重新将该端口打开,保存配置
[Switch_A]int Ten-GigabitEthernet1/0/51
[Switch_A-Ten-GigabitEthernet1/0/51]undo shutdown
[Switch_A-Ten-GigabitEthernet1/0/51]%Jun 19 22:18:50:444 2024 Switch_A IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/51 changed to up.
%Jun 19 22:18:50:444 2024 Switch_A IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/51 changed to up.
%Jun 19 22:18:50:444 2024 Switch_A LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet1/0/51 (IfIndex 52), neighbor's chassis ID is 6ef9-d913-0200, port ID is Ten-GigabitEthernet1/0/52.[Switch_A-Ten-GigabitEthernet1/0/51]quit
[Switch_A]save
  • 激活IRF
[Switch_A]irf-port-configuration active
Switch_B
  • 设置为从交换机配置其优先级为20
[Switch_B]irf member 1 priority 20
  • 将编号1更改为编号2,重启生效
[Switch_B]irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
Please reboot the device for the new member ID to take effect.
[Switch_B]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[Switch_B]quit
<Switch_B>reboot
  • 重启后关闭堆叠口
[Switch_B]interface range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
[Switch_B-if-range]shutdown
%Jun 19 22:50:01:875 2024 Switch_B IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/51 changed to down.
%Jun 19 22:50:01:875 2024 Switch_B IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/51 changed to down.
[Switch_B-if-range]%Jun 19 22:50:01:905 2024 Switch_B IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/52 changed to down.
%Jun 19 22:50:01:905 2024 Switch_B IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/52 changed to down.[Switch_B-if-range]quit
[Switch_B]
  • 创建虚拟接口,并绑定端口
[Switch_B]irf-port 2/2
[Switch_B-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/52
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_B-irf-port2/2]
[Switch_B-irf-port2/2]quit
[Switch_B]irf-port 2/1
[Switch_B-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/51
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_B-irf-port2/1]quit
[Switch_B]
  • 进入堆叠口,重新将该端口打开,并保存配置
[Switch_B]interface range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/
52
[Switch_B-if-range]undo shutdown
[Switch_B-if-range]%Jun 19 22:53:13:295 2024 Switch_B IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/52 changed to up.
%Jun 19 22:53:13:295 2024 Switch_B IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/52 changed to up.
%Jun 19 22:53:13:296 2024 Switch_B LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/52 (IfIndex 565), neighbor's chassis ID is 6ef9-d500-0100, port ID is Ten-GigabitEthernet1/0/51.
%Jun 19 22:53:13:830 2024 Switch_B LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/51 (IfIndex 564), neighbor's chassis ID is 6ef9-dda2-0300, port ID is Ten-GigabitEthernet3/0/52.
%Jun 19 22:53:13:831 2024 Switch_B IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/51 changed to up.
%Jun 19 22:53:13:831 2024 Switch_B IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/51 changed to up.[Switch_B-if-range]quit
[Switch_B]save
  • 激活IRF
[Switch_B]irf-port-configuration active 
Switch_C
  • 设置为从交换机配置其优先级为10
[Switch_C]irf member 1 priority 10
  • 将编号1更改为编号3,重启生效
[Switch_C]irf member 1 renumber 3
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
Please reboot the device for the new member ID to take effect.
[Switch_C]quit
<Switch_C>reboot
  • 重启后关闭堆叠口
[Switch_C]interface Ten-GigabitEthernet3/0/52
[Switch_C-Ten-GigabitEthernet3/0/52]shutdown
[Switch_C-Ten-GigabitEthernet3/0/52]%Jun 19 22:55:52:367 2024 Switch_C IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet3/0/52 changed to down.
%Jun 19 22:55:52:367 2024 Switch_C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet3/0/52 changed to down.[Switch_C-Ten-GigabitEthernet3/0/52]quit
[Switch_C]
  • 创建虚拟接口,并绑定端口
[Switch_C]irf-port 3/2
[Switch_C-irf-port3/2]port group interface Ten-GigabitEthernet 3/0/52
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_C-irf-port3/2]
[Switch_C-irf-port3/2]quit
[Switch_C]
  • 进入堆叠口,重新将该端口打开,保存配置
[Switch_C]interface Ten-GigabitEthernet3/0/52
[Switch_C-Ten-GigabitEthernet3/0/52]undo shutdown
[Switch_C-Ten-GigabitEthernet3/0/52]%Jun 19 22:58:13:290 2024 Switch_C IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet3/0/52 changed to up.
%Jun 19 22:58:13:290 2024 Switch_C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet3/0/52 changed to up.
%Jun 19 22:58:13:291 2024 Switch_C LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet3/0/52 (IfIndex 1077), neighbor's chassis ID is 6ef9-d500-0100, port ID is Ten-GigabitEthernet2/0/51.[Switch_C-Ten-GigabitEthernet3/0/52]quit
[Switch_C]save
  • 激活IRF
[Switch_C]irf-port-configuration active 

查看IRF配置信息

display irf

image-20240619230214928

查看堆叠链路状态

dis irf link

image-20240623222315084

查看堆叠拓扑结构

dis irf topology

image-20240623222149432

环形配置IRF

拓扑图

image-20240623195432191

链路连接

Switch_A的Ten-GigabitEthernet1/0/51连接Switch_B的Ten-GigabitEthernet1/0/52

Switch_B的Ten-GigabitEthernet1/0/51连接Switch_C的Ten-GigabitEthernet1/0/52

Switch_C的Ten-GigabitEthernet1/0/51连接Switch_A的Ten-GigabitEthernet1/0/52

交换机配置

Switch_A
  • 设置为主交换机配置其优先级为30,同时关闭堆叠口
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname Switch_A
[Switch_A]
[Switch_A]irf member 1 priority 30
[Switch_A]interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
[Switch_A-if-range]shutdown
%Jun 23 19:59:50:221 2024 Switch_A IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/51 changed to down.
%Jun 23 19:59:50:221 2024 Switch_A IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/51 changed to down.
%Jun 23 19:59:50:224 2024 Switch_A STP/6/STP_NOTIFIED_TC: Instance 0's port Ten-GigabitEthernet1/0/52 was notified a topology change.
[Switch_A-if-range]%Jun 23 19:59:50:248 2024 Switch_A IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/52 changed to down.
%Jun 23 19:59:50:248 2024 Switch_A IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/52 changed to down.[Switch_A-if-range]
[Switch_A-if-range]quit
[Switch_A]
  • 创建虚拟接口1/1,并绑定端口Ten-GigabitEthernet 1/0/51
[Switch_A]irf-port 1/1
[Switch_A-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/51
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_A-irf-port1/1]quit
[Switch_A]
  • 创建虚拟接口1/2,并绑定端口Ten-GigabitEthernet 1/0/52
[Switch_A]irf-port 1/2
[Switch_A-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/52
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_A-irf-port1/2]quit
[Switch_A]
  • 进入堆叠口,重新将该端口打开
[Switch_A]interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
[Switch_A-if-range]undo shutdown
[Switch_A-if-range]%Jun 23 20:01:50:298 2024 Switch_A IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/52 changed to up.
%Jun 23 20:01:50:298 2024 Switch_A IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/52 changed to up.
%Jun 23 20:01:50:298 2024 Switch_A LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet1/0/52 (IfIndex 53), neighbor's chassis ID is 8466-b8b6-0300, port ID is Ten-GigabitEthernet1/0/51.
%Jun 23 20:01:51:044 2024 Switch_A LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet1/0/51 (IfIndex 52), neighbor's chassis ID is 8466-b401-0200, port ID is Ten-GigabitEthernet1/0/52.
%Jun 23 20:01:51:044 2024 Switch_A IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/51 changed to up.
%Jun 23 20:01:51:045 2024 Switch_A IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/51 changed to up.[Switch_A-if-range]quit
[Switch_A]
  • 保存配置
[Switch_A]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[Switch_A]
Switch_B
  • 设置为从交换机配置其优先级为20
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname Switch_B
[Switch_B]
[Switch_B]irf member 1 priority 20
  • 将编号1更改为编号2,重启生效
[Switch_B]irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
Please reboot the device for the new member ID to take effect.
[Switch_B]
[Switch_B]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[Switch_B]
[Switch_B]quit
<Switch_B>reboot
  • 重启后关闭堆叠口
[Switch_B]int range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
[Switch_B-if-range]shutdown
%Jun 23 20:15:21:809 2024 Switch_B IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/51 changed to down.
%Jun 23 20:15:21:809 2024 Switch_B IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/51 changed to down.
%Jun 23 20:15:21:837 2024 Switch_B IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/52 changed to down.
%Jun 23 20:15:21:837 2024 Switch_B IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/52 changed to down.
[Switch_B-if-range]quit
[Switch_B]
  • 创建虚拟接口2/1,并绑定端口Ten-GigabitEthernet 2/0/51
[Switch_B]irf-port 2/1
[Switch_B-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/51
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_B-irf-port2/1]quit
[Switch_B]
  • 创建虚拟接口2/2,并绑定端口Ten-GigabitEthernet 2/0/52
[Switch_B]irf-port 2/2
[Switch_B-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/52
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_B-irf-port2/2]quit
[Switch_B]
  • 进入堆叠口,重新将该端口打开
[Switch_B]int range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
[Switch_B-if-range]undo shutdown
[Switch_B-if-range]%Jun 23 20:18:52:364 2024 Switch_B IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/51 changed to up.
%Jun 23 20:18:52:364 2024 Switch_B IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/51 changed to up.
%Jun 23 20:18:52:364 2024 Switch_B LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/51 (IfIndex 564), neighbor's chassis ID is 8466-b8b6-0300, port ID is Ten-GigabitEthernet1/0/52.
%Jun 23 20:18:52:380 2024 Switch_B IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/52 changed to up.
%Jun 23 20:18:52:380 2024 Switch_B IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/52 changed to up.
%Jun 23 20:18:52:381 2024 Switch_B LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/52 (IfIndex 565), neighbor's chassis ID is 8466-aa85-0100, port ID is Ten-GigabitEthernet1/0/51.[Switch_B-if-range]quit
[Switch_B]
  • 保存配置
[Switch_B]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
The startup.cfg file already exists.
Compared with the startup.cfg file, The current configuration adds 60 commands and deletes 58 commands.
If you want to see the configuration differences, please cancel this operation, and then use the display diff command to show the details.
If you continue the save operation, the file will be overwritten.
Are you sure you want to continue the save operation? [Y/N]:y
Saving the current configuration to the file. Please wait...
Saved the current configuration to mainboard device successfully.
[Switch_B]
Switch_C
  • 设置为从交换机配置其优先级为10
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname Switch_C
[Switch_C]
[Switch_C]irf member 1 priority 10
[Switch_C]
  • 将编号1更改为编号3,重启生效
[Switch_C]irf member 1 renumber 3
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
Please reboot the device for the new member ID to take effect.
[Switch_C]
[Switch_C]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[Switch_C]quit
<Switch_C>
<Switch_C>reboot
  • 重启后关闭堆叠口
[Switch_C]int range Ten-GigabitEthernet 3/0/51 to Ten-GigabitEthernet 3/0/52
[Switch_C-if-range]shutdown
%Jun 23 20:23:58:802 2024 Switch_C IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet3/0/51 changed to down.
%Jun 23 20:23:58:802 2024 Switch_C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet3/0/51 changed to down.
%Jun 23 20:23:58:831 2024 Switch_C IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet3/0/52 changed to down.
%Jun 23 20:23:58:831 2024 Switch_C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet3/0/52 changed to down.
[Switch_C-if-range]
[Switch_C-if-range]quit
[Switch_C]
  • 创建虚拟接口3/1,并绑定端口Ten-GigabitEthernet 3/0/51
[Switch_C]irf-port 3/1
[Switch_C-irf-port3/1]port group interface Ten-GigabitEthernet 3/0/51
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_C-irf-port3/1]quit
[Switch_C]
  • 创建虚拟接口3/2,并绑定端口Ten-GigabitEthernet 3/0/52
[Switch_C]irf-port 3/2
[Switch_C-irf-port3/2]port group interface Ten-GigabitEthernet 3/0/52
You must perform the following tasks for a successful IRF setup: 
Save the configuration after completing IRF configuration. 
Execute the "irf-port-configuration active" command to activate the IRF ports. 
[Switch_C-irf-port3/2]quit
[Switch_C]
  • 进入堆叠口,重新将该端口打开
[Switch_C]int range Ten-GigabitEthernet 3/0/51 to Ten-GigabitEthernet 3/0/52
[Switch_C-if-range]undo shutdown
[Switch_C-if-range]%Jun 23 20:26:48:803 2024 Switch_C LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet3/0/52 (IfIndex 1077), neighbor's chassis ID is 8466-b401-0200, port ID is Ten-GigabitEthernet2/0/51.
%Jun 23 20:26:48:803 2024 Switch_C IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet3/0/52 changed to up.
%Jun 23 20:26:48:803 2024 Switch_C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet3/0/52 changed to up.
%Jun 23 20:26:49:163 2024 Switch_C IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet3/0/51 changed to up.
%Jun 23 20:26:49:163 2024 Switch_C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet3/0/51 changed to up.
%Jun 23 20:26:49:163 2024 Switch_C LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet3/0/51 (IfIndex 1076), neighbor's chassis ID is 8466-aa85-0100, port ID is Ten-GigabitEthernet1/0/52.[Switch_C-if-range]
[Switch_C-if-range]quit
[Switch_C]
  • 保存配置
[Switch_C]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
The startup.cfg file already exists.
Compared with the startup.cfg file, The current configuration adds 60 commands and deletes 58 commands.
If you want to see the configuration differences, please cancel this operation, and then use the display diff command to show the details.
If you continue the save operation, the file will be overwritten.
Are you sure you want to continue the save operation? [Y/N]:y
Saving the current configuration to the file. Please wait...
Saved the current configuration to mainboard device successfully.
[Switch_C]
激活三交换机IRF
  • 先激活SWA,然后激活SWB,再激活SWC。
[Switch_A]irf-port-configuration active 
[Switch_B]irf-port-configuration active 
[Switch_C]irf-port-configuration active 

查看IRF配置信息

display irf

image-20240623203313238

查看堆叠链路状态

dis irf link

image-20240623204103265

查看堆叠拓扑结构

dis irf topology

image-20240623204352134

参考文章:http://t.csdnimg.cn/3AolN

H3C官方文档:https://www.h3c.com/cn/d_201503/858643_30005_0.htm

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/46314.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

HybridCLR + Addressable 热更新篇(一)

目录 前言一、HybridCLR 和 Addressable 是什么&#xff1f;1. HybridCLR2. Addressable 二、使用步骤1.HybridCLR导入2.HybridCLR配置3.Addressable导入4.Addressable配置 前言 随着移动互联网和游戏行业的快速发展&#xff0c;热更新技术变得越来越重要。热更新能够在不重新…

图——定义和基本术语

图是数据结构中非常重要的一章&#xff0c;这篇文章就先介绍一下图的定义和基本术语。 一&#xff0c;图的构成 图&#xff1a;Graph(V,E) V&#xff1a;顶点(数据元素)的有穷非空集合&#xff1b; E&#xff1a;边的有穷集合。 如下面这个图&#xff0c;由点集和边集可以确定…

mupdf 编译说明

进入官网下载源码&#xff1a;https://www.mupdf.com/releases 挑选需要的版本&#xff0c;下载解压&#xff0c;然后打开解决方案&#xff0c;进行编译

python 怎样生成窗体

通过import tkinter导入Tkinter模块&#xff0c;没有这句下面的都不成立了。 wintkinter.Tk()&#xff0c;这句是创建windows的窗口对象&#xff0c;注意后面的Tk&#xff0c;大小写。 win.title("窗口")&#xff0c;这段是设置窗口上的标题。 另外窗口的大小你可以通…

java实战项目-学生管理系统(附带全套源代码)--《基础篇》

一、前言 第一个java小型学生管理系统&#xff0c;思路和其他语言都一样&#xff0c;因为有C语言的基础&#xff0c;写这个并不是太难&#xff0c;不过&#xff0c;进阶篇的就难太多了。明天晚上更新进阶篇&#xff0c;因为目前代码还没有完善&#xff0c;保守估计需要500行代…

网络请求优化:如何让你的API飞起来

网络请求优化&#xff1a;如何让你的API飞起来 亲爱的开发者朋友们&#xff0c;你是否曾经遇到过这样的场景:用户疯狂点击刷新按钮,你的服务器却像老年人散步一样慢吞吞地响应。或者,你的应用像个贪吃蛇,疯狂吞噬用户的流量包。如果你对这些情况再熟悉不过,那么恭喜你,你正需要…

Unity ColorSpace 之 【颜色空间】相关说明,以及【Linear】颜色校正 【Gamma】的简单整理

Unity ColorSpace 之 【颜色空间】相关说明&#xff0c;以及【Linear】颜色校正 【Gamma】的简单整理 目录 Unity ColorSpace 之 【颜色空间】相关说明&#xff0c;以及【Linear】颜色校正 【Gamma】的简单整理 一、简单介绍 二、在Unity中设置颜色空间 三、Unity中的Gamma…

部队物资仓库出入库管理系统|实现物资有效的战备保障

随着科技的不断发展&#xff0c;智慧营区已成为现代军事管理的重要方向。后勤物资管控作为营区管理的重要组成部分&#xff0c;对于保障营区正常运转和提高部队战斗力具有重要意义。智慧营区后勤物资管控平台作为数字化后勤建设的重要组成部分&#xff0c;能够实现营区物资的智…

Ubuntu下载安装chrome浏览器

方法一&#xff1a;wget下载并安装 1、创建文件夹存安装包 cd /root/Downloads mkdir chrome 2、下载安装包到文件夹内 wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P /root/Downloads/chrome 3、安装 cd chrome sudo dpkg -i go…

药品类别功能助力智慧校园医务管理向前迈进

在智慧校园的医务管理框架下&#xff0c;药品类别管理模块发挥着举足轻重的作用&#xff0c;它以智能化的方式优化药品的存储、分配流程&#xff0c;确保每一步都符合安全与效率的标准。这一功能围绕着科学分类的核心理念&#xff0c;细致入微地组织药品信息&#xff0c;为校园…

TCP传输控制协议二

TCP 是 TCP/IP 模型中的传输层一个最核心的协议&#xff0c;不仅如此&#xff0c;在整个 4 层模型中&#xff0c;它都是核心的协议&#xff0c;要不然模型怎么会叫做 TCP/IP 模型呢。 它向下使用网络层的 IP 协议&#xff0c;向上为 FTP、SMTP、POP3、SSH、Telnet、HTTP 等应用…

威纶通触摸屏连接MySQL数据库步骤

目录 概要威纶通支持数据库的触摸屏类型测试Step 1 选择触摸屏型号Step 2 新增数据库服务器Step 3 添加SQL数据库查询功能Step 4 仿真测试 概要 通过使用威纶通带数据库类型的触摸屏&#xff0c;实现连接本地/远程MySQL数据库&#xff0c;并实现数据查询功能 威纶通支持数据库…

专业条码二维码扫描设备和手机二维码扫描软件的区别?

条码二维码技术已广泛应用于我们的日常生活中&#xff0c;从超市结账到公交出行&#xff0c;再到各类活动的入场验证&#xff0c;条码二维码的便捷性不言而喻&#xff0c;而在条码二维码的扫描识别读取过程中&#xff0c;专业扫描读取设备和手机二维码扫描软件成为了两大主要工…

ssh升级

文章目录 ssh升级一、解包ssh、ssl二、更新安装ssl三、手动更新手动复制库文件四、创建符号链接五、更新库路径六、验证库文件七、设置库路径环境变量八、配置、编译、安装OpenSSH&#xff1a;意外&#xff1a;缺少 zlib 的开发库解决方法&#xff1a; 九、刷新ssh服务、查看ss…

力扣第九题

回文数 提示&#xff1a; 给你一个整数 x &#xff0c;如果 x 是一个回文整数&#xff0c;返回 true &#xff1b;否则&#xff0c;返回 false 。 回文数是指正序&#xff08;从左向右&#xff09;和倒序&#xff08;从右向左&#xff09;读都是一样的整数。 代码展示&#…

AI绘画Stable Diffusion 零基础入门 —AI 绘画原理与工具介绍,万字解析AI绘画的使用教程

大家好&#xff0c;我是设计师阿威 想要入门 AI 绘画&#xff0c;首先需要了解它的原理是什么样的。 其实很早就已经有人基于深度学习模型展开了对图像生成的研究了&#xff0c;但在那时&#xff0c;生成的图像分辨率和内容都非常抽象。 直到近两年&#xff0c;AI 产出的图像…

防火墙nat基础实验

一&#xff0c;实验拓扑&#xff1a; 二&#xff0c;实验需求&#xff1a; 1&#xff0c;办公区设备可以通过电信链路和移动链路上网(多对多的NAT&#xff0c;并且需要保留一个公网IP不能用来转换) 2&#xff0c;分公司设备可以通过总公司的移动链路和电信链路访问到Dmz区的ht…

俄罗斯VK 平台广告投放的注意事项有哪些?

以下是为您制定适合 VK 平台的广告投放策略的一些建议&#xff1a; 市场调研 深入了解俄罗斯市场的需求、趋势和竞争情况。 分析目标受众的兴趣、行为和消费习惯&#xff0c;以确定最有潜力的细分市场。 明确目标 确定具体、可衡量的广告目标&#xff0c;例如增加品牌知名度…

Appium自动化测试系列: 2. 使用Appium启动APP(真机)

历史文章&#xff1a;Appium自动化测试系列: 1. Mac安装配置Appium_mac安装appium-CSDN博客 一、准备工作 1. 安卓测试机打开调试模式&#xff0c;然后使用可以传输数据的数据线连接上你的电脑。注意&#xff1a;你的数据线一定要支持传输数据&#xff0c;有的数据线只支持充…

蔚来汽车:拥抱TiDB,实现数据库性能与稳定性的飞跃

作者&#xff1a; Billdi表弟 原文来源&#xff1a; https://tidb.net/blog/449c3f5b 演讲嘉宾&#xff1a;吴记 蔚来汽车Tidb爱好者 整理编辑&#xff1a;黄漫绅&#xff08;表妹&#xff09;、李仲舒、吴记 本文来自 TiDB 社区合肥站走进蔚来汽车——来自吴记老师的演讲…