mad exclude interface
Use mad exclude interface to exclude a service 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 service 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 service interfaces automatically excluded by the system, all service interfaces are shut down when the IRF fabric transits to the Recovery state. The system automatically excludes the following service 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 a service interface by its type and number.
Usage guidelines
If a service interface must be kept in up state for special purposes such as Telnet connection, exclude the service interface from the shutdown action. As a best practice to avoid incorrect traffic forwarding, do not exclude any service interfaces except for the interfaces used for Telnet.
The service 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 service interfaces that were shut down by MAD.
Examples
# Exclude from being shut down when the MAD status transits to Recovery.
<Sysname> system-view [Sysname] mad exclude interface
Related commands
mad restore