display link-aggregation load-sharing path

Use display link-aggregation load-sharing path to display forwarding information for the specified traffic flow.

Syntax

display link-aggregation load-sharing path interface bridge-aggregation interface-number ingress-port interface-type interface-number [ route ] { { destination-ip ip-address | destination-ipv6 ipv6-address } | { source-ip ip-address | source-ipv6 ipv6-address } | destination-mac mac-address | destination-port port-id | ethernet-type type-number | ip-protocol protocol-id | source-mac mac-address | source-port port-id | vlan vlan-id }*

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

bridge-aggregation: Specifies Layer 2 aggregate interfaces.

interface-number: Specifies an existing aggregate interface by its number.

ingress-port interface-type interface-number: Specifies an ingress port by its type and number. The ingress port must be a physical port.

route: Displays forwarding information for Layer 3 traffic. If you do not specify this keyword, the command displays forwarding information for Layer 2 traffic.

destination-ip ip-address: Specifies a destination IPv4 address.

destination-ipv6 ipv6-address: Specifies a destination IPv6 address.

source-ip ip-address: Specifies a source IPv4 address.

source-ipv6 ipv6-address: Specifies a source IPv6 address.

destination-mac mac-address: Specifies a destination MAC address in H-H-H format.

destination-port port-id: Specifies a destination port number in the range of 1 to 65535.

ethernet-type type-number: Specifies an Ethernet type code in the range of 1 to 65535.

ip-protocol protocol-id: Specifies an IP protocol by its ID in the range of 0 to 255.

source-mac mac-address: Specifies a source MAC address in H-H-H format.

source-port port-id: Specifies a source port number in the range of 1 to 65535.

vlan vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.

Usage guidelines

A parameter specified in the command might not be used for selecting the egress port. The Load sharing parameters field displays the parameters that are used in egress port selection. For example, you can specify both the destination-mac mac-address and destination-ip ip-address options. If only the destination MAC address is used for selecting the egress port, the Load sharing parameters field does not display the destination-ip parameter.

If a parameter required for selecting the egress port is not specified, the default value of the parameter is used. If the parameter does not have any default values, the parameter is set to 0.

Examples

# Display forwarding information for the specified traffic flow to be sent out of Layer 2 aggregate interface Bridge-Aggregation 1.

<Sysname> display link-aggregation load-sharing path interface bridge-aggregation 1 ingress-port ten-gigabitethernet 1/0/1 destination-mac 0000-fc00-0001 source-mac 0000-fc00-0002 source-ip 10.100.0.2 destination-ip 10.100.0.1
Load sharing mode: destination-mac, source-mac
Unspecified parameters are set to 0.
Load sharing parameters:
Ingress port: Ten-GigabitEthernet1/0/1
Destination MAC: 0000-fc00-0001
Source MAC: 0000-fc00-0002
Destination IP: 10.100.0.1
Source IP: 10.100.0.2
Egress port: Ten-GigabitEthernet1/0/3

Table 22: Command output

Field

Description

Load sharing mode:

Load sharing mode set for the aggregation group:

  • destination-mac—Traffic is load shared based on destination MAC addresses.

  • source-mac—Traffic is load shared based on source MAC addresses.

  • destination-ip—Traffic is load shared based on destination IP addresses.

  • source-ip—Traffic is load shared based on source IP addresses.

  • destination-port—Traffic is load shared based on destination ports.

  • source-port—Traffic is load shared based on source ports.

  • ingress-port—Traffic is load shared based on ingress ports.

Load sharing parameters

Parameters that are used in egress port selection.

Egress port

Egress port of the specified traffic flow. If no egress port is found, this field displays N/A.