Projet

Général

Profil

L2 » Historique » Version 3

Laurent GUERBY, 16/12/2015 17:19

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 3 Laurent GUERBY
h3. ubnt antenna
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 3 Laurent GUERBY
/usr/www/sta.cgi
17 3 Laurent GUERBY
# sur sta donne la MAC de l'AP
18 3 Laurent GUERBY
# sur AP donne la MAC des STA
19 1 Laurent GUERBY
</pre>
20 1 Laurent GUERBY
21 2 Laurent GUERBY
h3. toughswitch
22 2 Laurent GUERBY
23 1 Laurent GUERBY
<pre>
24 1 Laurent GUERBY
/usr/www/mactable_data.cgi
25 1 Laurent GUERBY
...
26 1 Laurent GUERBY
"mac": "24:a4:3c:3d:ef:3b", "port": 6, "fid" : 1, "queue": 0, "is_static": 0,
27 1 Laurent GUERBY
</pre>
28 1 Laurent GUERBY
29 2 Laurent GUERBY
h3. ubnt misc
30 1 Laurent GUERBY
31 1 Laurent GUERBY
<pre>
32 1 Laurent GUERBY
date
33 1 Laurent GUERBY
/usr/www/ipscan.cgi
34 1 Laurent GUERBY
ping6 -q -c 1 ff02::1%br0 # remplir la table MAC
35 1 Laurent GUERBY
/usr/www/mactable_data.cgi
36 1 Laurent GUERBY
ip ne
37 1 Laurent GUERBY
ip -6 ne
38 1 Laurent GUERBY
iwlist ath0 peers
39 1 Laurent GUERBY
/usr/www/sta.cgi
40 1 Laurent GUERBY
/usr/www/status.cgi
41 1 Laurent GUERBY
ubntbox mca-status
42 1 Laurent GUERBY
athbox athstats
43 1 Laurent GUERBY
athbox 80211status
44 1 Laurent GUERBY
athbox radartool
45 1 Laurent GUERBY
cat /proc/net/arp
46 1 Laurent GUERBY
brctl show
47 1 Laurent GUERBY
brctl showmacs br0
48 1 Laurent GUERBY
cat /proc/net/dev
49 1 Laurent GUERBY
cat /tmp/running.cfg
50 1 Laurent GUERBY
</pre>
51 1 Laurent GUERBY
52 2 Laurent GUERBY
h3. mikrotik CRS226
53 1 Laurent GUERBY
54 1 Laurent GUERBY
<pre>
55 1 Laurent GUERBY
/interface ethernet switch unicast-fdb print
56 1 Laurent GUERBY
</pre>
57 1 Laurent GUERBY
58 2 Laurent GUERBY
h3. mikrotik RB750UP
59 2 Laurent GUERBY
60 1 Laurent GUERBY
<pre>
61 1 Laurent GUERBY
/interface ethernet switch host print
62 1 Laurent GUERBY
</pre>
63 1 Laurent GUERBY
64 2 Laurent GUERBY
h3. TP-Link SG3424
65 1 Laurent GUERBY
66 2 Laurent GUERBY
<pre>
67 2 Laurent GUERBY
show mac add add all
68 2 Laurent GUERBY
show mac add int gigabitEthernet 1/0/2
69 2 Laurent GUERBY
show mac add vlan 3131
70 2 Laurent GUERBY
</pre>
71 2 Laurent GUERBY
72 2 Laurent GUERBY
h3. S4810
73 2 Laurent GUERBY
74 2 Laurent GUERBY
<pre>
75 2 Laurent GUERBY
sh  mac-address-table dynamic
76 2 Laurent GUERBY
</pre>