FortiSwitch
FortiSwitch: secure, simple and scalable Ethernet solutions
nvisentin_FTNT
Article Id 195664

Description

This article describes how to find out which physical port is used in LAG depending on source and destination IP.


Scope

FortiSwitch v3.2.


Solution

The following command can be used to find out which physical port is used in LAG depending on source and destination IP:
diagnose switch trunk active-dst-member <LAG Name> src-ip <IPv4/v6-addr> dst-ip <IPv4/v6-addr>

Examples:
WOV36-FS1D48 # diagnose switch trunk active-dst-member MX src-ip 10.10.10.2 dst-ip 10.10.10.1
member port2
  • Traffic from 10.10.10.2 toward 10.10.10.1 will be sent to port2.
WOV36-FS1D48 # diagnose switch trunk active-dst-member MX src-ip 10.10.10.2 dst-ip 10.10.10.4
member port1
  • Traffic from 10.10.10.2 toward 10.10.10.4 will be sent to port1.