
18
Use
undo irf priority
to restore the default.
Syntax
irf priority
priority
undo irf priority
Default
The IRF member priority is 1.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
priority
: Specifies an IRF member priority value in the range of 1 to 32.
Usage guidelines
Member priority is used for role election. The greater the priority value, the higher the priority. A member
with higher priority is more likely to be the master.
The member priority configured in standalone mode takes effect after you enable IRF mode.
To change the member priority of a device in IRF mode, use the
irf member
member-id
priority
priority
command. The new priority setting takes effect at the next master election, but it does not trigger master
election.
Examples
# (In standalone mode.) Assign IRF member priority 32 to the device.
[Sysname] system-view
[Sysname] irf priority 32
Related commands
irf member priority
irf-port global load-sharing mode
Use
irf-port global load-sharing mode
to set the global load sharing mode for IRF links.
Use
undo irf-port global load-sharing
mode
to restore the default.
Syntax
irf-port global load-sharing mode
{
destination-ip
|
destination-mac
|
ingress-port
|
source-ip
|
source-mac
} *
undo irf-port global load-sharing mode
Default
The following are criteria for distributing different types of packets across IRF links:
•
TCP/UDP packets
—Source and destination TCP/UDP port numbers.
•
Non-TCP/-UDP IP packets
—Source and destination IP addresses.