
22
Usage guidelines
MAD action is not configurable for IRF physical ports.
When MAD detects that an IRF fabric has split into two or more identical active IRF fabrics, only the IRF
fabric whose master has the lowest member ID among all the masters can still forward data traffic. MAD
changes its status to Recovery on all the other IRF fabrics and shuts down all their physical ports except
the IRF physical ports and those manually configured to not shut down.
If a port must be kept in up state for special purposes such as Telnet connection, exclude it from the
shutdown action. To avoid problems, H3C recommends excluding only the one used for Telnet for the
management purpose.
The ports that have shut down by MAD come up when the member devices reboot to join the recovered
IRF fabric. If auto recovery fails because the current master has failed or any other exception has
occurred, use the
mad restore
command to manually recover the member devices and bring up the ports.
Examples
# Exclude GigabitEthernet 2/0/5 from being shut down when the MAD status transitions to Recovery.
<Sysname> system-view
[Sysname] mad exclude interface gigabitethernet 2/0/5
mad ip address
Use
mad ip address
to assign a MAD IP address to an IRF member on a VLAN interface for BFD MAD.
Use
undo
mad
ip
address
to delete a MAD IP address.
Syntax
mad ip address
ip-address
{
mask
|
mask-length
}
member
member-id
undo mad ip address
ip-address
{
mask
|
mask-length
}
member
member-id
Default
No MAD IP address is configured on any VLAN interface.
Views
VLAN interface view
Default command level
3: Manage level
Parameters
ip-address
: Specifies an IP address in dotted decimal notation. This IP address is bound to an IRF member
for BFD detection and is called a "MAD IP address." This MAD IP address must not be on the same
subnet as any IP address configured on any member device.
mask
: Specifies a subnet mask in dotted decimal notation.
mask-length
: Specifies a subnet mask in length, in the range of 0 to 32.
member
member-id
: Specifies an IRF member ID.
Usage guidelines
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.