5. Using CDP SwitchB RouterA RouterB SwitchA 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 cdp ? entry Information for specific neighbor entry interface CDP interface status and configuration neighbors CDP neighbors entries traffic CDP statistics <cr> RouterA(config)#no cdp run RouterA(config)#interface serial0 RouterA(config-if)#no cdp enable
6. Using the show cdp neighbor Command SwitchA also provides its MAC address 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 SwitchB RouterA RouterB SwitchA 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
7. Using the show cdp entry Command 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 SwitchB RouterA RouterB SwitchA 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
8. Additional CDP Commands 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 SwitchB RouterA RouterB SwitchA 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
9. Using Telnet to Connect to Remote Devices Remote device SwitchB RouterA RouterB SwitchA 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>
12. Closing a Telnet Session RouterA#disconnect Closing connection to 10.3.3.2 [confirm] RouterA#clear line 11 [confirm] [OK] Closes a session opened by a remote device Closes the current session opened by you SwitchB RouterA RouterB SwitchA 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
18. Router Startup Flowchart Use IOS from Flash Attempt to Get IOS from Network Use IOS in ROM (rxboot Mode) Check Startup Config Boot Field = 0 0x0 Boot Field = 1 0x1 Boot System Commands ? Config reg bit 13 = 1 ? 5 Failures ? Valid IOS in Flash ? Do What They Say Run ROM Monitor START Yes Yes No No Yes No No Yes Yes No No Yes Success ? No Yes Use File from Network Load IOS Valid Config ? Config Reg Bit 6 = 1 ? Yes No Yes SETUP DIALOG NORMAL STARTUP COMPLETE No
19.
20.
21.
22.
23.
24.
25. show flash Command wg_ro_a# sh flash System flash directory: File Length Name/status 1 10084696 c2500-js-l_120-3.bin [10084760 bytes used, 6692456 available, 16777216 total] 16384K bytes of processor board System flash (Read ONLY)
26.
27.
28.
29.
30.
31.
32. copy run tftp and copy tftp run Commands wg_ro_a# copy running-config tftp Address or name of remote host []? 10.1.1.1 Destination filename [running-config]? wgroa.cfg .!! 1684 bytes copied in 13.300 secs (129 bytes/sec) wg_ro_a# copy tftp running-config Address or name of remote host []? 10.1.1.1 Source filename []? wgroa.cfg Destination filename [running-config]? Accessing tftp://10.1.1.1/wgroa.cfg... Loading wgroa.cfg from 10.1.1.1 (via Ethernet0): ! [OK - 1684/3072 bytes] 1684 bytes copied in 17.692 secs (99 bytes/sec)
33. Cisco IOS File Systems and Devices RAM NVRAM TFTP Server Flash flash: system: nvram: tftp:
34. Managing Cisco IOS Images Network Server FLASH Router Network Server c2500-js-l_120-3.bin
35.
36.
37.
38.
39.
40.
41.
42. Visual Objective Pod Switch Router e0 A 10.1.1.10 10.1.1.11 B 10.1.1.20 10.1.1.21 C 10.1.1.30 10.1.1.31 D 10.1.1.40 10.1.1.41 E 10.1.1.50 10.1.1.51 F 10.1.1.60 10.1.1.61 G 10.1.1.70 10.1.1.71 H 10.1.1.80 10.1.1.81 I 10.1.1.90 10.1.1.91 J 10.1.1.100 10.1.1.101 K 10.1.1.110 10.1.1.111 L 10.1.1.120 10.1.1.121 core_ server 10.1.1.1 255.255.255.0 wg_sw_a 10.1.1.10 255.255.255.0 wg_sw_l 10.1.1.120 255.255.255.0 wg_pc_a wg_pc_l ... Console 10.1.1.121 255.255.255.0 e0/2 fa0/26 (port A) e0/2 e0 e0 fa0/26 (port A) fa0/1 fa0/12 fa0/24 core_sw_a 10.1.1.2 255.255.255.0 10.1.1.11 255.255.255.0 wg_ro_l A/B A/B wg_ro_a Console Console Console core_ro fa0/23 fa0/0
43.
44.
Notes de l'éditeur
Purpose: The purpose of this chapter is to give the students tools to manage their network. Timing: This module should take about 2 hours to present. Note: The Catalyst 1900 switch has only a subset of the router CDP commands available. The copy command syntax has changed for Cisco IOS Release 12.0. In this class, we will focus on the pre Cisco IOS 12.0 commands since most sites are running pre-Cisco IOS 12.0 software at this time. Contents: