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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM