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,一经查实,立即删除!

相关文章

计算机课程名,汇总

MP-ZHI, CS-DOG, R, NBA ! 助记词&#xff1a;媒婆知道&#xff0c;CS-DOG&#xff0c;认识NBA明星&#xff01; M&#xff0c;密&#xff0c;《网络安全》P&#xff0c;Performance&#xff0c;性能卓越的&#xff0c;指的是超算Z&#xff0c;组&#xff0c;《计算机组成原理…

Linux下如何解压rar文件

在windows下我们压缩解压文件通常后缀为rar&#xff0c;在linux下我们压缩解压文件通常后缀为tar 默认在linux下我们不能解压压缩rar文件&#xff0c;那我们如何使用呢&#xff1f; 我们可以下载rarlinux安装包实现解压压缩后缀为rar的包 下载地址&#xff1a;https://www.r…

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;由点集和边集可以确定…

Python的分布式系统设计与开发

Python中的分布式系统设计与开发是一个复杂而广泛的主题&#xff0c;它涉及多个方面&#xff0c;包括系统架构、组件设计、通信机制、数据处理等。以下是对Python中分布式系统设计与开发的详细说明&#xff1a; 一、分布式系统基础 1. 定义与特点 分布式系统是指由多个独立的…

C++——类与对象(下)

在类与对象的上和中已经把类与对象的大部分内容讲了&#xff0c;这里对最后的一些内容进行补充说明。 目录 一、初始化列表 二、类型转换 三、static成员 四、友元 五、内部类 六、匿名对象 一、初始化列表 之前我们在实现构造函数的时候&#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;这段是设置窗口上的标题。 另外窗口的大小你可以通…

Linux操作系统特殊权限、文件系统管理命令、网络配置命令

Linux操作系统特殊权限 在Linux操作系统中&#xff0c;除了常规的读、写、执行权限外&#xff0c;还有一些特殊权限用于控制文件和目录的访问行为。这些特殊权限包括SUID&#xff08;Set User ID&#xff09;、SGID&#xff08;Set Group ID&#xff09;和Sticky Bit&#xff…

LlamaIndex 结构化输出

我们和大模型是通过 prompt 进行交互的&#xff0c;我们提示什么&#xff0c;大模型就输出什么。 假如我们要求大模型输出结构化的数据如 JSON&#xff0c;yaml 是不是也可以&#xff1f; 第一个例子 先建一个索引&#xff1a; from llama_index.core import VectorStoreIn…

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;为校园…

力扣1963.使字符串平衡的最小交换次数

力扣1963.使字符串平衡的最小交换次数 把所有匹配的消了 剩下的一定是k个‘ [ ’和k个‘ ] ’的组合k为偶数 则res k / 2;k为奇数 则res (k-1)/2 1; class Solution {public:int minSwaps(string s) {int cnt0;for(char c:s){if(c ]){if(cnt > 0) cnt--;}elsecnt;}co…

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;并实现数据查询功能 威纶通支持数据库…

Datawhale AI 夏令营_基于术语词典干预的机器翻译挑战赛 .md

基于术语词典干预的机器翻译 在baseline的基础上添加了soft attention&#xff0c;当N2000时&#xff0c;没有问题&#xff0c;但是一旦增加数据量就会爆显存&#xff0c;还需要找一下问题 完整代码如下 from typing import Listimport torch import torch.nn as nn import …