18
Use undo irf member priority to restore the default.
Syntax
irf member member-id priority priority
undo irf member member-id priority
Default
The IRF member priority is 1.
Views
System view
Predefined user roles
network-admin
Parameters
member-id: Specifies an IRF member ID. The member ID can be 1 or 2.
priority: Sets priority in the range of 1 to 32. The greater the priority value, the higher the priority.
A member with higher priority is more likely to be the master.
Usage guidelines
This command is supported only in IRF mode. To assign an IRF priority to a device in standalone
mode, use the
irf priority command.
The new priority setting takes effect at the next master election, but it does not trigger a master
election.
Examples
# Set the priority of IRF member 2 to 32.
<Sysname> system-view
[Sysname] irf member 2 priority 32
Related commands
irf priority
irf member renumber
Use irf member renumber to change the member ID of an IRF member device.
Use
undo irf member renumber to restore the previous IRF member ID of the device.
Syntax
irf member member-id renumber new-member-id
undo irf member member-id renumber
Default
In standalone mode, the IRF member ID is 1. After being placed in an IRF mode, the device uses the
member ID that has been set in standalone mode. If you have not changed the IRF member ID in
standalone mode, the device uses member ID 1.
Views
System view
Predefined user roles
network-admin