Projet

Général

Profil

FTOS » Historique » Version 20

Laurent GUERBY, 05/01/2018 15:59

1 1 Laurent GUERBY
{{>toc}}
2 1 Laurent GUERBY
3 1 Laurent GUERBY
h1. FTOS
4 1 Laurent GUERBY
5 1 Laurent GUERBY
Dell/Force10 S4810 48 ports 10G SFP+ + 4 ports 40G
6 1 Laurent GUERBY
supporte cumulus http://cumulusnetworks.com/static/cumulus/pdf/Cumulus_Networks_Dell_Datasheet.pdf
7 1 Laurent GUERBY
http://cumulusnetworks.com/
8 1 Laurent GUERBY
9 13 Laurent GUERBY
* ssh keys
10 13 Laurent GUERBY
http://www.force10networks.com/CSPortal20/TechTips/0006_RSA-SSH.aspx
11 13 Laurent GUERBY
12 20 Laurent GUERBY
https://www.dell.com/support/article/fr/fr/frbsdt1/how10657/how-to-manage-the-qsfp-ports-on-a-force10-s4810-switch?lang=en
13 20 Laurent GUERBY
14 1 Laurent GUERBY
h2. Commandes
15 1 Laurent GUERBY
16 2 Laurent GUERBY
screen -m -c /dev/null /dev/ttyUSB0 9600 8n1
17 2 Laurent GUERBY
18 1 Laurent GUERBY
dir 
19 1 Laurent GUERBY
delete flash://startup-config 
20 1 Laurent GUERBY
reload 
21 1 Laurent GUERBY
no 
22 1 Laurent GUERBY
yes
23 1 Laurent GUERBY
24 1 Laurent GUERBY
25 1 Laurent GUERBY
en exec 
26 1 Laurent GUERBY
stop jumpstart
27 1 Laurent GUERBY
wr 
28 1 Laurent GUERBY
29 1 Laurent GUERBY
username force10 password force10 
30 1 Laurent GUERBY
enable password force10 
31 1 Laurent GUERBY
wr
32 1 Laurent GUERBY
33 1 Laurent GUERBY
portmod hybrid 
34 1 Laurent GUERBY
switchport
35 1 Laurent GUERBY
int vl 2
36 1 Laurent GUERBY
unttagged t0/23
37 1 Laurent GUERBY
int vl 3
38 1 Laurent GUERBY
tagged t0/23
39 1 Laurent GUERBY
40 1 Laurent GUERBY
41 1 Laurent GUERBY
show vlan 
42 1 Laurent GUERBY
43 1 Laurent GUERBY
stack-unit 1 renumber 0 
44 1 Laurent GUERBY
no 
45 1 Laurent GUERBY
yes
46 1 Laurent GUERBY
47 1 Laurent GUERBY
show inventory media 
48 1 Laurent GUERBY
49 4 Mehdi Abaakouk
ip ssh server enable
50 3 Mehdi Abaakouk
51 12 Laurent GUERBY
show mac-address-table dynamic
52 1 Laurent GUERBY
show mac-address-table dynamic vlan 3132
53 16 Laurent GUERBY
54 16 Laurent GUERBY
55 1 Laurent GUERBY
<pre>
56 19 Laurent GUERBY
show interface tengigabitethernet 0/47 transceiver
57 16 Laurent GUERBY
...
58 16 Laurent GUERBY
SFP+ 47 Temperature                      = 41.902C
59 16 Laurent GUERBY
SFP+ 47 Voltage                          = 3.287V
60 16 Laurent GUERBY
SFP+ 47 Tx Bias Current                  = 34.012mA
61 16 Laurent GUERBY
SFP+ 47 Tx Power                         = 0.519mW
62 16 Laurent GUERBY
SFP+ 47 Rx Power                         = 0.451mW
63 18 Laurent GUERBY
</pre>
64 16 Laurent GUERBY
65 18 Laurent GUERBY
<pre>
66 18 Laurent GUERBY
FTOS#sh int status
67 18 Laurent GUERBY
Port     Description  Status Speed     Duplex Vlan  
68 18 Laurent GUERBY
Te 0/0                Down   Auto      Auto   1,3131,3175,3199
69 18 Laurent GUERBY
Te 0/1                Up     10000 Mbit Full   1,20,128,666,3118,3131,3175,3199
70 18 Laurent GUERBY
Te 0/2                Up     10000 Mbit Full   3188
71 18 Laurent GUERBY
Te 0/3                Down   Auto      Auto   3188
72 18 Laurent GUERBY
Te 0/4                Up     10000 Mbit Full   3188
73 18 Laurent GUERBY
Te 0/5                Up     10000 Mbit Full   3188
74 18 Laurent GUERBY
Te 0/6                Down   Auto      Auto   3188
75 18 Laurent GUERBY
Te 0/7                Up     10000 Mbit Full   3188
76 18 Laurent GUERBY
Te 0/8                Up     10000 Mbit Full   3188
77 18 Laurent GUERBY
Te 0/9                Up     10000 Mbit Full   3188
78 18 Laurent GUERBY
Te 0/10               Down   Auto      Auto   3188
79 18 Laurent GUERBY
Te 0/11               Down   Auto      Auto   3188
80 18 Laurent GUERBY
Te 0/12               Up     10000 Mbit Full   1,3131-3132,3175,3199
81 18 Laurent GUERBY
Te 0/13               Up     10000 Mbit Full   1,3131-3132,3175,3199
82 18 Laurent GUERBY
Te 0/14               Up     10000 Mbit Full   1,3131-3132,3175,3199
83 18 Laurent GUERBY
Te 0/15               Up     10000 Mbit Full   1,3131-3132,3175,3199
84 18 Laurent GUERBY
Te 0/16               Down   Auto      Auto   1,3131-3132,3175,3199
85 18 Laurent GUERBY
Te 0/17               Up     10000 Mbit Full   1,3131-3132,3175,3199
86 18 Laurent GUERBY
Te 0/18               Up     10000 Mbit Full   1,3131-3132,3175,3199
87 18 Laurent GUERBY
Te 0/19               Down   Auto      Auto   1,3131-3132,3175,3199
88 18 Laurent GUERBY
Te 0/20               Up     10000 Mbit Full   1,3131-3132,3175,3199
89 18 Laurent GUERBY
Te 0/21               Up     10000 Mbit Full   1,3131-3132,3175,3199
90 18 Laurent GUERBY
...
91 16 Laurent GUERBY
</pre>
92 18 Laurent GUERBY
93 18 Laurent GUERBY
<pre>
94 18 Laurent GUERBY
FTOS#sh interfaces switchport tengigabitethernet 0
95 18 Laurent GUERBY
96 18 Laurent GUERBY
Codes:  U - Untagged, T - Tagged
97 18 Laurent GUERBY
        x - Dot1x untagged, X - Dot1x tagged
