5
display irf-port load-sharing mode
Syntax
display irf-port load-sharing mode [ irf-port [ member-id/port-number ] ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
member-id/port-number: IRF port number, where member-id represents the ID of an IRF member switch.
The port-number argument specifies the port number, and the value can be 1 or 2.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see CLI configuration in the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the display irf-port load-sharing mode command to display the load sharing criteria for IRF links.
If you do not specify the irf-port keyword, the command displays the global load sharing criteria.
If you specify the irf-port keyword without specifying an IRF port, the command displays the load sharing
criteria for the member links of each IRF port.
If you specify both the irf-port keyword and an IRF port, the command displays the load sharing criteria
for the member links of the specified port.
Examples
# Display the default global load sharing criteria for IRF links.
<Sysname> display irf-port load-sharing mode
irf-port Load-Sharing Mode:
Layer 2 traffic: destination-mac address, source-mac address
Layer 3 traffic: destination-ip address, source-ip address
# Display the configured global load sharing criteria for IRF links.
<Sysname> display irf-port load-sharing mode
irf-port Load-Sharing Mode:
destination-mac address, source-mac address
# Display the default load sharing criteria for the member links of IRF port 1/2.
<Sysname> display irf-port load-sharing mode irf-port 1/2
irf-port1/2 Load-Sharing Mode: