projects
/
dell-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e5818
)
refresh just single switch with param
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 16 Mar 2022 09:07:07 +0000
(10:07 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 20 Mar 2022 11:21:08 +0000
(12:21 +0100)
snmp-mac-port
patch
|
blob
|
history
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"