Administrator Guide
show port-channel-flow
Display an egress port in a given port-channel flow.
Syntax
show port-channel-flow port-channel number incoming-interface interface
{ src-mac address dest-mac address {vlan vlanid | ether-type }} [ src-ip
address dest-ip address ] [ src-port number dest-port number ]
Parameters
port-channel
number
Enter the keywords port-channel then the number of the port channel to
display flow information. The range is from 1 to 128.
incoming-
interface
interface
Enter the keywords incoming-interface then the interface type and slot/port
or number information:
● For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
src-mac
address
Enter the keywords src-mac then the MAC source address in the
nn:nn:nn:nn:nn:nn format.
dest-mac
address
Enter the keywords dest-mac then the MAC destination address in the
nn:nn:nn:nn:nn:nn format.
vlan
vlan-id
Enter the keyword vlan then the VLAN ID. The range is from 1 to 4094.
ether-type Enter the keywords ether-type then the ether-value in the XX:XX format.
src-ip
address
Enter the keywords src-ip then the IP source address in IP address format.
dest-ip
address
Enter the keywords dest-ip then the IP destination address in IP address format.
src-port
number
Enter the keywords src-port then the source port number. The range is from 1
to 65536. The default is None.
dest-port
number
Enter the keywords dest-port then the destination port number. The range is
from 1 to 65536. The default is None.
Command Modes EXEC
Supported Modes All Modes
Command
History
Version Description
9.4(0.0) Supported on the FN I/O Aggregator.
8.3.17.0 Supported on the M I/O Aggregator.
Usage
Information
Because 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 you are trying to display a Layer 3 flow.
The output displays three entries:
● Egress port for unfragmented packets.
● In the event of fragmented packets, the egress port of the first fragment.
● In the event of fragmented packets, the egress port of the subsequent fragments.
NOTE: In the show port-channel–flow command output, the egress port for an unknown
unicast, multicast, or broadcast traffic is not displayed.
228 Link Aggregation Control Protocol (LACP)