Reference Guide
Interfaces | 627
Usage Information
Since this command calculates based on a Layer 2 hash algorithm, use this command to display flows
for switched Layer 2 packets, not for routed packets (use the show ip flow command to display routed
packets).
The show port-channel-flow command returns the egress port identification in a given port-channel, if
a valid flow is entered. A mismatched flow error occurs if MAC-based hashing is configured for a
Layer 2 interface and the user is trying to display a Layer 3 flow.
The output will display three entries:
• Egress port for unfragmented packets.
• In the event of fragmented packets, egress port of the first fragment.
• In the event of fragmented packets, egress port of the subsequent fragments.
Example
show port-channel-flow outgoing-port-channel number incoming-interface interface source-mac
address destination-mac address
• Load-balance is configured for MAC
• Load balance is configured for IP 4-tuple/2-tuple for the C-Series and S-Series
• A non-IP payload is going out of Layer 2 LAG interface that is a member of VLAN with an IP
address.
Figure 18-46. show port-channel-flow Command for MAC Addresses
Example
On the E-Series only:
show port-channel-flow outgoing-port-channel number incoming-interface interface source-ip
address destination-ip address {protocol number [icmp/tcp/udp]} {source-port number
destination-port number}
• Load balance is configured for IP 5-tuple/3-tuple.
• An IP payload is going out of a Layer 2 LAG interface that is a member of a VLAN with an IP
address.
FTOS#show port-channel-flow outgoing-port-channel 2
incoming-interface gi 3/0 source-ip 2.2.2.0 destination-ip 3.2.3.1
protocol tcp source-port 5 destination-port 6
Egress Port for port-channel 2, for the given flow:
Unfragmented packet: Gi 1/6
Fragmented packets (first fragment): Gi 1/12
Fragmented packets (remaining fragments): Gi 1/12
Related
Commands
FTOS#show port-channel-flow outgoing-port-channel 1 incoming-interface gi 3/0
source-mac 00:00:50:00:00:00 destination-mac 00:00:a0:00:00:00
Egress Port for port-channel 1, for the given flow, is Te 13/01
load-balance (E-Series) Balance traffic over E-Series port channel members.