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

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

鸿蒙语言基础类库:【@system.app (应用上下文)】

应用上下文 说明&#xff1a; 从API Version 7 开始&#xff0c;该接口不再维护&#xff0c;推荐使用新接口。本模块首批接口从API version 3开始支持。后续版本的新增接口&#xff0c;采用上角标单独标记接口的起始版本。 导入模块 import app from system.app;app.getInfo …

Scrapy框架实现数据采集的详细步骤

需求描述&#xff1a; 本项目目标是使用Scrapy框架从宁波大学经济学院网站&#xff08;nbufe.edu.cn&#xff09;爬取新闻或公告详情页的内容。具体需求如下&#xff1a; 1、通过遍历多个页面&#xff08;共55页&#xff09;构建翻页URL。 2、使用scrapy自带的xpath从每页的…

C++基础(二十):常见C++11的新特性

1979年&#xff0c;贝尔实验室的本贾尼等人试图分析unix内核的时候&#xff0c;试图将内核模块化&#xff0c;于是在C 语言的基础上进行扩展&#xff0c;增加了类的机制&#xff0c;完成了一个可以运行的预处理程序&#xff0c;称之为C with classes。语言的发展就像是练功打怪…

项目三层架构详情

三层架构 三层架构就是为了符合“高内聚&#xff0c;低耦合”思想&#xff0c;把各个功能模块划分为表示层&#xff08;UI&#xff09;、业务逻辑层&#xff08;BLL&#xff09;和数据访问层&#xff08;DAL&#xff09;三层架构&#xff0c;各层之间采用接口相互访问&#xf…

UDP网络通信(发送端+接收端)实例 —— Python

简介 在网络通信编程中&#xff0c;用的最多的就是UDP和TCP通信了&#xff0c;原理这里就不分析了&#xff0c;网上介绍也很多&#xff0c;这里简单列举一下各自的优缺点和使用场景 通信方式优点缺点适用场景UDP及时性好&#xff0c;快速视网络情况&#xff0c;存在丢包 与嵌入…

Windows终端远程登陆Linux服务器(SSH+VScode)

W i n d o w s 终端远程登陆 L i n u x 服务器&#xff08; S S H V S c o d e &#xff09; \huge{Windows终端远程登陆Linux服务器&#xff08;SSHVScode&#xff09;} Windows终端远程登陆Linux服务器&#xff08;SSHVScode&#xff09; 文章目录 写在前面通过SSH远程连接L…

Postman下载及使用说明

Postman使用说明 Postman是什么&#xff1f; ​ Postman是一款接口对接工具【接口测试工具】 接口&#xff08;前端接口&#xff09;是什么&#xff1f; ​ 前端发送的请求普遍被称为接口 ​ 通常有网页的uri参数格式json/key-value请求方式post/get响应请求的格式json 接…

@google/model-viewer 导入 改纹理 (http-serve)

导入模型 改纹理 效果图 <template><div><h1>鞋模型</h1><model-viewerstyle"width: 300px; height: 300px"id"my-replace-people"src"/imgApi/Astronaut.glb"auto-rotatecamera-controls></model-viewer>&…

网络分层及通信过程

网络分层体系 主流的理论体系中主要包含三种网络分层模型&#xff0c;即ISO的七层网络模型、TCP/IP的四层网络模型以及结合两种模型优点的五层网络模型&#xff0c;关于网络模型&#xff0c;主要起到对网络体系的一个整体认识&#xff0c;作为网络知识学习的开始&#xff0c;这…

【Python进阶】正则表达式、pymysql模块

目录 一、正则表达式的概述 1、基本介绍 2、快速使用re模块 二、正则的常见规则 1、匹配单个字符 2、原始字符串 3、匹配多个字符 4、匹配开头和结尾 5、匹配分组 三、Python与MySQL交互 1、pymysql模块的安装 2、pymysql的操作步骤 3、connection对象 4、cursor…

【Git从入门到精通】——Git常用命令总结

