Projet

Général

Profil

L2 » Historique » Version 2

Laurent GUERBY, 16/12/2015 17:17

1 1 Laurent GUERBY
{{>toc}}
2 1 Laurent GUERBY
3 1 Laurent GUERBY
h1. L2
4 1 Laurent GUERBY
5 1 Laurent GUERBY
Decouvertes des MAC et de la topologie niveau 2
6 1 Laurent GUERBY
7 1 Laurent GUERBY
h2. Commandes
8 1 Laurent GUERBY
9 2 Laurent GUERBY
h3. ubnt
10 1 Laurent GUERBY
11 1 Laurent GUERBY
<pre>
12 1 Laurent GUERBY
brctl show
13 1 Laurent GUERBY
# => ordre des ports dans showmacs
14 1 Laurent GUERBY
brctl showmacs br0
15 1 Laurent GUERBY
# premiere colonne = numero du port
16 1 Laurent GUERBY
</pre>
17 1 Laurent GUERBY
18 2 Laurent GUERBY
h3. toughswitch
19 2 Laurent GUERBY
20 1 Laurent GUERBY
<pre>
21 1 Laurent GUERBY
/usr/www/mactable_data.cgi
22 1 Laurent GUERBY
...
23 1 Laurent GUERBY
"mac": "24:a4:3c:3d:ef:3b", "port": 6, "fid" : 1, "queue": 0, "is_static": 0,
24 1 Laurent GUERBY
</pre>
25 1 Laurent GUERBY
26 2 Laurent GUERBY
h3. ubnt misc
27 1 Laurent GUERBY
28 1 Laurent GUERBY
<pre>
29 1 Laurent GUERBY
date
30 1 Laurent GUERBY
/usr/www/ipscan.cgi
31 1 Laurent GUERBY
ping6 -q -c 1 ff02::1%br0 # remplir la table MAC
32 1 Laurent GUERBY
/usr/www/mactable_data.cgi
33 1 Laurent GUERBY
ip ne
34 1 Laurent GUERBY
ip -6 ne
35 1 Laurent GUERBY
iwlist ath0 peers
36 1 Laurent GUERBY
/usr/www/sta.cgi
37 1 Laurent GUERBY
/usr/www/status.cgi
38 1 Laurent GUERBY
ubntbox mca-status
39 1 Laurent GUERBY
athbox athstats
40 1 Laurent GUERBY
athbox 80211status
41 1 Laurent GUERBY
athbox radartool
42 1 Laurent GUERBY
cat /proc/net/arp
43 1 Laurent GUERBY
brctl show
44 1 Laurent GUERBY
brctl showmacs br0
45 1 Laurent GUERBY
cat /proc/net/dev
46 1 Laurent GUERBY
cat /tmp/running.cfg
47 1 Laurent GUERBY
</pre>
48 1 Laurent GUERBY
49 2 Laurent GUERBY
h3. mikrotik CRS226
50 1 Laurent GUERBY
51 1 Laurent GUERBY
<pre>
52 1 Laurent GUERBY
/interface ethernet switch unicast-fdb print
53 1 Laurent GUERBY
</pre>
54 1 Laurent GUERBY
55 2 Laurent GUERBY
h3. mikrotik RB750UP
56 2 Laurent GUERBY
57 1 Laurent GUERBY
<pre>
58 1 Laurent GUERBY
/interface ethernet switch host print
59 1 Laurent GUERBY
</pre>
60 1 Laurent GUERBY
61 2 Laurent GUERBY
h3. TP-Link SG3424
62 1 Laurent GUERBY
63 2 Laurent GUERBY
<pre>
64 2 Laurent GUERBY
show mac add add all
65 2 Laurent GUERBY
show mac add int gigabitEthernet 1/0/2
66 2 Laurent GUERBY
show mac add vlan 3131
67 2 Laurent GUERBY
</pre>
68 2 Laurent GUERBY
69 2 Laurent GUERBY
h3. S4810
70 2 Laurent GUERBY
71 2 Laurent GUERBY
<pre>
72 2 Laurent GUERBY
sh  mac-address-table dynamic
73 2 Laurent GUERBY
</pre>