show hashdest

Use this command to predict how packets are forwarded over a LAG (Link Aggregation Group) or to the next hop device when ECMP (Equal Cost Multi Paths) is the destination. Given the link aggregation method, ingress physical port and values of various packet fields, this command predicts an egress physical port within the LAG or ECMP for the packet.

Format show hashdest {lag lag-id | ecmp prefix/prefix-length} in_port unit/slot/port src-mac macaddr dst-mac macaddr [vlan vlan-id] ethertype 0xXXXX [src-ip {ipv4-addr | ipv6-addr} dst-ip {ipv4-addr | ipv6-addr} protocol pid src-l4-port port-num dst-l4-port port-num]
Mode Privileged EXEC
Parameter Definition
lag The LAG group for which to display the egress physical port.
ecmp The IP address of the EMC_ group for which to display the egress physical port.
in_port The incoming physical port for the system.
src-mac The source MAC address.
dst-mac The destination MAC address.
vlan The VLAN ID for VLAN-tagged packets. Do not use this parameter or enter 0 for non-VLAN-tagged packets.
ethertype The 16-bit EtherType value, in the form 0xXXXX. For layer 3 packets, hash prediction is only available for IPv4 (0x0800) and IPv6 (0x86DD).
src-ip The source IP address, entered as x.x.x.x for IPv4 or x:x:x:x:x:x:x:x for IPv6 packets.
dst-ip The destination IP address, entered as x.x.x.x for IPv4 or x:x:x:x:x:x:x:x for IPv6 packets.
protocol The protocol ID.
src-l4-port The layer 4 source port.
dst-l4-port The layer 4 destination port.

Layer 2 VLAN tagged packet forwarded to a LAG

(Extreme 220) (Routing) #show hashdest lag 1 in_port 0/3 src-mac 00:00:20:21:AE:8A dst-mac 00:10:18:99:F7:4E vlan 10 ethertype 0x8870
LAG            Destination Port
-----------     ----------------
1                  0/29

Layer 2 non-VLAN tagged packet forwarded to a LAG

(Extreme 220) (Routing) #show hashdest lag 1 in_port 0/3 src-mac 00:00:20:21:AE:8A dst-mac 00:10:18:99:F7:4E ethertype 0x8870
LAG           Destination Port
-----------     ----------------
1	        0/31

Non-VLAN tagged IPv4 UDP packet forwarded to a LAG

(Extreme 220) (Routing) #show hashdest lag 1 in_port 0/3 src-mac 00:00:20:21:AE:8A dst-mac 00:10:18:99:F7:4E ethertype 0x0800 src-ip 7.0.0.2 dst-ip 3.0.0.2 protocol 17 src-l4-port 63 dst-l4-port 64
LAG            Destination Port
-----------     ----------------
1                  0/32

VLAN tagged IPv4 TCP packet forwarded to a LAG

(Extreme 220) (Routing) #show hashdest lag 1 in_port 0/3 src-mac 00:00:20:21:AE:8A dst-mac 00:10:18:99:F7:4E vlan 10 ethertype 0x0800 src-ip 7.0.0.2 dst-ip 3.0.0.2 protocol 6 src-l4-port 67 dst-l4-port 68
LAG           Destination Port
-----------     ----------------
1                 0/31

Non-VLAN tagged IPv4 UDP packet forwarded to an ECMP group

(Extreme 220) (Routing) #show hashdest ecmp  10.0.0.2/16 in_port 0/3 src-mac 00:00:20:21:AE:8A dst-mac 00:10:18:99:F7:4E vlan 0 ethertype 0x0800 src-ip 7.0.0.2 dst-ip 3.0.0.2 protocol 17 src-l4-port 63 dst-l4-port 64
Egress Port
----------------------------
30.0.0.2 on interface 0/31

VLAN tagged IPv4 TCP packet forwarded to an ECMP group

(Extreme 220) (Routing) #show hashdest ecmp 10.0.0.2/16 in_port 0/3 src-mac 00:00:20:21:AE:8A dst-mac 00:10:18:99:F7:4E vlan 10 ethertype 0x0800 src-ip 7.0.0.2 dst-ip 3.0.0.2 protocol 6 src-l4-port 67 dst-l4-port 68
Egress Port
-----------
0/29

Non-VLAN tagged IPv6 UDP packet forwarded to an ECMP group

(Extreme 220) (Routing) #show hashdest ecmp 4001::200/64 in_port 0/3 src-mac 00:00:20:21:AE:8A dst-mac 00:10:18:99:F7:4E ethertype 0x86dd src-ip 7001:0:0:0:0:0:0:2 dst-ip 3001:0:0:0:0:0:0:2 protocol 17 src-l4-port 63 dst-l4-port 64
Egress Port
----------------------------
6001::200 on interface 0/31

Non-VLAN tagged IPv6 TCP packet forwarded to an ECMP group

(Extreme 220) (Routing) #show hashdest ecmp 6001::200/64 in_port 0/3 src-mac 00:00:20:21:AE:8A dst-mac 00:10:18:99:F7:4E ethertype 0x86dd src-ip 7001:0:0:0:0:0:0:2 dst-ip 3001:0:0:0:0:0:0:2 protocol 6 src-l4-port 67 dst-l4-port 68
Egress Port
----------------------------
8001::200 on interface 0/32