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.

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

Examples

To configure and activate IRF-port 1/2 when the port is in DIS state:

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

<Sysname> system-view
[Sysname] interface ten-gigabitEthernet 1/1/0/27
[Sysname-Ten-GigabitEthernet1/1/0/27] shutdown
[Sysname-Ten-GigabitEthernet1/1/0/27] quit
[Sysname] irf-port 1/2
[Sysname-irf-port1/2] port group interface Ten-GigabitEthernet 1/1/0/27
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the "irf-port-configuration active" command to activate the IRF ports.
[Sysname-irf-port1/2] quit
[Sysname] interface ten-gigabitEthernet 1/1/0/27
[Sysname-Ten-GigabitEthernet1/1/0/27] undo shutdown
[Sysname-Ten-GigabitEthernet1/1/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.
Chassis 1 Slot 1:
 Save next configuration file successfully.
 Configuration is saved to device successfully.

# Activate the IRF port settings.

[Sysname] irf-port-configuration active