13
Changing the IRF member ID of a switch
CAUTION:
Change member ID for the switches in an IRF virtual device with caution. The change might cause
configuration change and even data loss. Consider an IRF virtual device that comprises three member
switches of the same model with member IDs 1, 2, and 3. If you change the member ID of switch 2 to 3
and that of switch 3 to 2, then switch 2 uses the original port configurations of switch 3, and switch 3
uses those of switch 2 after they are rebooted.
An IRF virtual device uses member IDs to uniquely identify its members. After you change the member ID
of a switch, you must reboot the switch to validate the setting.
•
If you do not reboot the switch, the original member ID still takes effect and all physical resources
are identified by the original member ID. In the configuration file, only the IRF port numbers,
configurations on IRF ports, and priority of the device change with the member ID, other
configurations do not change.
•
If you save the current configuration and reboot the switch, the new member ID takes effect and all
physical resources are identified by the new member ID. In the configuration file, only the IRF port
numbers, configurations on IRF ports, and priority of the device still take effect, other configurations
(such as configuration for physical IRF ports) no longer take effect and you will need to configure
them again.
Change the IRF member ID of a switch when it is standalone or after it joins an IRF virtual device. If the
switch is standalone, make sure that the member ID of the switch does not conflict with the member ID of
any other switch, so the change does not affect the operation of the IRF virtual device. After changing
the member ID, save the current configuration, power off the switch, connect the switch to its neighbor
switch, power it on, and configure the IRF port to enable IRF on the switch.
To change the IRF member ID of a switch:
To do…
Use the command…
Remarks
1.
Enter system view
system-view
—
2.
Change the IRF member ID
of the switch
irf member
member-id
renumber
new-
member-id
Optional.
The member ID of a switch
defaults to 1.
Verify the IRF member ID of a switch with the
display irf configuration
command.
Configuring IRF ports
To bring the IRF function into work, you must connect the IRF member switches, assign the connected
physical ports to the appropriate IRF port on each member switch, and activate the IRF port
configuration. After the IRF port configuration is activated, the IRF ports go up, a master election is held,
and the switches that failed in the election automatically reboot to join the IRF virtual device as
subordinate switches.
When binding a physical port, use the
display irf topology
command to check that its link state is
DIS
or
DOWN
.