98 18 Laurent GUERBY
        G - GVRP tagged, M - Trunk, H - VSN tagged
99 18 Laurent GUERBY
        i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged
100 18 Laurent GUERBY
101 18 Laurent GUERBY
Name: TenGigabitEthernet 0/0
102 18 Laurent GUERBY
802.1QTagged: Hybrid
103 18 Laurent GUERBY
Vlan membership:
104 18 Laurent GUERBY
Q       Vlans
105 18 Laurent GUERBY
U       1
106 18 Laurent GUERBY
T       3131,3175,3199
107 18 Laurent GUERBY
108 18 Laurent GUERBY
Native VlanId:    1.
109 18 Laurent GUERBY
110 18 Laurent GUERBY
111 18 Laurent GUERBY
112 18 Laurent GUERBY
Name: TenGigabitEthernet 0/1
113 18 Laurent GUERBY
802.1QTagged: Hybrid
114 18 Laurent GUERBY
Vlan membership:
115 18 Laurent GUERBY
Q       Vlans
116 18 Laurent GUERBY
U       1
117 18 Laurent GUERBY
T       20,128,666,3118,3131,3175,3199
118 18 Laurent GUERBY
        
119 18 Laurent GUERBY
Native VlanId:    1.
120 18 Laurent GUERBY
        
