You are on page 1of 16

H3C IRF

IRF


IRF
BFD MAD
LACP MAD

Recovery
Slave
IRF
BFD/LACP MAD

1.

2. IRF

3.

4.

IRF2 SHUT 12500 SHUT 95E


SHUT
5. IRF

1 / 16
IRF2 undo shutdown IRF IRF

6. BFD MAD

: 7 LACP MAD BFD MAD

7. LACP MAD

2 / 16
8.

9. Recovery

: Master

10. Slave

: : < -Slave# / > <Sysname-Slave#1/0>

11. IRF

3 / 16
12.

IRF BFD MAD

1.

Device A

2.

1-1 IRF BFD MAD

IRF
Device A Device B
XGE1/3/0/1 XGE2/3/0/1

GE1/4/0/1 BFD GE2/4/0/1

,,

3.

IRF IRF
IRF IRF

4.

(1) Device A Device B

# Device A

4 / 16
IRF 1 12 IRF 2
Ten-GigabitEthernet3/0/1
<Sysname> system-view

[Sysname] irf member 1

[Sysname] irf priority 12

[Sysname] irf-port 1/2

[Sysname-irf-port 2] port group interface ten-gigabitethernet 3/0/1

[Sysname-irf-port 2] quit


[Sysname] quit

<Sysname> save

IRF 3069
<Sysname> system-view

[Sysname] chassis convert mode irf

The device will switch to IRF mode and reboot. You are recommended to save the

current running configuration and specify the configuration file for the next

startup. Continue? [Y/N]:y

Do you want to convert the content of the next startup configuration file

flash:/startup.cfg to make it available in IRF mode? [Y/N]:y

Please wait...

Saving the converted configuration file to the main board succeeded.

Slot 1:

Saving the converted configuration file succeeded.

Now rebooting, please wait...

IRF
# Device B
IRF 2 26 IRF 1
Ten-GigabitEthernet3/0/1
<Sysname> system-view

[Sysname] irf member 2

[Sysname] irf priority 26

[Sysname] irf-port 2/1

[Sysname-irf-port 1] port group interface ten-gigabitethernet 3/0/1

[Sysname-irf-port 1] quit


[Sysname] quit

<Sysname> save

IRF
<Sysname> system-view

[Sysname] chassis convert mode irf

The device will switch to IRF mode and reboot. You are recommended to save the

current running configuration and specify the configuration file for the next

startup. Continue? [Y/N]:y

5 / 16
Do you want to convert the content of the next startup configuration file

flash:/startup.cfg to make it available in IRF mode? [Y/N]:y

Please wait...

Saving the converted configuration file to the main board succeeded.

Slot 1:

Saving the converted configuration file succeeded.

Now rebooting, please wait...

B A IRF
(2) BFD MAD

# VLAN 3 Device A 1 4/0/1 Device B 2


4/0/1 VLAN
<Sysname> system-view

[Sysname] vlan 3

[Sysname-vlan3] port gigabitethernet 1/4/0/1 gigabitethernet 2/4/0/1

[Sysname-vlan3] quit

# VLAN 3 MAD IP
[Sysname] interface vlan-interface 3

[Sysname-Vlan-interface3] mad bfd enable

[Sysname-Vlan-interface3] mad ip add 192.168.2.1 24 member 1

[Sysname-Vlan-interface3] mad ip add 192.168.2.2 24 member 2

[Sysname-Vlan-interface3] quit

IRF BFD MAD

1.

PC

2.

1-8 IRF BFD MAD

6 / 16

Device A Device B

IRF
IRF Device A Device B IRF

IRF IRF IRF


MAD BFD MAD

3.

(1) Device A Device B IRF

# Device A

<Sysname> system-view

[Sysname] chassis convert mode irf

This command will convert the device to IRF mode and the device will reboot. Are you
sure? [Y/N]: y

IRF-port1/2
Ten-GigabitEthernet1/3/0/25

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/3/0/25

7 / 16
[Sysname-Ten-GigabitEthernet1/3/0/25] shutdown

[Sysname-Ten-GigabitEthernet1/3/0/25] quit

[Sysname] irf-port 1/2

[Sysname-irf-port 1/2] port group interface ten-gigabitethernet 1/3/0/25

[Sysname-irf-port 1/2] quit

[Sysname] interface ten-gigabitethernet 1/3/0/25

[Sysname-Ten-GigabitEthernet1/3/0/25] undo shutdown

