Changeset 307 for trunk/klask
- Timestamp:
- Oct 19, 2017, 8:11:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r306 r307 1122 1122 1123 1123 klask updatesw [--verbose|-v] 1124 klask exportsw [--format|-f txt|dot] 1124 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] 1125 1125 1126 1126 klask searchdb [--kind|-k host|mac] computer [mac-address] … … 3058 3058 3059 3059 klask updatesw [--verbose|-v] 3060 klask exportsw [--format|-f txt|dot] 3060 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] 3061 3061 3062 3062 klask searchdb [--kind|-k host|mac] computer [mac-address] … … 3232 3232 =head2 exportsw 3233 3233 3234 klask exportsw [--format|-f txt|dot] 3234 klask exportsw [--format|-f txt|dot] [--modulo|-m XX] [--shift|-s YY] 3235 3235 3236 3236 This command print the content of the switch database. There is actually two format. … … 3241 3241 dot -Tpng /tmp/map.dot > /tmp/map.png 3242 3242 3243 In case you have too many switch connected on one switch, 3244 the graphviz result graph could be too much vertical. 3245 With C<--modulo> > 0, you can specify how many switches (connected on one switch) are on the same columns 3246 before shifting them to one column to the left and back again. 3247 The C<--shift> parameter must be 1, 2 or 3. 3248 With C<--shift> egual to 2, the shift will be to two column to the left. 3249 With 3, it will be 1 to the left and 2 to the left one time over two ! 3250 In practise, we just add virtuals nodes in the dot file, 3251 that means the result graph is generated with theses virtuals but invisibles nodes... 3243 3252 3244 3253 =head2 ip-free
Note: See TracChangeset
for help on using the changeset viewer.