mad exclude interface
Use mad exclude interface to exclude a network port or 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 port or 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 ports and interfaces except the IRF physical interfaces and console ports shut down when the IRF fabric transits to the Recovery state.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-type interface-number: Specifies a port or interface by its type and number.
Usage guidelines
If a port or interface must be kept in up state for special purposes such as Telnet connection, exclude the port or interface from the shutdown action. As a best practice to avoid incorrect traffic forwarding, do not exclude any ports or interfaces except for the ports used for Telnet.
Do not exclude the following ports and interfaces from the shutdown action:
Aggregate interfaces used for MAD and their member ports.
VLAN interfaces used for MAD and the Ethernet ports in the VLANs.
Management Ethernet ports used for MAD.
The ports and 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 ports and interfaces.
Examples
# Exclude Ten-GigabitEthernet 1/1/0/1 from being shut down when the MAD status transits to Recovery.
<Sysname> system-view [Sysname] mad exclude interface ten-gigabitethernet 1/1/0/1
Related commands
mad restore