华三交换机irf堆叠配置

1 篇文章 0 订阅
1 篇文章 0 订阅

两台交换机堆叠
在这里插入图片描述注意事项:
1、推荐使用万兆口进行堆叠
2、配置完成后需要用命令"irf-port-configuration active"激活
3、实际操作中,先配置完,最后进行插线缆

Core1配置:

[Core1]int range Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthernet 1/0/52
[Core1-if-range]shutdown

[Core1]irf member 1 priority  5
[Core1]irf-port 1/1   //创建irf虚拟接口
[Core1-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/49     //irf虚拟接口与物理端口绑定
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.
//为了成功设置IRF,你必须执行以下任务:
//完成IRF配置后,请保存配置。
//执行“IRF -port-configuration active”命令激活IRF端口。
[Core1-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/50
[Core1-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/51
[Core1-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/52
[Core1-irf-port1/1]qu
[Core1]irf-port-configuration active
[Core1]


[Core1]int range Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthernet 1/0/52
[Core1-if-range]undo shutdown

Core2配置:

[Core2]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.
//重命名成员标号后需要重启

[Core2]int range Ten-GigabitEthernet 2/0/49 to Ten-GigabitEthernet 2/0/52
[Core2-if-range]shutdown
[Core2-if-range]qu

[Core2]irf member 2 priority 1
[Core2]irf-port 2/2
[Core2-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/49
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.
[Core2-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/50
[Core2-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/51
[Core2-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/52
[Core2-irf-port2/2]qu
[Core2]
[Core2]irf-port-configuration active

[Core2]int range Ten-GigabitEthernet 2/0/49 to Ten-GigabitEthernet 2/0/52
[Core2-if-range]shutdown

irf配置成功

[Core1]%Nov  1 23:31:30:623 2021 Core1 DEV/2/BOARD_STATE_FAULT: Board state changed to Fault on slot 2, type is unknown.
%Nov  1 23:31:32:327 2021 Core1 DEV/5/BOARD_STATE_NORMAL: Board state changed to Normal on slot 2, type is H3C S6850.
%Nov  1 23:31:54:977 2021 Core1 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet1/0/49 (IfIndex 50), neighbor's chassis ID is 8878-15d6-0500, port ID is Ten-GigabitEthernet2/0/49.
%Nov  1 23:31:54:978 2021 Core1 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet1/0/50 (IfIndex 51), neighbor's chassis ID is 8878-15d6-0500, port ID is Ten-GigabitEthernet2/0/50.
%Nov  1 23:31:54:803 2021 Core1 LLDP/6/LLDP_CREATE_NEIGHBOR: -Slot=2; Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/49 (IfIndex 178), neighbor's chassis ID is 8878-15d6-0500, port ID is Ten-GigabitEthernet1/0/49.
%Nov  1 23:31:54:804 2021 Core1 LLDP/6/LLDP_CREATE_NEIGHBOR: -Slot=2; Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/50 (IfIndex 179), neighbor's chassis ID is 8878-15d6-0500, port ID is Ten-GigabitEthernet1/0/50.
%Nov  1 23:31:54:983 2021 Core1 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet1/0/51 (IfIndex 52), neighbor's chassis ID is 8878-15d6-0500, port ID is Ten-GigabitEthernet2/0/51.
%Nov  1 23:31:54:863 2021 Core1 LLDP/6/LLDP_CREATE_NEIGHBOR: -Slot=2; Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/51 (IfIndex 180), neighbor's chassis ID is 8878-15d6-0500, port ID is Ten-GigabitEthernet1/0/51.
%Nov  1 23:31:55:161 2021 Core1 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet1/0/52 (IfIndex 53), neighbor's chassis ID is 8878-15d6-0500, port ID is Ten-GigabitEthernet2/0/52.
%Nov  1 23:31:55:064 2021 Core1 LLDP/6/LLDP_CREATE_NEIGHBOR: -Slot=2; Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/52 (IfIndex 181), neighbor's chassis ID is 8878-15d6-0500, port ID is Ten-GigabitEthernet1/0/52.

查看irf:

<Core1>dis irf
MemberID    Role    Priority  CPU-Mac         Description
 *+1        Master  5         8878-15d6-0504  ---
   2        Standby 1         8878-1aae-0604  ---
--------------------------------------------------
 * indicates the device is the master.
 + indicates the device through which the user logs in.
//*”表示主设备
//+”表示用户登录的设备。
 The bridge MAC of the IRF is: 8878-15d6-0500
 Auto upgrade                : yes
 Mac persistent              : 6 min
 Domain ID                   : 0

查看接口:

<Core1>dis int b
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP        Description
InLoop0              UP   UP(s)    --
MGE0/0/0             DOWN DOWN     --
NULL0                UP   UP(s)    --
REG0                 UP   --       --

Brief information on interfaces in bridge mode:
Link: ADM - administratively down; Stby - standby
Speed: (a) - auto
Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface            Link Speed     Duplex Type PVID Description
FGE1/0/53            DOWN 40G       A      A    1
FGE1/0/54            DOWN 40G       A      A    1
FGE2/0/53            DOWN 40G       A      A    1
FGE2/0/54            DOWN 40G       A      A    1
GE1/0/1              DOWN auto      F      A    1
GE1/0/2              DOWN auto      F      A    1
GE1/0/3              DOWN auto      F      A    1
GE1/0/4              DOWN auto      F      A    1
GE1/0/5              DOWN auto      F      A    1
GE1/0/6              DOWN auto      F      A    1
GE1/0/7              DOWN auto      F      A    1
GE1/0/8              DOWN auto      F      A    1
GE1/0/9              DOWN auto      F      A    1
GE1/0/10             DOWN auto      F      A    1
GE1/0/11             DOWN auto      F      A    1
GE1/0/12             DOWN auto      F      A    1
GE1/0/13             DOWN auto      F      A    1
GE1/0/14             DOWN auto      F      A    1
GE1/0/15             DOWN auto      F      A    1
GE1/0/16             DOWN auto      F      A    1
GE1/0/17             DOWN auto      F      A    1
GE1/0/18             DOWN auto      F      A    1
GE1/0/19             DOWN auto      F      A    1
GE1/0/20             DOWN auto      F      A    1
GE1/0/21             DOWN auto      F      A    1
GE1/0/22             DOWN auto      F      A    1
GE1/0/23             DOWN auto      F      A    1
GE1/0/24             DOWN auto      F      A    1
GE1/0/25             DOWN auto      F      A    1
GE1/0/26             DOWN auto      F      A    1
GE1/0/27             DOWN auto      F      A    1
GE1/0/28             DOWN auto      F      A    1
GE1/0/29             DOWN auto      F      A    1
GE1/0/30             DOWN auto      F      A    1
GE1/0/31             DOWN auto      F      A    1
GE1/0/32             DOWN auto      F      A    1
GE1/0/33             DOWN auto      F      A    1
GE1/0/34             DOWN auto      F      A    1
GE1/0/35             DOWN auto      F      A    1
GE1/0/36             DOWN auto      F      A    1
GE1/0/37             DOWN auto      F      A    1
GE1/0/38             DOWN auto      F      A    1
GE1/0/39             DOWN auto      F      A    1
GE1/0/40             DOWN auto      F      A    1
GE1/0/41             DOWN auto      F      A    1
GE1/0/42             DOWN auto      F      A    1
GE1/0/43             DOWN auto      F      A    1
GE1/0/44             DOWN auto      F      A    1
GE1/0/45             DOWN auto      F      A    1
GE1/0/46             DOWN auto      F      A    1
GE1/0/47             DOWN auto      F      A    1
GE1/0/48             DOWN auto      F      A    1
GE2/0/1              DOWN auto      F      A    1
GE2/0/2              DOWN auto      F      A    1
GE2/0/3              DOWN auto      F      A    1
GE2/0/4              DOWN auto      F      A    1
GE2/0/5              DOWN auto      F      A    1
GE2/0/6              DOWN auto      F      A    1
GE2/0/7              DOWN auto      F      A    1
GE2/0/8              DOWN auto      F      A    1
GE2/0/9              DOWN auto      F      A    1
GE2/0/10             DOWN auto      F      A    1
GE2/0/11             DOWN auto      F      A    1
GE2/0/12             DOWN auto      F      A    1
GE2/0/13             DOWN auto      F      A    1
GE2/0/14             DOWN auto      F      A    1
GE2/0/15             DOWN auto      F      A    1
GE2/0/16             DOWN auto      F      A    1
GE2/0/17             DOWN auto      F      A    1
GE2/0/18             DOWN auto      F      A    1
GE2/0/19             DOWN auto      F      A    1
GE2/0/20             DOWN auto      F      A    1
GE2/0/21             DOWN auto      F      A    1
GE2/0/22             DOWN auto      F      A    1
GE2/0/23             DOWN auto      F      A    1
GE2/0/24             DOWN auto      F      A    1
GE2/0/25             DOWN auto      F      A    1
GE2/0/26             DOWN auto      F      A    1
GE2/0/27             DOWN auto      F      A    1
GE2/0/28             DOWN auto      F      A    1
GE2/0/29             DOWN auto      F      A    1
GE2/0/30             DOWN auto      F      A    1
GE2/0/31             DOWN auto      F      A    1
GE2/0/32             DOWN auto      F      A    1
GE2/0/33             DOWN auto      F      A    1
GE2/0/34             DOWN auto      F      A    1
GE2/0/35             DOWN auto      F      A    1
GE2/0/36             DOWN auto      F      A    1
GE2/0/37             DOWN auto      F      A    1
GE2/0/38             DOWN auto      F      A    1
GE2/0/39             DOWN auto      F      A    1
GE2/0/40             DOWN auto      F      A    1
GE2/0/41             DOWN auto      F      A    1
GE2/0/42             DOWN auto      F      A    1
GE2/0/43             DOWN auto      F      A    1
GE2/0/44             DOWN auto      F      A    1
GE2/0/45             DOWN auto      F      A    1
GE2/0/46             DOWN auto      F      A    1
GE2/0/47             DOWN auto      F      A    1
GE2/0/48             DOWN auto      F      A    1
XGE1/0/49            UP   10G       F      --   --
XGE1/0/50            UP   10G       F      --   --
XGE1/0/51            UP   10G       F      --   --
XGE1/0/52            UP   10G       F      --   --
XGE2/0/49            UP   10G       F      --   --
XGE2/0/50            UP   10G       F      --   --
XGE2/0/51            UP   10G       F      --   --
XGE2/0/52            UP   10G       F      --   --

  • 3
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
华三交换机堆叠配置命令如下: 1. 配置堆叠链路:在每个要堆叠的交换机上配置相同的堆叠链路参数。例如: <SwitchA> system-view [SwitchA] stack [SwitchA-stack] stack-port GigabitEthernet 1/0/1 <SwitchB> system-view [SwitchB] stack [SwitchB-stack] stack-port GigabitEthernet 1/0/1 2. 配置堆叠优先级:在每个要堆叠的交换机上配置相同的堆叠优先级。例如: <SwitchA> system-view [SwitchA] stack [SwitchA-stack] priority 10 <SwitchB> system-view [SwitchB] stack [SwitchB-stack] priority 20 3. 配置堆叠管理IP地址:在主交换机上配置堆叠管理IP地址。例如: <SwitchA> system-view [SwitchA] stack [SwitchA-stack] management-vlan 10 [SwitchA-stack] management-address 10.0.0.1 24 4. 查看堆叠状态:可以使用以下命令查看堆叠状态: <SwitchA> display stack Stack topology type: Chain Stack system MAC: 0018-82f8-xxxx Stack MAC persistent timer : 300s Stack bandwidth percent : 10 Stack management vlan : 10 Stack management address : 10.0.0.1/24 Stack port counters threshold : 70% Stack port status change threshold : 5 seconds Stack priority : 10 Stack master : Master Stack topology role : Standby Stack topology state : Ready Stack topology ring speed : 10G ... <SwitchB> display stack Stack topology type: Chain Stack system MAC: 0018-82f8-xxxx Stack MAC persistent timer : 300s Stack bandwidth percent : 10 Stack management vlan : 10 Stack management address : 10.0.0.1/24 Stack port counters threshold : 70% Stack port status change threshold : 5 seconds Stack priority : 20 Stack master : Master Stack topology role : Master Stack topology state : Ready Stack topology ring speed : 10G ... 5. 进入堆叠视图:可以使用以下命令进入堆叠视图: <SwitchA> stack [SwitchA-stack] 6. 退出堆叠视图:可以使用以下命令退出堆叠视图: [SwitchA-stack] return <SwitchA> 7. 查看当前交换机在堆叠中的角色:可以使用以下命令查看当前交换机在堆叠中的角色: [SwitchA-stack] display stack role Topology role : Master 8. 查看当前堆叠中的成员:可以使用以下命令查看当前堆叠中的成员: [SwitchA-stack] display stack member Stack ID : 0 Member ID : 1 MAC Address : 0018-82f8-xxxx Role : Master Priority : 10 State : Ready ... 9. 重启堆叠:可以使用以下命令重启堆叠: [SwitchA-stack] reboot stack 以上是华三交换机堆叠配置命令的简介,具体配置命令可能会根据交换机型号和软件版本而有所不同。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值