

下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、基本实验拓扑:首先在 R1 是检查到 R2 R3 的链路是否连通R1#Type escsequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Suc/5 个!表明网络是通的s rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 msR1#Type escsequence to abort.Sending 5, 100-byte ICMP Echos to , timeout
2、 is 2 seconds:!/5 个!表明网络是通的Sucs rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms R1#1.学习 CDP (CISCO 发现协议)(CISCO协议)R1#show cdp ?/查看 CDP 命令的参数entryerface neighbors traffic|Information for specific neighbor entryCDPerfaus and configurationCDP neighbor entries CDP sisticsOutput modifiersR1#s
3、how cdp neighbors/查看 CDP 的邻居Capability Codes: R - Router, T - Trans Bridge, B - Source Route BridgeS - Switch, H - Host, I - IGMP, r - RepeaterDevice IDLocalrfceHoldtmeCapabilityPlatformPort IDswR2 R3Eth 0Ser 0Ser 1150133140S IR RWS-C2950-2Fas 0/2325002500Ser 0Ser 0R1#show cdperface/在路由器上查看运行 CDP 的接
4、口Ethernet0 is up, line protocol is up/E0 口运行 CDPEncapsulation ARPASendinP packets every 60 secondsHoldtime is 180 seconds Serial0 is up, line protocol is upEncapsulation HDLC/S0 口运行 CDPSendinP packets every 60 secondsHoldtime is 180 seconds Serial1 is up, line protocol is upEncapsulation HDLC/S1 口运行
5、 CDPSendinP packets every 60 secondsHoldtime is 180 secondsR1#show cdp traffic/查看 CDP 的packets CDP counters :Total packets output: 222, Input: 223Hdr syntax: 0, Chksum error: 0, Encaps failed: 0No memory: 0, Invalid packet: 0, Fragmented: 0CDP verCDP veradvertisements output: 0, Input: 0advertisemen
6、ts output: 222, Input: 223R1#show cdp entry */查看 CDP 邻居的所有详细内容Device ID: sw Entry address(es): IP address: 25Platform: cisco WS-C2950-24,Capabilities: Switch IGMPerface: Ethernet0,Port ID (outgoing port): FastEthernet0/23Holdtime : 178 secVer :Cisco ernetwork Operating System SoftwareIOS
7、 (tm) C2950 Software (C2950-I6Q4L2-M), Ver(fc1)Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Sun 07-Nov-04 23:14 by antonino 12.1(22)EA2, RELEASE SOFTWAREadvertisement ver: 2o:OUI=0 x00000C,ProtocolID=0 x0112;payloadlen=27,Protocolvalue=00000000FF010221FF00000000000000131A9A2B80FF00VTP Man
8、agement Native VLAN: 1Duplex: half: wisdomDevice ID: R2 Entry address(es): IP address: Platform: cisco 2500,Capabilities: Router erface: Serial0,Port ID (outgoing port): Serial0Holdtime : 160 secVer :Cisco ernetwork Operating System SoftwareIOS (tm) 2500 Software (C2500-JS56I-L), VerTAC Supp
9、ort: ht/tac Copyright (c) 1986-2002 by cisco Systems, Inc. 12.1(5)T12,RELEASE SOFTWARE (fc1)Compiled 04-Feb-02 11:25 by ccaiadvertisement ver: 2Device ID: R3 Entry address(es): IP address: Platform: cisco 2500,Capabilities: Routererface: Serial1,Port ID (outgoing port): Serial0Holdtime : 167
10、 secVer :Cisco ernetwork Operating System SoftwareIOS (tm) 2500 Software (C2500-JK8OS-L), VerCopyright (c) 1986-2002 by cisco Systems, Inc. Compiled Sun 03-Feb-02 22:01 by srani 12.2(1d), RELEASE SOFTWARE (fc1)advertisement ver2R1#R1#config tEnter configurationds, one per line.End with CNTL/Z.R1(con
11、fig)#no cdp run/在路由器上关闭 CDP 协议R1(config)#endR1#show01:44:40: %SYS-5-CONFIG_I: Configured from consoy consoleR1#show cdperface% CDP is not enabled/关闭了 CDP 协议后用 show cdpR1#erface检查路由器已把 CDP 关闭2.利用NET 来管理网络实验目的:首先通 CONSOLE 口控制 R1,控制 R1 后通过理.NET 到 R2,R3,对 R2,R3 进行管在 R1 上实验:R1#net /从 R1NET 到 R2Tr
12、ying . OpenUser Acs VerificationPassword:R2按x 切换回 R1R1#net /从 R1Trying . OpenNET 到 R3User Acs VerificationPassword:R3按x切换回 R1R1#show ses Conn Host1 *2 s/在 R1 上查看打开了多少个Address NET 的会话Byte 00Idle Conn Name 0 0 R1#resume 2/重新连接到
13、R3Resuming connection 2 to . R3按xR1#R1#show ses Conn Host1 *2 切换回 R1Address Byte 60Idle Conn Name 10 0 R1#disconnect 1/从 R1 是主动断开到 R2 的连接(断开一个NET 的会话)Closing connection to confirm在 R2 上实验: R2#show users Line*0 con 02 vty 0/在 R2 上查看有谁登录到路由器UserHost(s) idleidleIdle00:00:00Location00:01:52 erfaceUserModeIdle Peer AddressR2#clear line 2 c
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
评论
0/150
提交评论