H3C Technologies H3C S12500 Series Switches User Manual

Page 55

Advertising
background image

47

Saving the converted configuration file to the main board succeeded.

Slot 1:

Saving the converted configuration file succeeded.

Now rebooting, please wait...

2.

Configure Device B:
# Assign member ID 2 to Device B, and bind Ten-GigabitEthernet 3/0/1 to IRF-port 1.

<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 3/0/1

[Sysname-irf-port1] quit

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

[Sysname-Ten-GigabitEthernet3/0/1] undo shutdown

[Sysname-Ten-GigabitEthernet3/0/1] quit

# Save the configuration.

[Sysname] save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait.....................................

The current configuration is saved to the active main board successfully.

Configuration is saved to device successfully.

# Connect the two devices as shown in

Figure 19

. Log in to Device B.

# Enable IRF mode.

<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 B and Device A form an IRF after Device B reboots.

3.

Configure the IRF fabric:
# Enable the spanning tree feature globally on the IRF fabric.

<Sysname> system-view

[Sysname] stp enable

# Set the domain ID of the IRF fabric to 1.

[Sysname] irf domain 1

# Configure the bridge MAC address of the IRF fabric to change as soon as the master leaves.

Advertising