006-三台交换机堆叠

news2024/11/15 20:02:02

三台交换机堆叠

链形连接和环形连接

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.coloradmin.cn/o/1926005.html

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

相关文章

Java 过载状态下的快速失败

Java Chassis 3技术解密&#xff1a;过载状态下的快速失败 在 熔断机制的改进路程 技术解密中&#xff0c;总结了如何设计一个优雅的熔断机制。 作为微服务最重要的治理策略之一&#xff0c;熔断机制能够在故障场景起到防止雪崩效应的作用。过载状态是一种特殊的故障场景&…

商品详情使用富文本编辑器

1、https://www.wangeditor.com/ 1、安装依赖包 npm install wangeditor/editor-for-vuenext --save 2、因为好多页面都需要用到&#xff0c;封装富文本编辑器组件 Editor.vue代码 <template><div style"border: 1px solid #ccc"><Toolbar style&q…

Syslog 管理工具

Syslog常被称为系统日志或系统记录&#xff0c;是一种用来在互联网协议&#xff08;TCP/IP&#xff09;的网上中传递记录档消息的标准&#xff0c;常用来指涉实际的Syslog 协议&#xff0c;或者那些提交syslog消息的应用程序或数据库。 系统日志协议&#xff08;Syslog&#x…

成为CMake砖家(3):Windows安装make.exe

大家好&#xff0c;我是白鱼。相信很多朋友已经在用 CMake 做交叉编译了&#xff0c; 而交叉编译往往少不了 make.exe, 这篇来讲讲 make.exe 在 Windows 上的安装。 1. 交叉编译需要 generator CMake 本身是一个 meta build tool&#xff0c; 或者说它是派发任务到具体的 bui…

Windows上网络调试助手NetAssist的使用

NetAssist是Windows上的网络调试助手&#xff0c;从 https://free.cmsoft.cn 下载最新的5.0.13版本&#xff0c;解压缩后直接双击NetAssist.exe即可&#xff0c;无需安装&#xff0c;界面如下图所示&#xff1a; (1).支持的协议类型包括&#xff1a;UDP、UDP IPv6、TCP Client、…

操作系统真象还原:创建文件系统

