irf-port-configuration active

Use irf-port-configuration active to activate IRF ports.

Syntax

irf-port-configuration active

Views

System view

Predefined user roles

network-admin

Usage guidelines

After connecting the physical interfaces between two devices and binding them to the correct IRF ports, you must use this command to activate the settings on the IRF ports. This command merges the two devices into one IRF fabric.

Activating IRF port settings can cause an IRF merge and device reboot. To avoid configuration loss, use the following procedure to set up your IRF fabric:

  1. Plan the IRF setup, including the IRF fabric topology, IRF fabric size, member ID assignment, and bindings of physical interfaces and IRF ports.

  2. Change the IRF member ID of each device to make sure they are unique in the IRF fabric.

  3. Connect the physical interfaces between neighboring devices and make sure the peer interfaces can reach each other.

  4. Bind the physical interfaces to the IRF ports on each device.

  5. Save the configuration to the startup configuration file on each device.

  6. Activate the IRF ports on each device.

The system activates the IRF port settings automatically in the following situations:

Examples

To configure and activate IRF-port 1/2:

# Bind Ten-GigabitEthernet 1/0/27 to IRF-port 1/2.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/27
[Sysname-Ten-GigabitEthernet1/0/27] shutdown
[Sysname-Ten-GigabitEthernet1/0/27] quit
[Sysname] irf-port 1/2
[Sysname-irf-port1/2] port group interface Ten-GigabitEthernet 1/0/27
 Info : You are recommended to save the configuration now; otherwise, it will be lost after system reboot.
[Sysname-irf-port1/2] quit
[Sysname] interface ten-gigabitethernet 1/0/27
[Sysname-Ten-GigabitEthernet1/0/27] undo shutdown
[Sysname-Ten-GigabitEthernet1/0/27] quit

# Save the configuration so the IRF port settings can take effect after the device reboots.

[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............................
 Saved the current configuration to mainboard device successfully.
Slot 1:
 Save next configuration file successfully.
 Configuration is saved to device successfully.

# Activate the IRF port.

[Sysname] irf-port-configuration active