17 
[Sysname] interface bridge-aggregation 1 
[Sysname-Bridge-Aggregation1] link-aggregation mode dynamic 
[Sysname-Bridge-Aggregation1] mad enable 
 You need to assign a domain ID (range: 0-4294967295) 
 [Current domain is: 0]: 1 
 The assigned  domain ID is: 1 
 MAD LACP only enable on dynamic aggregation interface. 
Related commands 
irf domain 
mad exclude interface 
Use mad exclude interface to exclude a network 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 a network 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 
All network interfaces on a Recovery-state IRF fabric are shut down, except for the network 
interfaces bound to an IRF port. 
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, do not exclude any interfaces except for the 
interfaces used for Telnet to avoid incorrect traffic forwarding. Do not exclude aggregate interfaces 
used for MAD and their member interfaces from the shutdown action. 
The interfaces that have been 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 fails or any other 
exception occurs, use the mad restore command to manually recover the member devices and 
bring up the interfaces. 
Examples 
# Exclude GigabitEthernet 1/0/1 from being shut down when the MAD status transits to Recovery. 
<Sysname> system-view 
[Sysname] mad exclude interface gigabitethernet 1/0/1 
Related commands 
mad restore