14.2 创建文件系统 14.2.1 创建超级块、i结点、目录项 超级块 /** Author: Adward-DYX 1654783946qq.com* Date: 2024-05-07 10:18:02* LastEditors: Adward-DYX 1654783946qq.com* LastEditTime: 2024-05-07 11:24:50* FilePath: /OS/chapter14/14.2/fs/super_block.h* Des…

P14-磁通量、高斯定理

高斯定理&#xff1a; 由于磁感线是闭合的&#xff0c;因此对于任一闭合曲面来说&#xff0c;有多少条磁感线进入闭合曲面&#xff0c;就一定有多少条磁感线穿出该闭合曲面。也就是说&#xff0c;通过任意闭合曲面的磁通量必等于零&#xff0c;称为磁场的高斯定理或磁通连续定…

前端面试题(CSS篇六)

一、浏览器如何判断是否支持 webp 格式图片 &#xff08;1&#xff09;宽高判断法。通过创建image对象&#xff0c;将其src属性设置为webp格式的图片&#xff0c;然后在onload事件中获取图片的宽高&#xff0c;如果能够获取&#xff0c;则说明浏览器支持webp格式图片。如果不能…

【pbootcms】新环境搭建环境安装时发生错误

【pbootcms】新环境搭建环境安装时发生错误 提示一下内容&#xff1a; 登录请求发生错误&#xff0c;您可按照如下方式排查: 1、试着删除根目录下runtime目录,刷新页面重试 2、检查系统会话文件存储目录是否具有写入权限; 3、检查服务器环境pathinfo及伪静态规则配置; 先按照…

OWASP 移动应用 2024 十大安全风险

1. OWASP 移动应用 2024 十大安全风险 开放全球应用程序安全项目 &#xff08;OWASP&#xff09; 是一个非营利性基金会&#xff0c;致力于提高软件的安全性。自 2014、2016 年两次发布了移动应用的十大风险后&#xff0c;今年再次发布2024版。这对移动应用软件的检查工具有着…

css画半圆画圆弧

利用border-radius和border完成&#xff1a; <!DOCTYPE html> <html> <head> <meta charset"utf-8"> <title>test</title> <style> .semicircle {width: 100px;height: 50px;border-radius: 0 0 50px 50px;background:…

IDEA社区版使用Maven archetype 创建Spring boot 项目

1.新建new project 2.选择Maven Archetype 3.命名name 4.选择存储地址 5.选择jdk版本 6.Archetype使用webapp 7.create创建项目 创建好长这样。 检查一下自己的Maven是否是自己的。 没问题的话就开始增添java包。 [有的人连resources包也没有&#xff0c;那就需要自己添…

5、Hacker_Kid-v1.0.1

中等难度 目标root权限 先进行一波IP地址发现 netdiscover -i eth0 -r 192.168.1.1/24 发现存在的靶机ip 进行一波端口的探测 发现是一个apache的服务和一个tornado的网站 这里有个细节部分&#xff0c;53端口常见的情况都是走的udp协议做的域名解析&#xff0c;这里查询出来…

manim学习笔记04:使用manim,表示向量和加法。

manim学习笔记04&#xff1a;使用manim&#xff0c;表示向量和加法。 一&#xff0c;相关定义 1.有向线段&#xff1a; 规定若线段 AB的端点为起点为A&#xff0c;B为终点&#xff0c;则线段就具有了从起点 A到终点 B的方向和长度。具有方向和长度的线段叫做有向线段。 接下…

多个版本JAVA切换(学习笔记)

多个版本JAVA切换 很多时候&#xff0c;我们电脑上会安装多个版本的java版本&#xff0c;java8&#xff0c;java11&#xff0c;java17等等&#xff0c;这时候如果想要切换java的版本&#xff0c;可以按照以下方式进行 1.检查当前版本的JAVA 同时按下 win r 可以调出运行工具…

牛客周赛51

思路&#xff1a;求a mod 上b后的值为amodb, 求gcd(b, amodb)即可 int gcd(int a,int b){return b ? gcd(b, a % b) : a; }void solve(){string a;cin >> a;int b;cin >> b;int amodb 0;for(auto c : a){amodb (amodb * 10 (c - 0)) % b;}cout << gcd(b…

Access denied for user ‘root‘@‘localhost‘ (using password: YES)解决办法

在Spring配置数据源时&#xff0c;当使用Spring容器加载druid.properties数据库连接池配置文件时&#xff0c;容易碰到create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/mydbs, errorCode 1045, state 28000 java.sql.SQLException: Access denied for user …

【 香橙派 AIpro评测】烧系统运行部署LLMS大模型体验Jupyter Lab AI 应用样例(新手入门)

文章目录 一、引言⭐1.1下载镜像烧系统⭐1.2开发板初始化系统配置远程登陆&#x1f496; 远程ssh&#x1f496;查看ubuntu桌面&#x1f496; 远程向日葵 二、部署LLMS大模型2.1 快速启动&#x1f496;拉取代码&#x1f496;下载mode数据&#x1f496;启动模型对话 三、体验 内置…

JavaScript 如何中止Promise

目录 方法 1&#xff1a;使用新的 Promise.withResolvers() 方法 2&#xff1a;使用 AbortController 在 JavaScript 中&#xff0c;你可能已经知道如何取消请求&#xff1a;对于 XHR 可以使用 xhr.abort() &#xff0c;对于 fetch 可以使用 signal 。但是你如何取消一个普通…

网络技术相关知识概念

网络技术&#xff1a; 进程&#xff08;Process&#xff09; 定义&#xff1a;进程是程序的一次执行过程&#xff0c;它有自己的内存空间和系统资源&#xff08;资源独立&#xff09;。特性&#xff1a; 每个进程都有唯一的PID&#xff08;进程ID&#xff09;。进程间通信&am…