19
irf-port-configuration active
Syntax
irf-port-configuration active
View
System view
Default level
3: Manage level
Parameters
None
Description
Use the
irf-port-configuration active
command to activate configurations on all IRF ports on the switch.
If you connect the IRF links and bind physical IRF port(s) to an IRF port whose link state is
DIS
or
DOWN
,
you must execute the
irf-port-configuration active
command to establish the IRF virtual device. You can
use the
display irf topology
command to display this configuration.
Activating IRF port configurations may cause IRF virtual device merge and device reboot. To avoid
configuration loss, set the member ID for a device in the following way:
1.
Plan the network and member IDs in advance. Determine the number of IRF ports to be created,
and which physical IRF ports will be used for IRF establishment.
2.
Modify member IDs for switches. (The modifications of member IDs become effective after switch
reboot, so modify member IDs before executing the
irf-port-configuration active
command.)
3.
Connect SFP+ cables or fibers and make sure that the physical IRF ports are well connected.
4.
Create IRF ports.
5.
Bind physical IRF ports to IRF ports.
6.
Save the current configurations to the configuration file for the next startup.
7.
Activate configurations on all IRF ports.
After the system starts up, when you bind a physical IRF port to an IRF port through the configuration file,
or add a new physical port, the configurations on IRF ports are activated automatically, so you do not
need to execute this command again.
Examples
# Activate configurations on an IRF port with the
DIS
link.
•
The link state of the IRF port indicates that the port has not been bound with any physical IRF port.
Therefore, you need to bind it to a physical IRF port. Shut down the physical IRF port before the
binding and activate it after the binding.
<Sysname> system-view
[Sysname] interface ten-gigabitEthernet 1/1/3
[Sysname-Ten-GigabitEthernet1/1/3] shutdown
[Sysname-Ten-GigabitEthernet1/1/3] quit
[Sysname] irf-port 1/2
[Sysname-irf-port1/2] port group interface Ten-GigabitEthernet 1/1/3
[Sysname-irf-port1/2] quit
[Sysname] interface ten-gigabitEthernet 1/1/3