From 054d881364bd0f7e9aebba8ee01582cc0acfd320 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 11 Apr 2018 16:12:01 +0200 Subject: [PATCH] get switch arp table --- snmp-arp.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 snmp-arp.sh diff --git a/snmp-arp.sh b/snmp-arp.sh new file mode 100755 index 0000000..b81b447 --- /dev/null +++ b/snmp-arp.sh @@ -0,0 +1,2 @@ +. ./snmp.conf +snmpwalk -v2c -Cc -c $COMMUNITY $1 1.3.6.1.2.1.4.22 # (ipNetToMediaTable) -- 2.20.1