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
Layer 4 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
Layer 4 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-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-port1/1 Load-Sharing Mode:
destination-ip address   source-ip address

irf-port1/2 Load-Sharing Mode:
Layer 2 traffic: destination-mac address  source-mac address
Layer 3 traffic: destination-ip address   source-ip address
Layer 4 traffic: destination-port         source-port

Table 6: Command output

Field

Description

irf-port Load-Sharing Mode

Global load sharing mode for IRF links:

  • If no global IRF link load sharing mode has been configured, the default global load sharing mode applies.

  • If a user-defined global load sharing mode has been configured, the configured mode applies.

irf-port1/1 Load-Sharing Mode

Link load sharing mode of IRF-port 1/1:

  • If you have not configured a port-specific load sharing mode, the global IRF link load sharing mode applies.

  • If you have configured a port-specific load sharing mode, the configured mode applies.

Layer 2 traffic: packet type-based sharing

Default load sharing mode for traffic that has no IP header. The default link load sharing mode differs by service modules. For information about the default link load sharing modes of different service modules, see device management in Fundamentals Configuration Guide.

Layer 3 traffic: packet type-based sharing

Default load sharing mode for non-TCP/-UDP IP packets. The default link load sharing mode differs by service modules. For information about the default link load sharing modes of different service modules, see device management in Fundamentals Configuration Guide.

Layer 4 traffic: packet type-based sharing

Default load sharing mode for TCP/UDP packets. The default link load sharing mode differs by service modules. For information about the default link load sharing modes of different service modules, see device management in Fundamentals Configuration Guide.