本案例適用於如S3600V2-28TP-EI、S3600V2-28TP-SI等S3600V2係列的交換機。
核心設備Device A和Device B配置IRF,為了防止萬一IRF鏈路故障導致IRF分裂、網絡中存在兩個配置衝突的IRF,需要啟用MAD檢測功能,采用BFD MAD檢測方式來監測IRF的狀態,IRF分裂後,通過分裂檢測機製IRF會檢測到網絡中存在其它處於Active狀態,衝突處理會讓Master成員編號最小的IRF繼續正常工作,其它IRF會遷移到Recovery狀態(表示IRF處於禁用狀態),並關閉Recovery狀態IRF中所有成員設備上除保留端口以外的其它所有物理端口
具體配置可參考交換機虛擬化配置舉例,本章不做介紹。
# 創建VLAN 3,並將Device A上的端口GigabitEthernet1/0/1和Device B上的端口GigabitEthernet2/0/1加入VLAN3中。
[DeviceA] vlan 3
[DeviceA-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1
[DeviceA-vlan3] quit
# 創建VLAN接口3,並配置MAD IP地址。
[DeviceA] interface vlan-interface 3
[DeviceA-Vlan-interface3] mad bfd enable
[DeviceA-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[DeviceA-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[DeviceA-Vlan-interface3] quit
# 因為BFD MAD和生成樹功能互斥,所以在GigabitEthernet1/0/1和GigabitEthernet2/0/1上關閉生成樹協議。
[Sysname] interface gigabitethernet 1/0/1
[Sysname-gigabitethernet1/0/1] undo stp enable
[Sysname-gigabitethernet1/0/1] quit
[Sysname] interface gigabitethernet 2/0/1
[Sysname-gigabitethernet2/0/1] undo stp enable
Save force
[H3C]display mad
MAD ARP disabled.
MAD ND disabled.
MAD LACP disabled.
MAD BFD enabled.
[H3C]display mad verbose
Multi-active recovery state: No
Excluded ports (user-configured):
Excluded ports (system-configured):
Ten-GigabitEthernet1/1/2
Ten-GigabitEthernet2/1/1
MAD ARP disabled.
MAD ND disabled.
MAD LACP disabled.
MAD BFD enabled interface: Vlan-interface3
MAD status : Faulty \\MAD狀態為:Faulty狀態說明堆疊分裂
Member ID MAD IP address Neighbor MAD status
1 192.168.2.1/24 2 Faulty
此時使用“display interface brief down”查看端口時發現端口全部被關閉,狀態為mad shutdown
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
GE2/0/2 DOWN MAD ShutDown
GE2/0/3 DOWN MAD ShutDown
1、
2、
1、
2、
該案例暫時沒有網友評論
✖
案例意見反饋
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作