More ADN (Awk Defined Networking)
Want to know how many IPv4 nodes are in each of your VLANs? Use ADN:
ssh myswitch 'sh arp | i Vlan' | awk '{print $NF}' | sort | uniq -c | sort -rn
79 Vlan38
65 Vlan42
58 Vlan34
22 Vlan36
21 Vlan32
20 Vlan40
9 Vlan3
7 Vlan8
5 Vlan6
5 Vlan204
5 Vlan203
5 Vlan2
4 Vlan74
3 Vlan82
3 Vlan4
ssh myswitch 'sh arp | i Vlan' | awk '{print $NF}' | sort | uniq -c | sort -rn
79 Vlan38
65 Vlan42
58 Vlan34
22 Vlan36
21 Vlan32
20 Vlan40
9 Vlan3
7 Vlan8
5 Vlan6
5 Vlan204
5 Vlan203
5 Vlan2
4 Vlan74
3 Vlan82
3 Vlan4