Deployment Guide
Interfaces | 643
Command Modes
EXEC
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 23-47. 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.
source-port number Enter the keyword source-port followed by the source port
number.
Range: 1-65536
Default: None
destination-port number Enter the keyword destination-port followed by the destination
port number.
Range: 1-65536
Default: None
source-mac address Enter the keyword source-mac followed by the MAC source
address in the nn:nn:nn:nn:nn:nn format.
destination-mac address Enter the keyword destination-mac followed by the MAC
destination address in the nn:nn:nn:nn:nn:nn format.
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










