projects
/
dell-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refresh just single switch with param
[dell-switch]
/
snmp-mac-port
diff --git
a/snmp-mac-port
b/snmp-mac-port
index
8ddf043
..
5ea2faf
100755
(executable)
--- a/
snmp-mac-port
+++ b/
snmp-mac-port
@@
-31,6
+31,12
@@
if [ ! -z "$1" ] ; then
fi
#( ls -d $log.last/* | sed 's/^.*\///' ; ./ips ) | sort -u | while read ip
+
+if [ ! -z "$1" ] ; then
+ snmp_walk $1
+fi
+
+
./sw-names | while read ip
do
echo "## $ip"