4/10/2018

Arista EOS: CLI to predict egress LAG/ECMP interface

This is a very useful command when troubleshooting packet loss in an ECMP link. A refresh post of an old post. 

arista.EOS.7050SX#sh ip route 22.0.2.91
 B E    22.0.2.0/24 [200/0] via 210.100.21.0, Ethernet11/1
                            via 210.100.22.0, Ethernet21/1
                            via 210.100.21.12, Vlan3304
                            via 210.100.21.14, Vlan3305
                            via 210.100.21.16, Vlan3306
                            via 210.100.22.12, Vlan3404
                            via 210.100.22.14, Vlan3405
                            via 210.100.22.16, Vlan3406
                            via 210.100.21.2, Port-Channel1931
                            via 210.100.21.4, Port-Channel1932
                            via 210.100.22.2, Port-Channel1941
                            via 210.100.22.4, Port-Channel1942
                            via 210.100.21.6, Ethernet12/1.3301
                            via 210.100.21.8, Port-Channel1933.3302
                            via 210.100.21.10, Port-Channel1934.3303
                            via 210.100.22.6, Ethernet22/1.3401
                            via 210.100.22.8, Port-Channel1943.3402
                            via 210.100.22.10, Port-Channel1944.3403

arista.EOS.7050SX#sh load-balance destination ip ingress-interface ethernet 36 src-ipv4-addr 20.0.1.100 dst-ipv4-addr 22.0.2.91 ip-protocol 9
Output Interface: Port-Channel1934.3303

arista.EOS.7050SX#sh load-balance destination ip ingress-interface ethernet 36 src-ipv4-addr 20.0.1.100 dst-ipv4-addr 22.0.2.91 ip-protocol 1
Output Interface: Port-Channel1941


show load-balance destination port-channel portchannel [ingress-interface intf] [src-mac srcmac] [dst-mac dstmac] [eth-type ethtype] [src-ip-address src-ip] [dst-ip-address dst-ip] [ip-ttl ttl] [flow-label fl] [ip-protocol proto] [src-l4-port src-port] [dst-l4-port dst-port]  [vlan vlan] [non-unicast]

No comments:

Post a Comment