121 18 Laurent GUERBY
122 18 Laurent GUERBY
        
123 18 Laurent GUERBY
Name: TenGigabitEthernet 0/2
124 18 Laurent GUERBY
802.1QTagged: Hybrid
125 18 Laurent GUERBY
Vlan membership:
126 18 Laurent GUERBY
Q       Vlans
127 18 Laurent GUERBY
U       3188
128 18 Laurent GUERBY
        
129 18 Laurent GUERBY
Native VlanId:    3188.
130 18 Laurent GUERBY
...
131 18 Laurent GUERBY
</pre>
132 18 Laurent GUERBY
133 18 Laurent GUERBY
<pre>
134 18 Laurent GUERBY
FTOS#sh interfaces tengigabitethernet 0           
135 18 Laurent GUERBY
TenGigabitEthernet 0/0 is up, line protocol is down
136 18 Laurent GUERBY
Hardware is DellForce10Eth, address is 00:01:e8:8b:4f:cf
137 18 Laurent GUERBY
    Current address is 00:01:e8:8b:4f:cf
138 18 Laurent GUERBY
Pluggable media not present
139 18 Laurent GUERBY
Interface index is 33883138
140 18 Laurent GUERBY
Internet address is not set
141 18 Laurent GUERBY
MTU 1554 bytes, IP MTU 1500 bytes
142 18 Laurent GUERBY
LineSpeed auto
143 18 Laurent GUERBY
Flowcontrol rx on tx off
144 18 Laurent GUERBY
ARP type: ARPA, ARP Timeout 04:00:00
145 18 Laurent GUERBY
Last clearing of "show interface" counters 80w0d1h
146 18 Laurent GUERBY
Queueing strategy: fifo
147 18 Laurent GUERBY
Input Statistics:
148 18 Laurent GUERBY
     0 packets, 0 bytes
149 18 Laurent GUERBY
     0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
150 18 Laurent GUERBY
     0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
151 18 Laurent GUERBY
     0 Multicasts, 0 Broadcasts
152 18 Laurent GUERBY
     0 runts, 0 giants, 0 throttles
153 18 Laurent GUERBY
     0 CRC, 0 overrun, 0 discarded
154 18 Laurent GUERBY
Output Statistics:
155 18 Laurent GUERBY
     0 packets, 0 bytes, 0 underruns
156 18 Laurent GUERBY
     0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
157 18 Laurent GUERBY
     0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
158 18 Laurent GUERBY
     0 Multicasts, 0 Broadcasts, 0 Unicasts
159 18 Laurent GUERBY
     0 throttles, 0 discarded, 0 collisions, 0 wreddrops
160 18 Laurent GUERBY
Rate info (interval 299 seconds):
161 18 Laurent GUERBY
     Input 00.00 Mbits/sec,          0 packets/sec, 0.00% of line-rate
162 18 Laurent GUERBY
     Output 00.00 Mbits/sec,          0 packets/sec, 0.00% of line-rate
163 18 Laurent GUERBY
Time since last interface status change: 80w0d1h
164 18 Laurent GUERBY
165 18 Laurent GUERBY
        
166 18 Laurent GUERBY
TenGigabitEthernet 0/1 is up, line protocol is up
167 18 Laurent GUERBY
Hardware is DellForce10Eth, address is 00:01:e8:8b:4f:cf
168 18 Laurent GUERBY
    Current address is 00:01:e8:8b:4f:cf
