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 restore the default MAD action on a service interface.
Syntax
mad exclude interface interface-type interface-number
undo mad exclude interface interface-type interface-number
Default
All service interfaces except for the IRF physical interfaces shut down automatically when the IRF fabric transits to the Recovery state.
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. To avoid incorrect traffic forwarding, do not exclude any service interfaces except for the service interfaces used for Telnet and MAD.
The service 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 service interfaces.
Examples
# Exclude GigabitEthernet 2/0/1 from being shut down when the MAD status transits to Recovery.
<Sysname> system-view [Sysname] mad exclude interface gigabitethernet 2/0/1
Related commands
mad restore