Cisco Discovery Protocol: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Erklärung= *Es wurde von der Firma Cisco entwickelt *Mithilfe des "Cisco Discovery Protocol" kurz "CDP", wird vollautomatisch eine Liste direkt angeschlossen…“)
 
Zeile 8: Zeile 8:
  
 
==Show cdp==
 
==Show cdp==
 +
*show cdp
 +
*Zeigt die Globale CDP Konfiguration
 
  Switch#show cdp
 
  Switch#show cdp
 
  Global CDP information:  
 
  Global CDP information:  
Zeile 13: Zeile 15:
 
  Sending a holdtime value of 180 seconds
 
  Sending a holdtime value of 180 seconds
 
  Sending CDPv2 advertisements is enabled
 
  Sending CDPv2 advertisements is enabled
 +
 +
*show cdp interface
 +
*Zeigt eine Liste der Interfaces mitsamt der CDP Konfiguration
 +
sw-cis-01#show cdp interface
 +
GigabitEthernet1/0/1 is up, line protocol is up
 +
  Encapsulation ARPA
 +
  Sending CDP packets every 60 seconds
 +
  Holdtime is 180 seconds
 +
 +
*Show cdp neighbors
 +
*Zeigt alle angeschlossene Geräte die auch CDP verwenden
 +
sw-cis-01#show cdp neighbors
 +
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
 +
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
 +
                  D - Remote, C - CVTA, M - Two-port Mac Relay
 +
Device ID        Local Intrfce    Holdtme    Capability  Platform  Port ID
 +
MikroTik        Gig 1/0/11        62                R    MikroTik  bridge/ether2
 +
SIPECE1A9CA5D5F  Gig 1/0/10        130              H P  IP Phone  Port 1

Version vom 26. Oktober 2021, 06:42 Uhr

Erklärung

  • Es wurde von der Firma Cisco entwickelt
  • Mithilfe des "Cisco Discovery Protocol" kurz "CDP", wird vollautomatisch eine Liste direkt angeschlossener Geräte erstellt
  • Voraussetzung sie unterstützen ebenfalls CDP
  • Hauptsächlich von Cisco-Geräten verwendet

Umgang

Show cdp

  • show cdp
  • Zeigt die Globale CDP Konfiguration
Switch#show cdp
Global CDP information: 
	Sending CDP packets every 60 seconds
	Sending a holdtime value of 180 seconds
	Sending CDPv2 advertisements is enabled
  • show cdp interface
  • Zeigt eine Liste der Interfaces mitsamt der CDP Konfiguration
sw-cis-01#show cdp interface
GigabitEthernet1/0/1 is up, line protocol is up
  Encapsulation ARPA
  Sending CDP packets every 60 seconds
  Holdtime is 180 seconds
  • Show cdp neighbors
  • Zeigt alle angeschlossene Geräte die auch CDP verwenden
sw-cis-01#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, 
                  D - Remote, C - CVTA, M - Two-port Mac Relay 
Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
MikroTik         Gig 1/0/11        62                R    MikroTik  bridge/ether2
SIPECE1A9CA5D5F  Gig 1/0/10        130              H P   IP Phone  Port 1