Show cdp neighbors

From Joe

Revision as of 02:11, 4 December 2011 by 190.78.99.14 (Talk)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)

That's raelly shrewd! Good to see the logic set out so well.

Contents

[edit] Mód

  • Switch
  • Switch#

[edit] Szintaxis

Show Cdp Neighbors
Show Cdp Neighbors detail

[edit] Szintaxis leírása

detail részletes információ megjelenítése

[edit] Parancs leírása

CDP protokoll alapján felderített szomszédok adatainak megjelenítése

[edit] Példa

1. példa:

c_2940#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
C_2940_Switch    Gig 0/1            129          S I      WS-C2940-8Gig 0/1

2. példa: Részletes CDP infó megjelenítése.

c_2940#show cdp neighbors detail
Device ID: C_2940_Switch
Entry address(es):
  IP address: 172.11.25.130
Platform: cisco WS-C2940-8TT-S,  Capabilities: Switch IGMP
Interface: gigabitethernet 0/1,  Port ID (outgoing port): gigabitethernet 0/1
Holdtime : 131 sec 

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2940 Software (C2940-I6K2L2Q4-M), Version 12.1(22)EA2, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 08-Nov-04 00:57 by antonino

advertisement version: 2
Protocol Hello:  OUI=0x00000C, Protocol ID=0x0112; payload len=27,
  value=00000000FFFFFFFF010221FF00000000000000127F95EC80FF0000
VTP Management Domain: 'domain_neve'
Native VLAN: 1
Duplex: full
Management address(es):
  IP address: 172.11.25.130

3. Példa: HP procurve switch felderítése:

c_2940#show cdp neighbors detail
Device ID: hp2525(000f20-a66a00)
Entry address(es): 
  IP address: 172.11.210.104
Platform: HP 2524,  Capabilities: Switch 
Interface: FastEthernet0/20,  Port ID (outgoing port): 1
Holdtime : 154 sec

Version :
Revision F.05.17 /sw/code/build/info(s02) 

advertisement version: 1
Management address(es): 

This piece was cgeont, well-written, and pithy.

I found just what I was needed, and it was enteartinnig!

Personal tools