
25
NOTE:
•
An IRF fabric has only one IRF domain ID. You can change the IRF domain ID by using the
irf domain
or
mad enable
command. The IRF domain IDs configured with these commands overwrite each other.
•
You can execute the
mad enable
command on any MDC. If you change the IRF domain ID in one MDC,
the new IRF domain ID takes effect on all MDCs.
Examples
# Enable LACP MAD on Bridge-Aggregation 1, a Layer 2 dynamic aggregate interface.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] mad enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain is: 0]: 1
The assigned domain ID is: 1
MAD LACP only enable on dynamic aggregation interface.
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 but the IRF physical interfaces and console port 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 by its type and number.
Usage guidelines
MAD action is not configurable for IRF physical interfaces.
When MAD detects that an IRF fabric has split into two or more identical active IRF fabrics, it sets one of
the IRF fabrics to the Detect state and all 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.