使用 show cap neighbor命令 交换机A 路由器A s1路由器B 交换机B SO 10.1.1.2 10.3.3.210.3.3.1 10.1.1.1 10.2.2.110.2.2.2 RouterA#sh cdp neighbors Capability Codes: R- Router, T Trans Bridge, B- Source Route Bridge s- Switch, H -Host, I -IGMP,r -Repeater Device工D Local Intrfce Holdtme Capability Platform Port ID RouterB Ser 148 2522 Ser 1 SwitchAo050BD855780 Eth o 167 1900 交换机A同时也显示其Mac地址
交换机A同时也显示其Mac地址 使用show cdp neighbor 命令 RouterA#sh cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID RouterB Ser 0 148 R 2522 Ser 1 SwitchA0050BD855780 Eth 0 167 T S 1900 2 10.3.3.2 10.3.3.1 10.1.1.1 10.1.1.2 10.2.2.1 10.2.2.2 S0 S1 交换机A 路由器A 路由器B 交换机B
使用 show cdp entry命令 交换机A 路由器A s1路由器B 交换机B SO 10.1.1.2 10.3.3.210.3.3.1 10.1.1.1 10.2.2.110.2.2.2 R。 uterI# sh cdp entry★ Device ID: RouterB Entry address(es): 工 p address:10.1.1.2 Platform: cisco 2522, Capabilities: Router Interface: Serial0, Port ID (outgoing port):Seriall Holdtime 168 sec Version Cisco Internetwork Operating System Software Ios (tm) 2500 Software (C2500-JS-L) Version 12.0(3) RELEASE SOFTWARE (fci) Copyright (c)1986-1999 by cisco Systems, Inc Compiled Mon 08-Feb-99 18: 18 by phanguye
使用show cdp entry 命令 RouterA#sh cdp entry * ------------------------- Device ID: RouterB Entry address(es): IP address: 10.1.1.2 Platform: cisco 2522, Capabilities: Router Interface: Serial0, Port ID (outgoing port): Serial1 Holdtime : 168 sec Version : Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fci) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Mon 08-Feb-99 18:18 by phanguye 10.3.3.2 10.3.3.1 10.1.1.1 10.1.1.2 10.2.2.1 10.2.2.2 S0 S1 交换机A 路由器A 路由器B 交换机B
其它CDP命令 交换机A 路由器A s1路由器B 交换机B SO 10.1.1.2 10.3.3.210.3.3. 10.1.1.1 10.2.2.110.2.2.2 RouterA#sh cdp traffic CDP counters Packets output: 56, Input: 38 Hdr syntax: 0, Chksum error: 0, Encaps failed: 3 No memory: 0, Invalid packet: 0, Fragmented: 0 RouterA#sh cdp interface brio is administratively down, line protocol is down Encapsulation HDLC Sending CDp packets every 60 seconds Ho1G七 lme S180se
其它CDP命令 RouterA#sh cdp traffic CDP counters : Packets output: 56, Input: 38 Hdr syntax: 0, Chksum error: 0, Encaps failed: 3 No memory: 0, Invalid packet: 0, Fragmented: 0 RouterA#sh cdp interface BRI0 is administratively down, line protocol is down Encapsulation HDLC Sending CDP packets every 60 seconds Holdtime is 180 seconds 10.3.3.2 10.3.3.1 10.1.1.1 10.1.1.2 10.2.2.1 10.2.2.2 S0 S1 交换机A 路由器A 路由器B 交换机B
用 Telnet连接到远端设备 交换机A 路由器A s1路由器B 交换机B SO 10.1.1.2 10.3.3.210.3.3, 10.1.1.1 10.2.2.110.2.2.2 RouterA#telnet 10.2.2.2 Trying 10.2.2.2 Catalyst 1900 Management Console Copyright (c)Cisco Systems, Inc. 1993-1998 All rights reserved Enterprise Edition Software Ethernet Address 00-90-86-73-33-40 PCA Number 73-2239-06 PCA Serial Number FAA02359H8K Model number Ws-c1924-N 远端设备 System Serial Number: FAA0237XOFQ SwitchB>
用Telnet 连接到远端设备 远端设备 10.3.3.2 10.3.3.1 10.1.1.1 10.1.1.2 10.2.2.1 10.2.2.2 S0 S1 RouterA#telnet 10.2.2.2 Trying 10.2.2.2 ... Open ------------------------------------------------- Catalyst 1900 Management Console Copyright (c) Cisco Systems, Inc. 1993-1998 All rights reserved. Enterprise Edition Software Ethernet Address: 00-90-86-73-33-40 PCA Number: 73-2239-06 PCA Serial Number: FAA02359H8K Model Number: WS-C1924-EN System Serial Number: FAA0237X0FQ . . SwitchB> 交换机A 路由器A 路由器B 交换机B
查看 Telnet连接 交换机A 路由器A s1路由器B 交换机B SO 10.1.1.2 10.3.3.210.3.3.1 10.1.1.1 10.2.2.110.2.2.2 RouterA#sh session Conn host Address Byte Idle Conn Name 110.1.1.2 10.1.1.2 110.1.1.2 ★210.3.3.2 10.3.3.2 010.3.3.2 RouterA#sh user se H。st(s) 工d1 e location ★0con0 10.1.1.2 10.3.3.2 11 vty o idle 110.1.1.2
查看Telnet连接 10.3.3.2 10.3.3.1 10.1.1.1 10.1.1.2 10.2.2.1 10.2.2.2 S0 S1 RouterA#sh session Conn Host Address Byte Idle Conn Name 1 10.1.1.2 10.1.1.2 0 1 10.1.1.2 * 2 10.3.3.2 10.3.3.2 0 0 10.3.3.2 RouterA#sh user Line User Host(s) Idle Location * 0 con 0 10.1.1.2 3 10.3.3.2 2 11 vty 0 idle 1 10.1.1.2 交换机A 路由器A 路由器B 交换机B