Différences
Ci-dessous, les différences entre deux révisions de la page.
informatique:reseau:tips [2013/07/19 15:06] – créée - modification externe 127.0.0.1 | informatique:reseau:tips [2025/02/25 16:14] (Version actuelle) – ben | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
===== Identifier un switch et le port associé à une interface réseau ===== | ===== Identifier un switch et le port associé à une interface réseau ===== | ||
- | * **tcpdump** | + | * **tcpdump |
tcpdump -nn -v -i eth3 -s 1500 -c 1 ' | tcpdump -nn -v -i eth3 -s 1500 -c 1 ' | ||
Ligne 7: | Ligne 7: | ||
Device-ID (0x01), length: 24 bytes: ' | Device-ID (0x01), length: 24 bytes: ' | ||
Port-ID (0x03), length: 21 bytes: ' | Port-ID (0x03), length: 21 bytes: ' | ||
+ | </ | ||
+ | |||
+ | * **tcpdump - LLDP** | ||
+ | |||
+ | < | ||
+ | [root@ex1dc1dbadm01 ~]# tcpdump | ||
+ | dropped privs to tcpdump | ||
+ | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
+ | listening on eth9, link-type EN10MB (Ethernet), capture size 262144 bytes | ||
+ | 17: | ||
+ | 1 packet captured | ||
+ | 2 packets received by filter | ||
+ | 0 packets dropped by kernel | ||
</ | </ | ||