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:
The configuration file that the device starts with contains IRF port bindings.
You are binding physical interfaces to an IRF port after an IRF fabric is formed.
Examples
To configure and activate IRF-port 1/2 when the port is in DIS state:
# Bind HundredGigE 1/0/1 to IRF-port 1/2.
<Sysname> system-view [Sysname] interface hundredgige 1/0/1 [Sysname-HundredGigE1/0/1] shutdown [Sysname-HundredGigE1/0/1] quit [Sysname] irf-port 1/2 [Sysname-irf-port1/2] port group interface hundredgige 1/0/1 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 hundredgige 1/0/1 [Sysname-HundredGigE1/0/1] undo shutdown [Sysname-HundredGigE1/0/1] 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.
# Activate the IRF port.
[Sysname] irf-port-configuration active