H3C华三交换机堆叠

H3C华三交换机堆叠

# 版本
[SW1]dis version
H3C Comware Software, Version 7.1.045, Release 2432P05

到货两台H3C的交换机,带一根堆叠的线缆,打算做一下堆叠的配置,正好就用两台交换机自带的40G速率的接口,编号是41.

配置

A的配置

# 配置一个名字,后面要观察变化;
sysname SW1

irf member 1 priority 5    #将1号交换机IRF优先级调整至最高32
interface FortyGigE1/0/41   #关闭堆叠端口
shutdown

irf-port 1/1 # 创建端口组
 port group interface FortyGigE1/0/41

interface FortyGigE1/0/41  
un sh

irf-port-configuration active            #激活IRF端口配置

save

B的配置

irf member 1 re 2
irf member 2 priority 1

save
reboot                  # 保存重启交换机,接口编号会改变

interface FortyGigE2/0/41      #关闭堆叠端口
shutdown

irf-port 2/2 # 创建端口组
 port group interface FortyGigE2/0/41
 
 
interface FortyGigE1/0/41      #开启堆叠端口
un shutdown

save  这里记得要保存,激活IRF后交换机会自动重启
irf-port-configuration active
[SW1]dis irf
MemberID    Role    Priority  CPU-Mac         Description
 *+1        Master  5         00e0-fc0f-8c02  ---
   2        Standby 1         00e0-fc0f-8c03  ---
--------------------------------------------------
 * indicates the device is the master.
 + indicates the device through which the user logs in.

 The bridge MAC of the IRF is: b044-14d3-1659
 Auto upgrade                : yes
 Mac persistent              : 6 min
 Domain ID                   : 0
 IRF mode                    : normal

做完B的配置之后,再插堆叠线,插完之后,备会重启。

上联TRUNK端口组

之前别忘记做创建vlan;

# 创建接口组
interface Bridge-Aggregation15
# 将接口加入到接口组
interface Ten-GigabitEthernet1/0/5
	port link-aggregation group 15
interface Ten-GigabitEthernet2/0/5
	port link-aggregation group 15
# 在接口组里面做配置
interface Bridge-Aggregation15
 port link-type trunk
 port trunk permit vlan all

TELNET

line vty 0 4
 user-role network-admin
 user-role network-operator
 set authentication password hash $h$6$bDr89Q+EuI0ee0VG$XGqQykmsAmc3yKFmxRRaNgzuGeTKcW8kfJUg5unVRaC4TLvqaodWfpPucy17wS7Vujf2GKla0cdf8ao8oQUPnA==
 protocol inbound telnet
原文地址:https://www.cnblogs.com/yizhangheka/p/14849016.html