22
traffic and to ensure the uniqueness of the IRF virtual devices. All of the service ports are shut down but
the IRF ports and those manually configured not to shut down.
When a MAD-enabled IRF virtual device splits into two or more identical active IRF virtual devices, all the
IRF virtual devices but the one with the lowest master ID are placed in the recovery state to stop
forwarding traffic and to ensure the uniqueness of the IRF virtual devices. All of the service ports are shut
down but the IRF ports and those manually configured not to shut down.
When the member switches reboot to join the recovered IRF virtual device, the ports that were shut down
come up. Use the
mad restore
command to manually recover the members and disabled ports.
Examples
# Specify GigabitEthernet2/0/1 as the reserved port, which will not be disabled when the switch is in
the recovery state.
<Sysname> system-view
[Sysname] mad exclude interface gigabitethernet 2/0/1
mad restore
Syntax
mad restore
View
System view
Default level
3: Manage level
Parameters
None
Description
Use the
mad restore
command to recover the member switches of the IRF virtual device in recovery state
to the normal state.
An IRF link failure triggers IRF virtual device partition and causes a multi-active collision. In this case, one
IRF virtual device can keep the active state and other IRF virtual devices change into recovery state. In this
state, the IRF virtual device cannot forward packets.
If the IRF virtual device in the recovery state fails before the failure is recovered, repair both the failed IRF
virtual device and the failed IRF link. The collided IRF virtual devices will merge into one and the failure
will be recovered.
If the IRF virtual device in the active state fails before the failure is recovered, enable the IRF virtual device
in the recovery state at the CLI to make it take over the active IRF virtual device and protect the services
from being affected.
Examples
# Restore IRF virtual devices in recovery state to the normal state.
<Sysname> system-view
[Sysname] mad restore
This command will restore the device from multi-active conflict state. Continue? [Y/N]:Y
Restoring from multi-active conflict state, please wait...