Command Line Reference Guide

Interfaces | 601
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
incoming-interface
interface
Enter the keyword incoming-interface followed by the interface type and slot/
port or number information:
For a Fast Ethernet interface, enter the keyword
FastEthernet followed by the
slot/port information.
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet
followed by the slot/port information.
For a SONET interface, enter the keyword sonet followed by the slot/port
information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
followed by the slot/port information.
source-ip address Enter the keyword source-ip followed by the IP source address in IP address
format.
destination-ip address Enter the keyword destination-ip followed by the IP destination address in IP
address format.
protocol number |
icmp | tcp | udp
On the E-Series only, enter the keyword protocol followed by one of the protocol
type
keywords: tcp, udp, icmp or protocol number
Note: The protocol number keyword applies to E-Series only.
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.