show cdp entry
- モード
- Enable(M)
- デフォルト
- -
- IOS
- 10.3
- 試験レベル
- CCNA
- 構文
- show cdp entry { * | デバイスの名前[*] } [version] [protocol]
- 使用例
Router#show cdp entry * ------------------------- Device ID: RouterA*1 Entry address(es): IP address: 192.168.1.1*2 Platform: cisco 2500, Capabilities: Router Interface: Serial0, Port ID (outgoing port): Serial0 Holdtime : 153 sec Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-JK8OS-L), Version 12.2(1d),*3 RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Sun 03-Feb-02 22:01 by srani advertisement version: 2 ------------------------- Device ID: SwitchA Entry address(es): IP address: 192.168.2.2 Platform: cisco WS-C2912-XL, Capabilities: Trans-Bridge Switch Interface: Ethernet0, Port ID (outgoing port): FastEthernet0/12 Holdtime : 164 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2900XL Software (C2900XL-C3H2S-M), Version 12.0(5)WC9a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Tue 13-Jan-04 11:54 by antonino advertisement version: 2 Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=000000F VTP Management Domain: 'hogehoge'*4 Native VLAN: 1*5 Duplex: half
- 解説
- このコマンドは特定の隣接Cisco機器の情報を表示する場合に使用する。
* 全ての隣接機器の情報を表示する デバイスの名前[*] 名前を指定したデバイスの情報を表示する。
*を使用するとデバイス名の先頭のみを指定して情報を表示することが出来る。version バージョン情報のみを表示したい場合に指定する。 protocol 使用しているプロトコル情報のみを表示したい場合に指定する。
- Tips
- CDP(Cisco Discovery Protocol)はCisco独自のプロトコルで、直接隣接したCiscoデバイスを検出する。
- 参考リンク
- Google検索
- タグ
- CDP
Counter: 12510,
today: 1,
yesterday: 0
最終更新: 2009-08-04 (火) 16:03:02 (JST) (5385d) by staff_mita