34
<DeviceB> system-view
[DeviceB] interface ten-gigabitethernet 2/0/26
[DeviceB-Ten-GigabitEthernet2/0/26] shutdown
[DeviceB-Ten-GigabitEthernet2/0/26] quit
[DeviceB] irf-port 2/1
[DeviceB-irf-port2/1] port group interface ten-gigabitethernet 2/0/26
[DeviceB-irf-port2/1] quit
[DeviceB] interface ten-gigabitethernet 2/0/26
[DeviceB-Ten-GigabitEthernet2/0/26] undo shutdown
[DeviceB-Ten-GigabitEthernet2/0/26] save
# Activate IRF port configuration on Device A.
[DeviceA-Ten-GigabitEthernet1/0/25] quit
[DeviceA] irf-port-configuration active
# Activate IRF port configuration on Device B.
[DeviceB-Ten-GigabitEthernet2/0/26] quit
[DeviceB] irf-port-configuration active
After the IRF port configuration is activated, the two devices automatically elect a master. In this
example, Device A is the master. Device B automatically reboots and joins the Device A as a
subordinate switch to form an IRF fabric. The system name of the IRF fabric is
DevcieA
.
4.
Configure BFD MAD:
# Create VLAN 3, and add port GigabitEthernet 1/0/1 on Device A (member ID 1) and port
GigabitEthernet 2/0/1 on Device B (member ID 2) to VLAN 3.
<DeviceA> system-view
[DeviceA] vlan 3
[DeviceA-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1
[DeviceA-vlan3] quit
# Create VLAN-interface 3 and configure a MAD IP address for each member device on the
interface.
[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
# Connect the BFD MAD links as shown in
# Disable the spanning tree feature on GigabitEthernet 1/0/1 and GigabitEthernet 2/0/1.
[DeviceA] interface range gigabitethernet 1/0/1 gigabitethernet 2/0/1
[DeviceA-if-range] undo stp enable
[DeviceA-if-range] quit
ARP MAD-enabled IRF configuration example
Network requirements
As shown in
, set up an IRF fabric in the enterprise network.
Configure ARP MAD in the IRF fabric and use the links connected to Device C for transmitting ARP
MAD packets.
To prevent loops, run the spanning tree feature between Device C and the IRF fabric.