Cisco CDP tcpdump: differenze tra le versioni
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Nessun oggetto della modifica  | 
				Nessun oggetto della modifica  | 
				||
| Riga 1: | Riga 1: | ||
CDP  | 
|||
<code>  | 
  <code>  | 
||
 tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'  | 
   tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'  | 
||
</code>  | 
  </code>  | 
||
LLDP  | 
|||
<code>  | 
|||
 tcpdump -i eth0 -s 1500 -XX -c 1 'ether proto 0x88cc'  | 
|||
</code>  | 
|||
LLDP & CDP  | 
|||
<code>  | 
|||
 tcpdump -v -s 1500 -c 1 '(ether[12:2]=0x88cc or ether[20:2]=0x2000)'  | 
|||
</code>  | 
|||
Fonti:  | 
  Fonti:  | 
||
| Riga 8: | Riga 18: | ||
* [http://www.kehlet.cx/articles/186.html]  | 
  * [http://www.kehlet.cx/articles/186.html]  | 
||
* [http://sidewynder.blogspot.it/2005/07/tcpdump-filter-for-capturing-only.html]  | 
  * [http://sidewynder.blogspot.it/2005/07/tcpdump-filter-for-capturing-only.html]  | 
||
* [http://dazdaztech.wordpress.com/2013/05/17/using-tcpdump-to-see-cdp-or-lldp-packets/]  | 
|||