[Sysname-Ten-GigabitEthernet1/3/0/25] save

# Device B

<Sysname> system-view

[Sysname] chassis convert mode irf

This command will convert the device to IRF mode and the device will reboot. Are you
sure? [Y/N]: y

<Sysname> system-view

[Sysname] irf member 1 renumber 2

Warning: Renumbering the switch number may result in configuration change or loss.
Continue? [Y/N]:y

[Sysname] quit

<Sysname> reboot

IRF-port2/1
Ten-GigabitEthernet2/3/0/25

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 2/3/0/25

[Sysname-Ten-GigabitEthernet2/3/0/25] shutdown

8 / 16
[Sysname-Ten-GigabitEthernet2/3/0/25] quit

[Sysname] irf-port 2/1

[Sysname-irf-port 2/1] port group interface ten-gigabitethernet 2/3/0/25

[Sysname-irf-port 2/1] quit

[Sysname] interface ten-gigabitethernet 2/3/0/25

[Sysname-Ten-GigabitEthernet2/3/0/25] undo shutdown

[Sysname-Ten-GigabitEthernet2/3/0/25] save

(2) IRF IRF

(3) BFD MAD

# VLAN 3 Device A 1 1/3/0/1 Device B 2


2/3/0/1 VLAN

<Sysname> system-view

[Sysname] vlan 3

[Sysname-vlan3] port gigabitethernet 1/3/0/1 gigabitethernet 2/3/0/1

[Sysname-vlan3] quit

# VLAN 3 MAD IP

[Sysname] interface vlan-interface 3

[Sysname-Vlan-interface3] mad bfd enable

[Sysname-Vlan-interface3] mad ip add 192.168.2.1 24 chassis 1

[Sysname-Vlan-interface3] mad ip add 192.168.2.2 24 chassis 2

[Sysname-Vlan-interface3] quit

IRF LACP MAD

1.

PC

9 / 16

2.

1-2 IRF LACP MAD

IP network

GE4/0/1 GE4/0/2

GE1/4/0/2 GE2/4/0/2

XGE1/3/0/1 XGE2/3/0/1

Device A IRF Device B

IRF LACP

3.

IRF IRF
IRF IRF

4.

(1) Device A Device B

# Device A
IRF 1 12 IRF 2
Ten-GigabitEthernet3/0/1
<Sysname> system-view

[Sysname] irf member 1

[Sysname] irf priority 12

[Sysname] irf-port 2

[Sysname-irf-port 2] port group interface ten-gigabitethernet 3/0/1

[Sysname-irf-port 2] quit


[Sysname] quit

<Sysname> save

IRF
<Sysname> system-view

[Sysname] chassis convert mode irf

10 / 16
The device will switch to IRF mode and reboot. You are recommended to save the

current running configuration and specify the configuration file for the next

startup. Continue? [Y/N]:y

Do you want to convert the content of the next startup configuration file

flash:/startup.cfg to make it available in IRF mode? [Y/N]:y

Please wait...

Saving the converted configuration file to the main board succeeded.

Slot 1:

Saving the converted configuration file succeeded.

Now rebooting, please wait...

IRF
# Device B
IRF 2 26 IRF 1
Ten-GigabitEthernet3/0/1
<Sysname> system-view

[Sysname] irf member 2

[Sysname] irf priority 26

[Sysname] irf-port 1

[Sysname-irf-port 1] port group interface ten-gigabitethernet 3/0/1

[Sysname-irf-port 1] quit


[Sysname] quit

<Sysname> save

IRF
<Sysname> system-view

[Sysname] chassis convert mode irf

The device will switch to IRF mode and reboot. You are recommended to save the

current running configuration and specify the configuration file for the next

startup. Continue? [Y/N]:y

Do you want to convert the content of the next startup configuration file

flash:/startup.cfg to make it available in IRF mode? [Y/N]:y

Please wait...

Saving the converted configuration file to the main board succeeded.

Slot 1:

Saving the converted configuration file succeeded.

Now rebooting, please wait...

B A IRF
(2) LACP MAD
# LACP MAD
<Sysname> system-view

[Sysname] interface bridge-aggregation 2