169 18 Laurent GUERBY
Pluggable media present, SFP+ type is 10GBASE-CU5M
170 18 Laurent GUERBY
    Medium is Twinax Copper
171 18 Laurent GUERBY
Interface index is 34145282
172 18 Laurent GUERBY
Internet address is not set
173 18 Laurent GUERBY
MTU 1554 bytes, IP MTU 1500 bytes
174 18 Laurent GUERBY
LineSpeed 10000 Mbit
175 18 Laurent GUERBY
Flowcontrol rx on tx off
176 18 Laurent GUERBY
ARP type: ARPA, ARP Timeout 04:00:00
177 18 Laurent GUERBY
Last clearing of "show interface" counters 80w0d1h
178 18 Laurent GUERBY
Queueing strategy: fifo
179 18 Laurent GUERBY
Input Statistics:
180 18 Laurent GUERBY
     77846344701 packets, 33998273797981 bytes
181 18 Laurent GUERBY
     4710063270 64-byte pkts, 40824319413 over 64-byte pkts, 9871182555 over 127-byte pkts
182 18 Laurent GUERBY
     3982474520 over 255-byte pkts, 684219485 over 511-byte pkts, 17774085458 over 1023-byte pkts
183 18 Laurent GUERBY
     64436920 Multicasts, 108058987 Broadcasts
184 18 Laurent GUERBY
     0 runts, 0 giants, 0 throttles
185 18 Laurent GUERBY
     0 CRC, 0 overrun, 0 discarded
186 18 Laurent GUERBY
Output Statistics:
187 18 Laurent GUERBY
     100565862739 packets, 85221880135780 bytes, 0 underruns
188 18 Laurent GUERBY
     5520274128 64-byte pkts, 32394947465 over 64-byte pkts, 5238057644 over 127-byte pkts
189 18 Laurent GUERBY
     2670375206 over 255-byte pkts, 2001008247 over 511-byte pkts, 52741200049 over 1023-byte pkts
190 18 Laurent GUERBY
     300101222 Multicasts, 601777166 Broadcasts, 99663984351 Unicasts
191 18 Laurent GUERBY
     0 throttles, 0 discarded, 0 collisions, 0 wreddrops
192 18 Laurent GUERBY
Rate info (interval 299 seconds):
193 18 Laurent GUERBY
     Input 00.00 Mbits/sec,        217 packets/sec, 0.00% of line-rate
194 18 Laurent GUERBY
     Output 00.00 Mbits/sec,        237 packets/sec, 0.01% of line-rate
