display ip load-sharing path
Use display ip load-sharing path to display the load sharing path selected for a flow.
Syntax
display ip load-sharing path ingress-port interface-type interface-number packet-format { ipv4oe dest-ip ip-address [ src-ip ip-address ] | ipv6oe dest-ipv6 ipv6-address [ src-ipv6 ipv6-address ] } [ dest-port port-id | ip-pro protocol-id | src-port port-id | vpn-instance vpn-instance-name ] *
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ingress-port interface-type interface-number: Specifies an ingress port by its type and number.
packet-format: Specifies the packet encapsulation format.
ipv4oe: Specifies the format of IPv4 over Ethernet.
dest-ip ip-address: Specifies the destination IPv4 address in dotted decimal notation.
src-ip ip-address: Specifies the source IPv4 address in dotted decimal notation. If you do not specify this argument, the calculation uses 0.0.0.0 for path selection.
ipv6oe: Specifies the format of IPv6 over Ethernet.
dest-ipv6 ipv6-address: Specifies the destination IPv6 address.
src-ipv6 ipv6-address: Specifies the source IPv6 address. If you do not specify this option, the calculation uses 0:0:0:0:0:0:0:0.
dest-port port-id: Specifies a destination port number in the range of 1 to 65535. If you do not specify this option, the calculation uses 0 for path selection.
ip-pro protocol-id: Specifies an IP protocol by its number in the range of 1 to 65535. If you do not specify this option, the calculation uses 0 for path selection.
source-port port-id: Specifies a source port number in the range of 1 to 65535. If you do not specify this option, the calculation uses 0 for path selection.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. To display the path on the public network, do not specify this option.
Usage guidelines
When you configure this command, make sure the options are the same as those in the ip load-sharing mode command. If the options are not consistent, the path displayed by this command might be different from the real path for load sharing.
Examples
# Display the load sharing path selected for the flow with the following attributes: ingress interface Ten-GigabitEthernet 1/0/3, destination IP address 10.110.0.2, source IP address 10.100.0.2, IP protocol number 153, destination port number 2000, source port number 2000, VPN instance vpn10.
<Sysname> display ip load-sharing path ingress-port Ten-GigabitEthernet 1/0/3 packet-format ipv4oe destination-ip 10.110.0.2 source-ip 10.100.0.2 ip-pro 153 dest-port 2000 src-port 2000 vpn-instance vpn10 Load-sharing algorithm: 0 Load-sharing options: ingress-port | dest-ip | src-ip | ip-pro | dest-port | src-port Load-sharing parameters: Missing configured are set to 0. ingress-port: Ten-GigabitEthernet1/0/3 packet-format: IPv4oE dest-ip: 10.110.0.2 src-ip: 10.100.0.2 ip-pro: 153 dest-port: 2000 src-port: 2000 vpn-instance: VPN10 Path selected: 20.0.0.2(interface Ten-GigabitEthernet1/0/3)
Table 29: Command output
Field | Description |
---|---|
Load-sharing algorithm | Load sharing algorithm ID. |
Load-sharing options | Load sharing options specified by the ip load-sharing mode command. |
Load-sharing parameters | Load sharing parameters that you specify for the display ip load-sharing path command. |
Missing configured are set to 0. | Values of the unconfigured parameters are set to 0. |
ingress-port | Ingress port of the packet. |
packet-format | Packet encapsulation format. |
dest-ip | Destination IP address of the packet. |
src-ip | Source IP address of the packet. |
ip-pro | IP protocol number. |
dest-port | Destination port number. |
src-port | Source port number. |
vpn-instance | Name of the MPLS L3VPN instance. |
Path selected | Selected path information, including the IPv4 or IPv6 address of the next hop and the egress port. |