Projet

Général

Profil

FTOS » Historique » Version 21

Laurent GUERBY, 01/02/2018 23:26

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 21 Laurent GUERBY
Au cas ou "no negotiation auto" peut aider (cas des SFP bidi alturna CISCO) :
242 21 Laurent GUERBY
243 21 Laurent GUERBY
<pre>
244 21 Laurent GUERBY
245 21 Laurent GUERBY
FTOS(conf-if-te-0/16)#negotiation ?
246 21 Laurent GUERBY
auto                	Perform link autonegotiation            
247 21 Laurent GUERBY
FTOS(conf-if-te-0/16)#speed ?     
248 21 Laurent GUERBY
10                  	10 Mbps                                 
249 21 Laurent GUERBY
100                 	100 Mbps                                
250 21 Laurent GUERBY
1000                	1000 Mbps                               
251 21 Laurent GUERBY
10000               	10000 Mbps                              
252 21 Laurent GUERBY
auto                	Auto negotiation (default)   
253 21 Laurent GUERBY
</pre>
254 21 Laurent GUERBY
255 3 Mehdi Abaakouk
Creation des vlans
256 3 Mehdi Abaakouk
<pre>
257 3 Mehdi Abaakouk
int vlan 3131
258 3 Mehdi Abaakouk
no shut
259 1 Laurent GUERBY
260 3 Mehdi Abaakouk
int vlan 3175
261 4 Mehdi Abaakouk
ip address 192.168.3.48/24
262 3 Mehdi Abaakouk
no shut
263 3 Mehdi Abaakouk
264 14 Mehdi Abaakouk
265 3 Mehdi Abaakouk
int vlan 3195
266 3 Mehdi Abaakouk
no shut
267 3 Mehdi Abaakouk
268 3 Mehdi Abaakouk
int vlan 174
269 3 Mehdi Abaakouk
no shut
270 3 Mehdi Abaakouk
</pre>
271 3 Mehdi Abaakouk
272 14 Mehdi Abaakouk
273 3 Mehdi Abaakouk
Ajout des ports au vlan
274 3 Mehdi Abaakouk
<pre>
275 3 Mehdi Abaakouk
int vlan 3131
276 3 Mehdi Abaakouk
tagged tengigabitethernet 0/1
277 3 Mehdi Abaakouk
tagged tengigabitethernet 0/5
278 3 Mehdi Abaakouk
tagged tengigabitethernet 0/7
279 3 Mehdi Abaakouk
tagged tengigabitethernet 0/9
280 3 Mehdi Abaakouk
281 10 Mehdi Abaakouk
int vlan 3132
282 10 Mehdi Abaakouk
tagged tengigabitethernet 0/1
283 10 Mehdi Abaakouk
tagged tengigabitethernet 0/5
284 10 Mehdi Abaakouk
tagged tengigabitethernet 0/7
285 10 Mehdi Abaakouk
tagged tengigabitethernet 0/9
286 10 Mehdi Abaakouk
287 3 Mehdi Abaakouk
int vlan 3175
288 3 Mehdi Abaakouk
tagged tengigabitethernet 0/1
289 3 Mehdi Abaakouk
tagged tengigabitethernet 0/5
290 3 Mehdi Abaakouk
tagged tengigabitethernet 0/7
291 3 Mehdi Abaakouk
tagged tengigabitethernet 0/9
292 3 Mehdi Abaakouk
293 3 Mehdi Abaakouk
int vlan 3199
294 3 Mehdi Abaakouk
tagged tengigabitethernet 0/1
295 3 Mehdi Abaakouk
tagged tengigabitethernet 0/5
296 3 Mehdi Abaakouk
tagged tengigabitethernet 0/7
297 3 Mehdi Abaakouk
tagged tengigabitethernet 0/9
298 15 Laurent GUERBY
299 15 Laurent GUERBY
300 15 Laurent GUERBY
</pre>
301 15 Laurent GUERBY
302 15 Laurent GUERBY
Pour le TouIX untagged 4031
303 15 Laurent GUERBY
304 15 Laurent GUERBY
<pre>
305 15 Laurent GUERBY
FTOS>enable
306 15 Laurent GUERBY
FTOS#conf
307 15 Laurent GUERBY
FTOS(conf)#int vlan 4031
308 15 Laurent GUERBY
FTOS(conf-if-vl-4031)#no shut
309 15 Laurent GUERBY
FTOS(conf-if-vl-4031)#description TouIX
310 15 Laurent GUERBY
FTOS(conf-if-vl-4031)#untagged tengigabitethernet 0/35
311 15 Laurent GUERBY
FTOS(conf-if-vl-4031)#exit
312 15 Laurent GUERBY
FTOS(conf)#wr
313 3 Mehdi Abaakouk
</pre>
314 5 Mehdi Abaakouk
315 5 Mehdi Abaakouk
Detruire un vlan
316 5 Mehdi Abaakouk
<pre>
317 5 Mehdi Abaakouk
no int vlan2
318 5 Mehdi Abaakouk
</pre>
319 5 Mehdi Abaakouk
320 5 Mehdi Abaakouk
Enlever un port d'un vlan
321 5 Mehdi Abaakouk
<pre>
322 5 Mehdi Abaakouk
323 5 Mehdi Abaakouk
int vlan 2
324 5 Mehdi Abaakouk
no tagged tengigabitethernet 0/1
325 5 Mehdi Abaakouk
</pre>
326 9 Mehdi Abaakouk
327 14 Mehdi Abaakouk
Configuration routage
328 14 Mehdi Abaakouk
<pre>
329 14 Mehdi Abaakouk
ip route 0.0.0.0/0 192.168.3.47
330 14 Mehdi Abaakouk
</pre>
331 14 Mehdi Abaakouk
332 14 Mehdi Abaakouk
Configuration du logging
333 14 Mehdi Abaakouk
<pre>
334 14 Mehdi Abaakouk
logging 91.224.149.152
335 14 Mehdi Abaakouk
</pre>
336 9 Mehdi Abaakouk
337 9 Mehdi Abaakouk
Fabrication port bonding
338 9 Mehdi Abaakouk
339 9 Mehdi Abaakouk
<pre>
340 9 Mehdi Abaakouk
- enable
341 9 Mehdi Abaakouk
- conf
342 9 Mehdi Abaakouk
- int tengigabitethernet 0/46
343 9 Mehdi Abaakouk
- port-channel-protocol lacp
344 9 Mehdi Abaakouk
- port-channel 10 mode active
345 9 Mehdi Abaakouk
- no shut
346 9 Mehdi Abaakouk
347 9 Mehdi Abaakouk
- int tengigabitethernet 0/47
348 9 Mehdi Abaakouk
- port-channel-protocol lacp
349 9 Mehdi Abaakouk
- port-channel 10 mode active
350 9 Mehdi Abaakouk
- no shut
351 9 Mehdi Abaakouk
- exit
352 9 Mehdi Abaakouk
353 9 Mehdi Abaakouk
- int port-channel 10
354 9 Mehdi Abaakouk
- sw
355 9 Mehdi Abaakouk
- no shut
356 9 Mehdi Abaakouk
- end
357 9 Mehdi Abaakouk
- wr
358 13 Laurent GUERBY
</pre>
359 13 Laurent GUERBY
360 13 Laurent GUERBY
tcpdump
361 13 Laurent GUERBY
<pre>
362 13 Laurent GUERBY
FTOS#tcpdump cp packet-count 10
363 13 Laurent GUERBY
% Copy operation not allowed until the TCP dump completes %
364 13 Laurent GUERBY
FTOS#dir flash:/TCP_DUMP_DIR/Tcpdump_141014021344/ 
365 9 Mehdi Abaakouk
</pre>