H3C Technologies H3C S10500 Series Switches User Manual

Page 42

Advertising
background image

[Sysname-irf-port2] quit

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

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

[Sysname-Ten-GigabitEthernet3/0/1] 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 the device 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...

The device operates in IRF mode after reboot.

2.

Configure Device B

# Set the member ID of Device B to 2, create IRF port 1, and bind it to physical port Ten-GigabitEthernet

3/0/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] interface ten-gigabitethernet 3/0/1

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

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

[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 current configuration to the startup configuration file.

[Sysname] quit

<Sysname> save

# Connect the two devices as shown in

Figure 14

.

# Switch the operating mode of the device to IRF.

<Sysname> system-view

36

Advertising