Project

General

Profile

L2 » History » Version 1

Laurent GUERBY, 12/16/2015 05:08 PM

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 1 Laurent GUERBY
Sur 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 1 Laurent GUERBY
Sur toughswitch :
19 1 Laurent GUERBY
<pre>
20 1 Laurent GUERBY
/usr/www/mactable_data.cgi
21 1 Laurent GUERBY
...
22 1 Laurent GUERBY
"mac": "24:a4:3c:3d:ef:3b", "port": 6, "fid" : 1, "queue": 0, "is_static": 0,
23 1 Laurent GUERBY
</pre>
24 1 Laurent GUERBY
25 1 Laurent GUERBY
Vrac :
26 1 Laurent GUERBY
27 1 Laurent GUERBY
<pre>
28 1 Laurent GUERBY
date
29 1 Laurent GUERBY
/usr/www/ipscan.cgi
30 1 Laurent GUERBY
ping6 -q -c 1 ff02::1%br0 # remplir la table MAC
31 1 Laurent GUERBY
/usr/www/mactable_data.cgi
32 1 Laurent GUERBY
ip ne
33 1 Laurent GUERBY
ip -6 ne
34 1 Laurent GUERBY
iwlist ath0 peers
35 1 Laurent GUERBY
/usr/www/sta.cgi
36 1 Laurent GUERBY
/usr/www/status.cgi
37 1 Laurent GUERBY
ubntbox mca-status
38 1 Laurent GUERBY
athbox athstats
39 1 Laurent GUERBY
athbox 80211status
40 1 Laurent GUERBY
athbox radartool
41 1 Laurent GUERBY
cat /proc/net/arp
42 1 Laurent GUERBY
brctl show
43 1 Laurent GUERBY
brctl showmacs br0
44 1 Laurent GUERBY
cat /proc/net/dev
45 1 Laurent GUERBY
cat /tmp/running.cfg
46 1 Laurent GUERBY
</pre>
47 1 Laurent GUERBY
48 1 Laurent GUERBY
Sur mikrotik
49 1 Laurent GUERBY
50 1 Laurent GUERBY
CRS226
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 1 Laurent GUERBY
Sur RB750UP
56 1 Laurent GUERBY
<pre>
57 1 Laurent GUERBY
/interface ethernet switch host print
58 1 Laurent GUERBY
</pre>
59 1 Laurent GUERBY
60 1 Laurent GUERBY
Sur TP-Link SG3424
61 1 Laurent GUERBY
TODO
62 1 Laurent GUERBY
63 1 Laurent GUERBY
Sur S4810
64 1 Laurent GUERBY
TODO