195 18 Laurent GUERBY
Time since last interface status change: 1w5d1h
196 18 Laurent GUERBY
...
197 18 Laurent GUERBY
</pre>
198 12 Laurent GUERBY
199 12 Laurent GUERBY
h2. Switch Openstack
200 3 Mehdi Abaakouk
201 3 Mehdi Abaakouk
202 3 Mehdi Abaakouk
On se logue
203 3 Mehdi Abaakouk
204 3 Mehdi Abaakouk
<pre>
205 3 Mehdi Abaakouk
enable password force10 
206 3 Mehdi Abaakouk
conf
207 3 Mehdi Abaakouk
</pre>
208 3 Mehdi Abaakouk
209 3 Mehdi Abaakouk
Preparation des ports
210 3 Mehdi Abaakouk
211 3 Mehdi Abaakouk
<pre>
212 7 Mehdi Abaakouk
int range tengigabitethernet 0/0 - 47
213 3 Mehdi Abaakouk
no switchport
214 3 Mehdi Abaakouk
portmod hybrid 
215 3 Mehdi Abaakouk
switchport
216 3 Mehdi Abaakouk
no shut
217 6 Mehdi Abaakouk
218 8 Mehdi Abaakouk
int range fortyGigE 0/48 - 60
219 8 Mehdi Abaakouk
no switchport
220 8 Mehdi Abaakouk
portmod hybrid 
221 8 Mehdi Abaakouk
switchport
222 8 Mehdi Abaakouk
no shut
223 8 Mehdi Abaakouk
224 6 Mehdi Abaakouk
# Pour le port uplink
225 6 Mehdi Abaakouk
int range tengigabitethernet 0/1
226 6 Mehdi Abaakouk
speed 1000
227 3 Mehdi Abaakouk
</pre>
228 3 Mehdi Abaakouk
229 11 Laurent GUERBY
Pour un seul port :
230 11 Laurent GUERBY
<pre>
231 11 Laurent GUERBY
enable
232 11 Laurent GUERBY
conf
233 11 Laurent GUERBY
int t0/10
234 11 Laurent GUERBY
speed 1000
235 11 Laurent GUERBY
exit
236 11 Laurent GUERBY
exit
237 11 Laurent GUERBY
wr
238 11 Laurent GUERBY
# ou do wr
239 11 Laurent GUERBY
</pre>
240 3 Mehdi Abaakouk
241 3 Mehdi Abaakouk
Creation des vlans
242 3 Mehdi Abaakouk
<pre>
243 3 Mehdi Abaakouk
int vlan 3131
244 3 Mehdi Abaakouk
no shut
245 1 Laurent GUERBY
246 3 Mehdi Abaakouk
int vlan 3175
247 4 Mehdi Abaakouk
ip address 192.168.3.48/24
248 3 Mehdi Abaakouk
no shut
249 3 Mehdi Abaakouk
250 14 Mehdi Abaakouk
251 3 Mehdi Abaakouk
int vlan 3195
252 3 Mehdi Abaakouk
no shut
253 3 Mehdi Abaakouk
254 3 Mehdi Abaakouk
int vlan 174
255 3 Mehdi Abaakouk
no shut
256 3 Mehdi Abaakouk
</pre>
257 3 Mehdi Abaakouk
258 14 Mehdi Abaakouk
259 3 Mehdi Abaakouk
Ajout des ports au vlan
260 3 Mehdi Abaakouk
<pre>
261 3 Mehdi Abaakouk
int vlan 3131
262 3 Mehdi Abaakouk
tagged tengigabitethernet 0/1
263 3 Mehdi Abaakouk
tagged tengigabitethernet 0/5
264 3 Mehdi Abaakouk
tagged tengigabitethernet 0/7
265 3 Mehdi Abaakouk
tagged tengigabitethernet 0/9
266 3 Mehdi Abaakouk
267 10 Mehdi Abaakouk
int vlan 3132
268 10 Mehdi Abaakouk
tagged tengigabitethernet 0/1
269 10 Mehdi Abaakouk
tagged tengigabitethernet 0/5
270 10 Mehdi Abaakouk
tagged tengigabitethernet 0/7
271 10 Mehdi Abaakouk
tagged tengigabitethernet 0/9
272 10 Mehdi Abaakouk
273 3 Mehdi Abaakouk
int vlan 3175
274 3 Mehdi Abaakouk
tagged tengigabitethernet 0/1
275 3 Mehdi Abaakouk
tagged tengigabitethernet 0/5
276 3 Mehdi Abaakouk
tagged tengigabitethernet 0/7
277 3 Mehdi Abaakouk
tagged tengigabitethernet 0/9
278 3 Mehdi Abaakouk
279 3 Mehdi Abaakouk
int vlan 3199
280 3 Mehdi Abaakouk
tagged tengigabitethernet 0/1
281 3 Mehdi Abaakouk
tagged tengigabitethernet 0/5
282 3 Mehdi Abaakouk
tagged tengigabitethernet 0/7
283 3 Mehdi Abaakouk
tagged tengigabitethernet 0/9
284 15 Laurent GUERBY
285 15 Laurent GUERBY
286 15 Laurent GUERBY
</pre>
287 15 Laurent GUERBY
288 15 Laurent GUERBY
Pour le TouIX untagged 4031
289 15 Laurent GUERBY
290 15 Laurent GUERBY
<pre>
291 15 Laurent GUERBY
FTOS>enable
292 15 Laurent GUERBY
FTOS#conf
293 15 Laurent GUERBY
FTOS(conf)#int vlan 4031
294 15 Laurent GUERBY
FTOS(conf-if-vl-4031)#no shut
295 15 Laurent GUERBY
FTOS(conf-if-vl-4031)#description TouIX
296 15 Laurent GUERBY
FTOS(conf-if-vl-4031)#untagged tengigabitethernet 0/35
297 15 Laurent GUERBY
FTOS(conf-if-vl-4031)#exit
298 15 Laurent GUERBY
FTOS(conf)#wr
299 3 Mehdi Abaakouk
</pre>
300 5 Mehdi Abaakouk
301 5 Mehdi Abaakouk
Detruire un vlan
302 5 Mehdi Abaakouk
<pre>
303 5 Mehdi Abaakouk
no int vlan2
304 5 Mehdi Abaakouk
</pre>
305 5 Mehdi Abaakouk
306 5 Mehdi Abaakouk
Enlever un port d'un vlan
307 5 Mehdi Abaakouk
<pre>
308 5 Mehdi Abaakouk
309 5 Mehdi Abaakouk
int vlan 2
310 5 Mehdi Abaakouk
no tagged tengigabitethernet 0/1
311 5 Mehdi Abaakouk
</pre>
312 9 Mehdi Abaakouk
313 14 Mehdi Abaakouk
Configuration routage
314 14 Mehdi Abaakouk
<pre>
315 14 Mehdi Abaakouk
ip route 0.0.0.0/0 192.168.3.47
316 14 Mehdi Abaakouk
</pre>
317 14 Mehdi Abaakouk
318 14 Mehdi Abaakouk
Configuration du logging
319 14 Mehdi Abaakouk
<pre>
320 14 Mehdi Abaakouk
logging 91.224.149.152
321 14 Mehdi Abaakouk
</pre>
322 9 Mehdi Abaakouk
323 9 Mehdi Abaakouk
Fabrication port bonding
324 9 Mehdi Abaakouk
325 9 Mehdi Abaakouk
<pre>
326 9 Mehdi Abaakouk
- enable
327 9 Mehdi Abaakouk
- conf
328 9 Mehdi Abaakouk
- int tengigabitethernet 0/46
329 9 Mehdi Abaakouk
- port-channel-protocol lacp
330 9 Mehdi Abaakouk
- port-channel 10 mode active
331 9 Mehdi Abaakouk
- no shut
332 9 Mehdi Abaakouk
333 9 Mehdi Abaakouk
- int tengigabitethernet 0/47
334 9 Mehdi Abaakouk
- port-channel-protocol lacp
335 9 Mehdi Abaakouk
- port-channel 10 mode active
336 9 Mehdi Abaakouk
- no shut
337 9 Mehdi Abaakouk
- exit
338 9 Mehdi Abaakouk
339 9 Mehdi Abaakouk
- int port-channel 10
340 9 Mehdi Abaakouk
- sw
341 9 Mehdi Abaakouk
- no shut
342 9 Mehdi Abaakouk
- end
343 9 Mehdi Abaakouk
- wr
344 13 Laurent GUERBY
</pre>
345 13 Laurent GUERBY
346 13 Laurent GUERBY
tcpdump
347 13 Laurent GUERBY
<pre>
348 13 Laurent GUERBY
FTOS#tcpdump cp packet-count 10
349 13 Laurent GUERBY
% Copy operation not allowed until the TCP dump completes %
350 13 Laurent GUERBY
FTOS#dir flash:/TCP_DUMP_DIR/Tcpdump_141014021344/ 
351 9 Mehdi Abaakouk
</pre>