Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 51

Advertising
background image

Specify priorities for member switches to make sure that Device A is elected as the master of the IRF

fabric.

When IRF links fail, first repair IRF links and then reboot the device in recovery state to make it re-join

the IRF fabric.

Configuration procedure

1.

Configure Device A

# Set the member ID of Device A to 1, create IRF ports 1 and 2, and bind them to physical ports
Ten-GigabitEthernet 3/0/1 and Ten-GigabitEthernet 3/0/2 respectively.

<Sysname> system-view

[Sysname] irf member 1

Info: Member ID change will take effect after the switch reboots and operates in IRF mode.

[Sysname] irf-port 1

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

[Sysname-irf-port1] quit

[Sysname] irf-port 2

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

[Sysname-irf-port2] quit

# Specify the priority of Device A as 10 to make sure that it is elected as the master when the IRF fabric
is established.

[DeviceA] irf priority 10

# Save the current configuration to the startup configuration file.

[Sysname] quit

<Sysname> save

# Change the operating mode of Device A to 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...

Device A operates in IRF mode after reboot.

2.

Configure Device B

# Set the member ID of Device B to 2, create IRF ports 1 and 2, and bind them to physical ports
Ten-GigabitEthernet 2/0/1 and Ten-GigabitEthernet 2/0/2.

<Sysname> system-view

[Sysname] irf member 2

Info: Member ID change will take effect after the switch reboots and operates in IRF mode.

[Sysname] irf-port 1

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

[Sysname-irf-port1] quit

45

Advertising