0% found this document useful (0 votes)
200 views9 pages

4.-Hp h3c Irf Setting

The document discusses setting up Link Aggregation Control Protocol (LACP) and Multi-Chassis Link Aggregation (MC-LAG) on an HP H3C IRF stack with two switches and connecting them to two L2 switches. It provides examples of configurations needed on the IRF stack and L2 switches and commands to check the status and behavior during normal operation and stack port failure.

Uploaded by

Luis G. Alarcon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
200 views9 pages

4.-Hp h3c Irf Setting

The document discusses setting up Link Aggregation Control Protocol (LACP) and Multi-Chassis Link Aggregation (MC-LAG) on an HP H3C IRF stack with two switches and connecting them to two L2 switches. It provides examples of configurations needed on the IRF stack and L2 switches and commands to check the status and behavior during normal operation and stack port failure.

Uploaded by

Luis G. Alarcon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

HP H3C IRF Setting - 4.

IRF + LACP MAD setting

- December 28, 2018


Index
4. IRF + LACP MAD setting
4-1. IRF + LACP MAD basic setting example
4-2. IRF + LACP MAD L2 switch setting example
4-3. LACP MAD status check (Normal situation)
4-4. LACP MAD status check (when the stack port fails)
4-5. IRF + LACP MAD Configuration Notes

4. IRF + LACP MAD setting


4-1. IRF + LACP MAD basic setting example
Example of A5500-24G EI × 2 units stacked, configuring Link Aggregation with the
underlying L2 switch. Also set LACP MAD as a countermeasure against stack port failure.

A5500-24G EI-1 and 2


1. Set Link Aggregation to connect with L2 Switch and enable LACP MAD. In this
example, two Aggregation groups are created so as to connect with two L2 switches, an
Aggregation group for connection to L2 Switch-1 is set to 1, an Aggregation group for L2
Switch-2 connection is set to 2, and Bridge-Aggregation Group 1 is set to LACP Enable
MAD.
<H3C> system-view
[H3C] interface Bridge-Aggregation 1
[H3C-Bridge-Aggregation1] link-aggregation mode dynamic
[H3C-Bridge-Aggregation1] mad enable
[H3C-Bridge-Aggregation1] interface Bridge-Aggregation 2
[H3C-Bridge-Aggregation2] link-aggregation mode dynamic
[H3C-Bridge-Aggregation2] quit

2. Add the port connected to L2 Switch-1 to Aggregation group 1.


[H3C] interface g1/0/1
[H3C-GigabitEthernet1/0/1] port link-aggregation group 1
[H3C-GigabitEthernet1/0/1] interface g2/0/1
[H3C-GigabitEthernet2/0/1] port link-aggregation group 1
[H3C-GigabitEthernet2/0/1] quit

3. Add the port connected to L2 Switch-2 to Aggregation group 2.


[H3C] interface g1/0/2
[H3C-GigabitEthernet1/0/2] port link-aggregation group 2
[H3C-GigabitEthernet1/0/2] interface g2/0/2
[H3C-GigabitEthernet2/0/2] port link-aggregation group 2
[H3C-GigabitEthernet2/0/2] quit

4. Create VLAN 10 and VLAN interface 10 to which the server belongs and set the IP
address to 192.168.10.1/24.
[H3C] vlan 10
[H3C-vlan10] interface vlan 10
[H3C-Vlan-interface10] ip address 192.168.10.1 24
[H3C-Vlan-interface10] quit

5. Create VLAN 20 and VLAN interface 20 to which the client belongs and set the IP
address to 192.168.20.1/24.
[H3C] vlan 20
[H3C-vlan20] interface vlan 20
[H3C-Vlan-interface20] ip address 192.168.20.1 24
[H3C-Vlan-interface20] quit

6. Add Bridge-Aggregation 1 interface connected to L2 Switch-1 to VLAN 10 as Access


port.
* Add / delete port belonging to LinkAggregation to / from VLAN, execute with Bridge-
Aggregation interface-view (the setting is reflected in all ports belonging to
LinkAggregation).
[H3C] interface Bridge-Aggregation 1
[H3C-Bridge-Aggregation1] port access vlan 10
[H3C-Bridge-Aggregation1] quit

7. Add the Bridge-Aggregation 2 interface connected to L2 Switch 2 to VLAN 20 as


Access port.
[H3C] interface Bridge-Aggregation 2
[H3C-Bridge-Aggregation2] port access vlan 20
[H3C-Bridge-Aggregation2] quit
[H3C] quit

8. Save the settings to the config file.


<H3C> save

4-2. IRF + LACP MAD L2 switch setting example


L2 Switch-1 and 2
1. Create a Bridge-Aggregation group as a Link Aggregation group and set Mode to
Dynamic to use LACP.
<H3C> system-view
[H3C] interface Bridge-Aggregation 1
[H3C-Bridge-Aggregation1] link-aggregation mode dynamic

2. Add the port connencted to IRF-stack switch to Aggregation group 1.


[H3C] interface g1/0/1
[H3C-GigabitEthernet1/0/1] port link-aggregation group 1
[H3C-GigabitEthernet1/0/1] interface g1/0/2
[H3C-GigabitEthernet1/0/2] port link-aggregation group 1
[H3C-GigabitEthernet1/0/2] quit
[H3C] quit

3. Save the settings to the config file.


<H3C> save

4-3. LACP MAD status check (Normal situation)


A5500-24G EI-1 and 2
display irf (check Master, Priority)

display irf topology (check physical connection of IRF stack)


display irf configuration (check Member ID, IRF port setting)

display mad verbose (check LACP MAD)

display link-aggregation verbose (display detailed of Link Aggregation)


4-4. LACP MAD status check (when the stack port fails)
A5500-24G EI-1 (Member ID=1)
display irf

display irf topology


display interface brief

display mad verbose

A5500-24G EI-2 (Member ID=2)


display irf
display irf topology

display interface brief

display mad verbose


display interface

Stack port recover.


When the stack port recovers, the switch that becomes Slave restarts and joins the stack.

4-5. IRF + LACP MAD Configuration Notes


When setting up LACP MAD mutually between multiple IRF Devices as shown below, it is
necessary to set IRF Domain ID.
In this environment LACP MAD will not work properly unless IRF Domain is set.
In some cases, LACP does not properly link up.
There is a possibility that Switch C-D may be affected by Switch A's failure.
For ARP MAD, this setting is unnecessary.

You might also like