Show cdp neighbors
From Joe
(Difference between revisions)
(Új cikk) |
(→Lásd még) |
||
(13 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | That's raelly shrewd! Good to see the logic set out so well. | |
- | + | ||
==Mód== | ==Mód== | ||
- | Switch | + | *Switch |
- | Switch# | + | *Switch# |
==Szintaxis== | ==Szintaxis== | ||
- | '''Show Cdp Neighbors''' | + | '''Show Cdp Neighbors''' <br> |
'''Show Cdp Neighbors''' ''detail'' | '''Show Cdp Neighbors''' ''detail'' | ||
+ | |||
==Szintaxis leírása== | ==Szintaxis leírása== | ||
''detail'' részletes információ megjelenítése | ''detail'' részletes információ megjelenítése | ||
Line 16: | Line 17: | ||
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge | Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge | ||
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone | S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone | ||
- | + | ||
Device ID Local Intrfce Holdtme Capability Platform Port ID | Device ID Local Intrfce Holdtme Capability Platform Port ID | ||
C_2940_Switch Gig 0/1 129 S I WS-C2940-8Gig 0/1 | C_2940_Switch Gig 0/1 129 S I WS-C2940-8Gig 0/1 | ||
2. példa: Részletes CDP infó megjelenítése. | 2. példa: Részletes CDP infó megjelenítése. | ||
- | c_2940#show cdp neighbors detail | + | c_2940#'''show cdp neighbors detail''' |
Device ID: C_2940_Switch | Device ID: C_2940_Switch | ||
Entry address(es): | Entry address(es): | ||
Line 27: | Line 28: | ||
Interface: gigabitethernet 0/1, Port ID (outgoing port): gigabitethernet 0/1 | Interface: gigabitethernet 0/1, Port ID (outgoing port): gigabitethernet 0/1 | ||
Holdtime : 131 sec | Holdtime : 131 sec | ||
- | + | ||
Version : | Version : | ||
Cisco Internetwork Operating System Software | Cisco Internetwork Operating System Software | ||
Line 33: | Line 34: | ||
Copyright (c) 1986-2004 by cisco Systems, Inc. | Copyright (c) 1986-2004 by cisco Systems, Inc. | ||
Compiled Mon 08-Nov-04 00:57 by antonino | Compiled Mon 08-Nov-04 00:57 by antonino | ||
- | + | ||
advertisement version: 2 | advertisement version: 2 | ||
- | Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF00000000000000127F95EC80FF0000 | + | Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, |
+ | value=00000000FFFFFFFF010221FF00000000000000127F95EC80FF0000 | ||
VTP Management Domain: 'domain_neve' | VTP Management Domain: 'domain_neve' | ||
Native VLAN: 1 | Native VLAN: 1 | ||
Line 41: | Line 43: | ||
Management address(es): | Management address(es): | ||
IP address: 172.11.25.130 | 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! |
Current revision as of 02:11, 4 December 2011
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!