5
member-id
/
port-number
: Specifies an IRF port number. The
member-id
argument represents an IRF
member ID. The
port-number
argument represents the index number (1 or 2) of the IRF port on the
member device.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
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, a case-sensitive string of 1 to 256 characters.
Description
Use
display irf-port load-sharing mode
to display IRF link load sharing mode.
To display the global load sharing mode for IRF links, execute this command without any keyword or
argument.
To display the load sharing mode used on each IRF port in the IRF fabric, specify the
irf-port
keyword but
not any IRF port.
To display the load sharing mode used on a specific IRF port, specify both the
irf-port
keyword and the
member-id
/
port-number
argument.
Examples
# Display the global IRF link load sharing mode. In this example, because no user-defined global load
sharing mode has been configured, the default global load sharing mode applies.
<Sysname> display irf-port load-sharing mode
irf-port Load-Sharing Mode:
Layer 2 traffic: packet type-based sharing
Layer 3 traffic: packet type-based sharing
# Display the global IRF link load sharing mode. In this example, because a global sharing mode based
on source and destination IP addresses have been configured, the configured mode applies.
<Sysname> display irf-port load-sharing mode
irf-port Load-Sharing Mode:
destination-ip address, source-ip address
# Display the load sharing mode of IRF port 1/1. In this example, because neither port-specific load
sharing mode nor user-defined global load sharing mode has been configured, the default global load
sharing mode applies.
<Sysname> display irf-port load-sharing mode irf-port 1/1
irf-port1/1 Load-Sharing Mode:
Layer 2 traffic: packet type-based sharing
Layer 3 traffic: packet type-based sharing
# Display the load sharing mode used on IRF port 1/1.
<Sysname> display irf-port load-sharing mode irf-port 1/1
irf-port1/1 Load-Sharing Mode:
destination-mac address, source-mac address
# Display the load sharing mode used on each IRF port.
<Sysname> display irf-port load-sharing mode irf-port
irf-port 1/1 Load-Sharing Mode: