H3C(25)——IRF

2020-10-18 11:00:50

【SW1】

1.修改member 1的優先順序,使其成為domain1 中的master裝置

[SW1]irf domain 1

[SW1]irf member 1 priority 10

2.關閉Ten1/0/50和Ten1/0/51介面

[SW1]interface range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[SW1-if-range]shutdown
[SW1-if-range]quit

3.建立IRF介面組1/1,並管理介面Ten1/0/50和Ten1/0/51介面

[SW1]irf-port 1/1
[SW1-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/50
[SW1-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/51
[SW1-irf-port1/1]quit

4.開啟en1/0/50和Ten1/0/51介面

[SW1]interface range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[SW1-if-range]undo shutdown
[SW1-if-range]quit

5.啟用IRF的設定

[SW1]irf-port-configuration active

6.儲存設定資訊,重新啟動裝置

save
y
reboot
y

【SW2】

7.將SW2裝置修改為domain1中的member2裝置

[SW2]irf domian 1

[SW2]irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y

8.儲存設定資訊,重新啟動裝置

save
y
reboot
y

9.關閉Ten2/0/50和Ten2/0/51介面

[SW2]interface range Ten-GigabitEthernet 2/0/50 to Ten-GigabitEthernet 2/0/51
[SW2-if-range]shutdown
[SW2-if-range]quit

10.建立IRF介面組2/2,並管理介面Ten2/0/50和Ten2/0/51介面

[SW2]irf-port 2/2
[SW2-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/50
[SW2-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/51
[SW2-irf-port2/2]quit

11.開啟介面Ten2/0/50和Ten2/0/51介面

[SW2]interface range Ten-GigabitEthernet 2/0/50 to Ten-GigabitEthernet 2/0/51
[SW2-if-range]undo shutdown
[SW2-if-range]quit

12.啟用IRF的設定

[SW2]irf-port-configuration active

13.儲存設定資訊,重新啟動裝置

save
y
reboot
y

14.連線

15.驗證

15.1發現SW2裝置名稱已經被改為了SW1

並且,在原SW2裝置上檢視介面資訊,發現既有SW1的介面,又有原SW2的介面

15.2在原SW1和原SW2上檢視IRF狀態

【SW1】

【SW2】