mad exclude interface
Use mad exclude interface to exclude a physical network port 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 physical network port.
Syntax
mad exclude interface interface-type interface-number
undo mad exclude interface interface-type interface-number
Default
All physical network ports 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
Parameters
interface-type interface-number: Specifies a port by its type and number.
Usage guidelines
When MAD detects that the IRF fabric has split into multiple identical active IRF fabrics, it sets one of the IRF fabrics to the Detect state and other IRF fabrics to the Recovery state.
The Detect-state IRF fabric is active and can continue to forward traffic.
The Recovery-state IRF fabrics are inactive. MAD shuts down all their physical ports except the IRF physical interfaces and the ports manually configured to not shut down.
If a port must be kept in up state for special purposes such as Telnet connection, exclude the port from the shutdown action. To avoid incorrect traffic forwarding, HP recommends not excluding any ports except the ports used for Telnet and MAD.
The ports 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.
Examples
# Exclude Ten-GigabitEthernet 2/0/1 from being shut down when the MAD status transits to Recovery.
<Sysname> system-view [Sysname] mad exclude interface ten-gigabitethernet 2/0/1
Related commands
mad restore