
11
[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
[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 hundredgige 1/0/29 to hundredgige 1/0/30
hundredgige 2/0/29 to hundredgige 2/0/30 hundredgige 3/0/29 to hundredgige 3/0/30
hundredgige 4/0/29 to hundredgige 4/0/30
# 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
[Sysname-Bridge-Aggregation2] quit
# Assign the downlink ports that connect to the access-layer IRF fabric to Bridge-Aggregation 2.
[Sysname] interface hundredgige 1/2/0/1
[Sysname-HundredGigE1/2/0/1] port link-aggregation group 2
[Sysname-HundredGigE1/2/0/1] quit
[Sysname] interface hundredgige 1/3/0/1
[Sysname-HundredGigE1/3/0/1] port link-aggregation group 2
[Sysname-HundredGigE1/3/0/1] quit
[Sysname] interface hundredgige 2/2/0/1
[Sysname-HundredGigE2/2/0/1] port link-aggregation group 2
[Sysname-HundredGigE2/2/0/1] quit
[Sysname] interface hundredgige 2/3/0/1
[Sysname-HundredGigE2/3/0/1] port link-aggregation group 2
[Sysname-HundredGigE2/3/0/1] quit
[Sysname] interface hundredgige 3/2/0/1
[Sysname-HundredGigE3/2/0/1] port link-aggregation group 2
[Sysname-HundredGigE3/2/0/1] quit
[Sysname] interface hundredgige 3/3/0/1
[Sysname-HundredGigE3/3/0/1] port link-aggregation group 2
[Sysname-HundredGigE3/3/0/1] quit
[Sysname] interface hundredgige 4/2/0/1