通过tcpdump获取交换机信息shell脚本 #/bin/sh PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin" url='http://xxx.xxxx.com/plugin/host/update-field/?api_key=24e718014ff2a464c1015f64c6b65dbb' #eth0_ip=`ip addr |awk '/inet/&&......