23 
Related commands 
irf domain 
mad exclude interface 
Use mad exclude interface to exclude an interface from being shut down when the IRF fabric 
transits to the Recovery state upon detection of a multi-active collision.  
Use 
undo mad exclude interface to configure the IRF fabric to shut down an interface when 
it transits to the Recovery state upon detection of a multi-active collision. 
Syntax 
mad exclude interface interface-type interface-number 
undo mad exclude interface interface-type interface-number 
Default 
Except for the network interfaces automatically excluded by the system, all network interfaces are 
shut down when the IRF fabric transits to the Recovery state. The system automatically excludes the 
following network interfaces from being shut down: 
  IRF physical interfaces. 
  Interfaces used for BFD MAD. 
  Member interfaces of an aggregate interface if the aggregate interface is excluded from being 
shut down. 
Views 
System view 
Predefined user roles 
network-admin 
Parameters 
interface-type interface-number: Specifies an interface by its type and number. 
Usage guidelines 
If an interface must be kept in up state for special purposes such as Telnet connection, exclude the 
interface from the shutdown action. As a best practice to avoid incorrect traffic forwarding, do not 
exclude any interfaces except the interfaces used for Telnet. 
The interfaces that have been shut down by MAD come up when the member devices reboot to join 
the recovered IRF fabric. If the active IRF fabric fails before the IRF link is recovered, use the 
mad 
restore
 command on the inactive IRF fabric to recover the inactive IRF fabric. This command also 
brings up all interfaces that were shut down by MAD. 
Examples 
#  Exclude  Ten-GigabitEthernet 1/0/1  from being shut down when the MAD status transits to 
Recovery. 
<Sysname> system-view 
[Sysname] mad exclude interface ten-gigabitethernet 1/0/1 
Related commands 
mad restore