10
<IRF> system-view
[IRF] irf domain 1
# Create Bridge-Aggregation 2, set its aggregation mode to dynamic, and enable LACP MAD.
[IRF] interface bridge-aggregation 2
[IRF-Bridge-Aggregation2] link-aggregation mode dynamic
[IRF-Bridge-Aggregation2] mad enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain is: 1]:
The assigned domain ID is: 1
Info: MAD LACP only enable on dynamic aggregation interface.
[IRF-Bridge-Aggregation2] quit
# Create a named interface range that contains uplink ports to the distribution layer IRF fabric.
In this example, the interface range name is
lacp
, and each member device has two links to the
distribution layer IRF fabric.
[IRF] interface range name lacp interface ten-gigabitethernet 1/0/49 to
ten-gigabitethernet 1/0/50 ten-gigabitethernet 2/0/49 to ten-gigabitethernet 2/0/50
ten-gigabitethernet 3/0/49 to ten-gigabitethernet 3/0/50 ten-gigabitethernet 4/0/49
to ten-gigabitethernet 4/0/50
# Assign the ports in the interface range to Bridge-Aggregation 2.
[IRF-if-range-lacp] port link-aggregation group 2
[IRF-if-range-lacp] quit
2.
Configure the IRF fabric at the distribution layer:
# Assign IRF domain ID 2 to the IRF fabric.
<Sysname> system-view
[Sysname] irf domain 2
# Create Bridge-Aggregation 2, set its aggregation mode to dynamic, and enable LACP MAD.
[Sysname] interface bridge-aggregation 2
[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic
[Sysname-Bridge-Aggregation2] mad enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain is: 2]:
The assigned domain ID is: 2
Info: MAD LACP only enable on dynamic aggregation interface.
[Sysname-Bridge-Aggregation2] quit
# Assign the downlink ports that connect to the access-layer IRF fabric to Bridge-Aggregation 2.
[Sysname] interface ten-gigabitethernet 1/2/0/1
[Sysname-Ten-GigabitEthernet1/2/0/1] port link-aggregation group 2
[Sysname-Ten-GigabitEthernet1/2/0/1] quit
[Sysname] interface ten-gigabitethernet 1/3/0/1
[Sysname-Ten-GigabitEthernet1/3/0/1] port link-aggregation group 2
[Sysname-Ten-GigabitEthernet1/3/0/1] quit
[Sysname] interface ten-gigabitethernet 2/3/0/1
[Sysname-Ten-GigabitEthernet2/3/0/1] port link-aggregation group 2
[Sysname-Ten-GigabitEthernet2/3/0/1] quit
[Sysname] interface ten-gigabitethernet 2/4/0/2
[Sysname-Ten-GigabitEthernet2/4/0/2] port link-aggregation group 2
[Sysname-Ten-GigabitEthernet2/4/0/2] quit
[Sysname] interface ten-gigabitethernet 3/4/0/1