[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic

[Sysname-Bridge-Aggregation2] mad enable

[Sysname-Bridge-Aggregation2] quit

11 / 16
# 1/4/0/2 2/4/0/2 Device A Device B LACP MAD

[Sysname] interface gigabitethernet 1/4/0/2

[Sysname-GigabitEthernet1/4/0/2] port link-aggregation group 2

[Sysname-GigabitEthernet1/4/0/2] quit

[Sysname] interface gigabitethernet 2/4/0/2

[Sysname-GigabitEthernet2/4/0/2] port link-aggregation group 2

(3) Device C
Device C LACP LACP Device
A Device B Active LACP

#
<Sysname> system-view

[Sysname] interface bridge-aggregation 2

[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic

[Sysname-Bridge-Aggregation2] quit

# GigabitEthernet4/0/1 GigabitEthernet4 /0/2 LACP


MAD
[Sysname] interface gigabitethernet 4/0/1

[Sysname-GigabitEthernet4/0/1] port link-aggregation group 2

[Sysname-GigabitEthernet4/0/1] quit

[Sysname] interface gigabitethernet 4/0/2

[Sysname-GigabitEthernet4/0/2] port link-aggregation group 2

IRF LACP MAD

1.

Device A

2.

1-9 IRF LACP MAD

12 / 16
3.

Device A
Device B

IRF
IRF Device A Device B IRF

IRF IRF IRF


MAD LACP MAD IRF

4.

(1) Device A Device B IRF

# Device A

<Sysname> system-view

[Sysname] chassis convert mode irf

13 / 16
This command will convert the device to IRF mode and the device will reboot. Are you
sure? [Y/N]: y

IRF-port2
Ten-GigabitEthernet1/3/0/25

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/3/0/25

[Sysname-Ten-GigabitEthernet1/3/0/25] shutdown

[Sysname-Ten-GigabitEthernet1/3/0/25] quit

[Sysname] irf-port 1/2

[Sysname-irf-port 1/2] port group interface ten-gigabitethernet 1/3/0/25

[Sysname-irf-port 1/2] quit

[Sysname] interface ten-gigabitethernet 1/3/0/25

[Sysname-Ten-GigabitEthernet1/3/0/25] undo shutdown

[Sysname-Ten-GigabitEthernet1/3/0/25] save

# Device B

<Sysname> system-view

[Sysname] chassis convert mode irf

This command will convert the device to IRF mode and the device will reboot. Are you
sure? [Y/N]: y

<Sysname> system-view

[Sysname] irf member 1 renumber 2

Warning: Renumbering the switch number may result in configuration change or loss.
Continue? [Y/N]:y

[Sysname] quit

14 / 16
<Sysname> reboot

IRF-port1
Ten-GigabitEthernet2/3/0/25

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 2/3/0/25

[Sysname-Ten-GigabitEthernet2/3/0/25] shutdown

[Sysname-Ten-GigabitEthernet2/3/0/25] quit

[Sysname] irf-port 2/1

[Sysname-irf-port 2/1] port group interface ten-gigabitethernet 2/3/0/25

[Sysname-irf-port 2/1] quit

[Sysname] interface ten-gigabitethernet 2/3/0/25

[Sysname-Ten-GigabitEthernet2/3/0/25] undo shutdown

[Sysname-Ten-GigabitEthernet2/3/0/25] save

(2) IRF IRF

(3) LACP MAD

# LACP MAD

<Sysname> system-view

[Sysname] interface bridge-aggregation 2

[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic

[Sysname-Bridge-Aggregation2] mad enable

[Sysname-Bridge-Aggregation2] quit

# GigabitEthernet1 /3/0/2 GigabitEthernet2 /3/0/2 Device A


Device B LACP MAD

[Sysname] interface gigabitethernet 1/3/0/2

[Sysname-GigabitEthernet1/3/0/2] port link-aggregation group 2

15 / 16
[Sysname-GigabitEthernet1/3/0/2] quit

[Sysname] interface gigabitethernet 2/3/0/2

[Sysname-GigabitEthernet2/3/0/2] port link-aggregation group 2

(4)

<Sysname> system-view

[Sysname] interface bridge-aggregation 2

[Sysname-Bridge-Aggregation2] link-aggregation mode dynamic

[Sysname-Bridge-Aggregation2] quit

# GigabitEthernet3/0/1 GigabitEthernet3 /0/2 LACP


MAD

[Sysname] interface gigabitethernet 3/0/1

[Sysname-GigabitEthernet3/0/1] port link-aggregation group 2

[Sysname-GigabitEthernet3/0/1] quit

[Sysname] interface gigabitethernet 3/0/2

[Sysname-GigabitEthernet3/0/2] port link-aggregation group 2

16 / 16

You might also like