projects
/
dell-switch
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
filter log/ filenames into sw.command
[dell-switch]
/
snmp-arp.sh
1
#!/bin/sh -xe
2
3
. ./snmp.conf
4
5
log=/dev/shm/snmp-mac
6
test -d $log || mkdir $log
7
8
# (ipNetToMediaTable)
9
snmpbulkwalk -v2c -Cc -c $COMMUNITY $1 1.3.6.1.2.1.4.22 | tee $log/$1