The mad exclude command excludes specified interfaces of a stack from shutdown.
The undo mad exclude command cancels excluding specified interfaces of a stack from shutdown.
By default, only physical member ports are excluded from shutdown.
mad exclude interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10>
undo mad exclude interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10>
Parameter | Description | Value |
---|---|---|
interface { interface-type interface-number1 [ to interface-type interface-number2 ] } | Specifies the type and number of an interface:
|
The value of interface-number2 must be larger than that of interface-number1. |
Usage Scenario
If MAD detects a stack split, all service ports of the member switch that fails master switch election must be shut down to prevent network flapping caused by MAC or IP address flapping. If some interfaces only transparently transmit packets, they do not affect network operation in a dual-active condition. You can run the mad exclude command to exclude these interfaces from shutdown before a stack split occurs.