Changeset 5
- Timestamp:
- Jan 14, 2008, 4:23:21 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r4 r5 1072 1072 1073 1073 klask updatedb 1074 klask exportdf 1074 klask exportdb 1075 1076 klask updatesw 1077 klask exportsw --format [txt|dot] 1075 1078 1076 1079 klask searchdb computer … … 1120 1123 1121 1124 1125 =head2 updatesw 1126 1127 This command build a map of your manageable switch on your network. The list of the switch must be given in the file /etc/klask.conf. 1128 1129 1130 =head2 exportsw --format [txt|dot] 1131 1132 This command print the content of the switch database. There is actually two format. One is just txt for terminal and the other is the dot format from the graphviz environnement. 1133 1134 klask exportsw --format dot > /tmp/map.dot 1135 dot -Tpng /tmp/map.dot > /tmp/map.png 1136 1137 1138 1122 1139 =head1 CONFIGURATION 1123 1140 … … 1131 1148 1132 1149 network: 1133 - add: 192.168.1.0/24 1134 - add: 192.168.2.0/24 1150 labnet: 1151 ip-subnet: 1152 - add: 192.168.1.0/24 1153 - add: 192.168.2.0/24 1154 interface: eth0 1155 main-router: gw1.labnet.local 1156 1157 schoolnet: 1158 ip-subnet: 1159 - add: 192.168.6.0/24 1160 - add: 192.168.7.0/24 1161 interface: eth0.38 1162 main-router: gw2.schoolnet.local 1135 1163 1136 1164 switch: … … 1141 1169 1142 1170 - hostname: sw2.klask.local 1171 location: BatK / 2 / K203 1172 type: HP2424 1143 1173 portignore: 1144 1174 - 1 … … 1161 1191 =head1 VERSION 1162 1192 1163 0. 21193 0.4 1164 1194 1165 1195 1166 1196 =head1 AUTHOR 1167 1197 1168 Written by Gabriel Moreau 1198 Written by Gabriel Moreau, Grenoble - France 1169 1199 1170 1200 1171 1201 =head1 COPYRIGHT 1172 1202 1173 Copyright (C) 2005 Gabriel Moreau.1203 Copyright (C) 2005-2008 Gabriel Moreau. 1174 1204 1175 1205
Note: See TracChangeset
for help on using the changeset viewer.