display irf-port load-sharing mode
Use display irf-port load-sharing mode to display IRF link load sharing mode.
Syntax
display irf-port load-sharing mode [ irf-port [ member-id/irf-port-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
irf-port: Displays IRF port-specific load sharing modes. If you do not specify this keyword, the command displays the global load sharing mode for IRF links.
member-id/irf-port-number: Specifies an IRF port number. The member-id argument represents an IRF member ID. The irf-port-number argument represents the index number (1 or 2) of the IRF port on the member device. If you do not specify the member-id and irf-port-number arguments, this command displays the load sharing mode used on each IRF port in the IRF fabric. If no IRF ports are in up state, this command displays No IRF link exists.
Examples
# Display the global load sharing mode for IRF links. 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 load sharing mode for IRF links. In this example, because a global load sharing mode has been configured, the configured mode applies.
<Sysname> display irf-port load-sharing mode irf-port Load-Sharing Mode: destination-mac address, source-mac 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 of IRF-port 1/1 after a load sharing mode is configured on the port.
<Sysname> display irf-port load-sharing mode irf-port 1/1 irf-port 1/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-port1/1 Load-Sharing Mode: destination-mac address source-mac address irf-port1/2 Load-Sharing Mode: destination-ip address source-ip address
Table 5: Command output
Field | Description |
---|---|
irf-port Load-Sharing Mode | Global load sharing mode for IRF links:
|
irf-port1/1 Load-Sharing Mode | Link load sharing mode of IRF-port 1/1:
|
Layer 2 traffic: packet type-based sharing | Default load sharing mode for traffic that has no IP header. By default, this type of traffic is distributed based on packet types. |
Layer 3 traffic: packet type-based sharing | Default load sharing mode for non-TCP/-UDP IP packets. By default, this type of traffic is distributed based on packet types. |