
5
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.
Usage guidelines
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:
destination-mac address, source-mac address
irf-port 1/2 Load-Sharing Mode:
Layer 2 traffic: packet type-based sharing
Layer 3 traffic: packet type-based sharing