&#x1f3bc;个人主页&#xff1a;【Y小夜】 &#x1f60e;作者简介&#xff1a;一位双非学校的大二学生&#xff0c;编程爱好者&#xff0c; 专注于基础和实战分享&#xff0c;欢迎私信咨询&#xff01; &#x1f386;入门专栏&#xff1a;&#x1f387;【MySQL&#xff0…

购物系统 (GUI)

一、前言 1 研究背景 随着电子商务的快速发展&#xff0c;越来越多的消费者选择在网上购物。为了提高用户体验、提升交易效率和管理便捷性&#xff0c;许多企业和个人开始开发和使用各种类型的购物系统商城。而基于Java Swing的购物系统商城正是应运而生的一种应用。Java Swi…

C++中链表的底层迭代器实现

大家都知道在C的学习中迭代器是必不可少的&#xff0c;今天我们学习的是C中的链表的底层迭代器的实现&#xff0c;首先我们应该先知道链表的底层迭代器和顺序表的底层迭代器在实现上有什么区别&#xff0c;为什么顺序表的底层迭代器更加容易实现&#xff0c;而链表的底层迭代器…

更换Mac硬盘后如何将数据恢复到新驱动器?

在本文中&#xff0c;我们将分享几种在用新 Mac 硬盘替换旧 Mac 硬盘后从旧 Mac 硬盘恢复数据的方法。 您是否最近由于存储空间不足或损坏问题而必须更换新的Mac硬盘&#xff1f;是否要将受影响驱动器中的数据恢复到新驱动器&#xff1f;我们可以帮忙&#xff01;但是&#xf…

线性代数|机器学习-P24加速梯度下降(动量法)

文章目录 1. 概述2. 引入3. 动量法梯度下降 1. 概述 我们之前学的最速梯度下降[线搜索方法] 公式如下&#xff1a; x k 1 x k − s k ∇ f ( x k ) \begin{equation} x_{k1}x_k-s_k\nabla f(x_k) \end{equation} xk1​xk​−sk​∇f(xk​)​​ 但对于这种方法来说&#xff…

手机数据恢复篇:如何从 Android 设备内恢复数据

如何从 Android 内部存储恢复数据&#xff1f; 要从 Android 内部存储恢复已删除的文件&#xff0c;您需要一个 Android 内部存储恢复应用或程序。请继续阅读以获取可靠的 Android 数据恢复软件&#xff0c;并让它帮助您从 Android 手机的内部存储恢复数据。 是否有可能恢复 An…

【vue3-命名规范以及注意事项】

使用多字组件名 使用详细的道具定义props 在提交的代码中&#xff0c;prop定义应该总是尽可能详细&#xff0c;至少指定类型。 在声明期间&#xff0c;道具名应该始终使用camelCase。当在in-DOM模板中使用时&#xff0c;props应该是串式的。单文件组件模板和JSX可以使用keba…

sklearn之神经网络学习算法

文章目录 什么是神经网络人工神经网络的结构输入层输出层隐含层神经元的链接 近几年深度学习还是比较火的&#xff0c;尤其是在大语言模型之后&#xff0c;在本质上深度学习网络就是层数比较多的神经网络。sklearn并不支持深度学习&#xff0c;但是支持多层感知机&#xff08;浅…

AI 歌词创作:突破想象,惊艳听觉

在音乐的世界里&#xff0c;歌词是触动心灵的钥匙&#xff0c;是引发共鸣的桥梁。而如今&#xff0c;AI 歌词创作正以其惊人的力量&#xff0c;突破我们的想象&#xff0c;为我们带来前所未有的听觉盛宴。 “妙笔生词智能写歌词软件&#xff08;veve522&#xff09;”便是这场…

【机器学习-00】机器学习是什么?

在科技飞速发展的今天&#xff0c;机器学习已成为一个热门话题&#xff0c;广泛应用于各个行业和领域。那么&#xff0c;机器学习到底是什么&#xff1f;它又是如何工作的&#xff1f;本文将深入探讨机器学习的定义、原理及其在各领域的应用&#xff0c;带领读者走进这个神秘而…