[R1]
sy
sysname R1
interface range FortyGigE1/0/53 to FortyGigE1/0/54 #批量进入接口范围FortyGigE1/0/53至FortyGigE1/0/54
shutdown #关闭端口
irf member 1 renumber 1 #编号1
irf-port 1/1 #irf端口1/1
port group interface FortyGigE1/0/53 #IGE1/0/53端口组接口加入irf端口1/1
port group interface FortyGigE1/0/54 #IGE1/0/54端口组接口加入irf端口1/1
interface range FortyGigE1/0/53 to FortyGigE1/0/54 #批量进入接口范围FortyGigE1/0/53至FortyGigE1/0/54
no shutdown #激活端口
quit #退出
irf-port-configuration active #irf端口配置激活
quit #退出
reboot #重新启动
[R2]
sy
sysname R2
interface range FortyGigE1/0/53 to FortyGigE1/0/54
shutdown
irf-port 1/2
port group interface FortyGigE1/0/53
port group interface FortyGigE1/0/54
interface range FortyGigE1/0/53 to FortyGigE1/0/54
no shutdown
quit
irf-port-configuration active
quit
reboot
<R1>sy
System View: return to User View with Ctrl+Z.
[R1]dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 1 961c-4f4a-0104 ---
2 Standby 1 961c-5348-0204 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: 961c-4f4a-0100
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
[R1]
mad检测
vlan 10
port FortyGigE1/0/51 FortyGigE1/0/52 #接口加入vlan
interface vlan10
mad bfd enable
mad ip address 10.10.10.1 24 member 1
mad ip address 10.10.10.2 24 member 2
interface FortyGigE1/0/51
undo stp enable
interface FortyGigE1/0/52
undo stp enable