23
By default, no MAD IP address is configured on any VLAN interface.
To use BFD MAD, you must configure a MAD IP address on a BFD MAD enabled VLAN interface for each
IRF member, and make sure all the MAD IP addresses are on the same subnet.
To avoid problems, make sure a BFD MAD-enabled VLAN interface has only IP addresses assigned with
the
mad ip address
command. Do not use any other command, including the
ip address
command, to
assign an IP address to the interface.
The master tries to establish BFD sessions with other members by using its MAD IP address as the source
IP address:
•
If the IRF fabric is integrated, only the MAD IP address of the master is effective, and the master
cannot establish a BFD session with any other member. If you execute the
display bfd session
command, the state of the BFD sessions is
Down
.
•
When the IRF fabric splits, the IP addresses of the masters in the partitioned IRF fabrics take effect,
and the two masters can establish a BFD session. If you execute the
display bfd session
command,
the state of the BFD session between the two devices is
Up
.
Related commands:
mad bfd enable
.
Examples
# Assign a MAD IP address to IRF member 1 on VLAN-interface 3.
<Sysname> system-view
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad ip address 192.168.0.1 255.255.255.0 member 1
# Assign a MAD IP address to IRF member 2 on VLAN-interface 3.
[Sysname-Vlan-interface3] mad ip address 192.168.0.2 255.255.255.0 member 2
mad restore
Syntax
mad restore
View
System view
Default level
3: Manage level
Parameters
None
Description
Use
mad restore
to restore the normal MAD state of the IRF fabric in Recovery state.
When MAD detects that an IRF fabric has split into multiple IRF fabrics, only the one whose master has
the lowest member ID among all the masters can still forward traffic. All the other fabrics are set in
Recovery state and cannot forward traffic.
If the active IRF fabric has failed before the IRF split problem is fixed, use this command to restore an IRF
fabric in Recovery state to take over the active IRF fabric role.
Examples
# Restore the normal MAD state of the IRF fabric in Recovery state.