Cisco 2501 - Router - EN Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Mise en réseau Cisco 2501 - Router - EN. Chapter Introduction to the Cisco IOS and SDM Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 76
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Chapter
4
Introduction to the
Cisco IOS and SDM
IMPLEMENT A SMALL ROUTED NETWORK
!
Access and utilize the router CLI to set basic parameters
!
Connect, configure, and verify operation status of a device
interface
!
Verify device configuration and network connectivity using
ping, traceroute, telnet, SSH or other utilities
!
Implement password and physical security
!
Verify network status and router operation using basic
utilities (including: ping, traceroute, telnet, SSH, arp,
ipconfig), SHOW & DEBUG commands
IMPLEMENT AN IP ADDRESSING
SCHEME AND IP SERVICES TO MEET
NETWORK REQUIREMENTS FOR A SMALL
BRANCH OFFICE
!
Describe the need and role of addressing in a network
!
Create and apply an addressing scheme to a network
!
Describe and verify DNS operation
!
Configure, verify and troubleshoot DHCP and DNS operation
on a router (including: CLI/SDM)
47020.book Page 179 Wednesday, January 2, 2008 4:31 PM
Vue de la page 0
1 2 3 4 5 6 ... 75 76

Résumé du contenu

Page 1 - Cisco IOS and SDM

Chapter 4 Introduction to the Cisco IOS and SDM IMPLEMENT A SMALL ROUTED NETWORK! Access and utilize the router CLI to set basic parameters ! Connect

Page 2

188Chapter 4"Introduction to the Cisco IOS and SDMCommand-Line Interface (CLI)I sometimes refer to the CLI as “Cash Line Interface” because, if y

Page 3 - The IOS User Interface

Command-Line Interface (CLI)189User Access VerificationUsername: ciscoPassword: cisco [this won’t show on your screen]yourname#From here, just log in

Page 4 - Connecting to a Cisco Router

190Chapter 4"Introduction to the Cisco IOS and SDMOverview of Router ModesTo configure from a CLI, you can make global changes to the router by t

Page 5 - Ethernet 0/0

Command-Line Interface (CLI)191CLI PromptsIt’s really important that you understand the different prompts you can find when configuring a router. Know

Page 6 - Bringing Up a Router

192Chapter 4"Introduction to the Cisco IOS and SDM range interface range commandyourname(config)#interface fastEthernet 0/0yourname

Page 7

Command-Line Interface (CLI)193Routing Protocol ConfigurationsTo configure routing protocols such as RIP and EIGRP, you’ll use the prompt yourname(con

Page 8

194Chapter 4"Introduction to the Cisco IOS and SDM calendar Manage the hardware calendar cd Change current directory cle

Page 9

Command-Line Interface (CLI)195 MONTH Month of the yearyourname#clock set 11:15:11 25 aug ? <1993-2035> Yearyourname#clock set 11:15:11 25

Page 10 - Command-Line Interface (CLI)

196Chapter 4"Introduction to the Cisco IOS and SDMTable 4.2 lists the enhanced editing commands available on a Cisco router.Another cool editing

Page 11

Command-Line Interface (CLI)197The following example demonstrates the show history command and how to change the history size, as well as how to verif

Page 12 - Overview of Router Modes

The time has come to introduce you to the Cisco Internetwork Operating System (IOS). The IOS is what runs Cisco routers as well as Cisco’s switches,

Page 13 - CLI Prompts

198Chapter 4"Introduction to the Cisco IOS and SDMAllowed output transports are pad telnet rlogin lapb-ta mop v120 ssh.Preferred transport is tel

Page 14 - Line Commands

Command-Line Interface (CLI)199Gathering Basic Routing InformationThe show version command will provide basic configuration for the system hardware as

Page 15 - Editing and Help Features

200Chapter 4"Introduction to the Cisco IOS and SDMRouter and Switch Administrative ConfigurationsEven though this section isn’t critical to makin

Page 16

Router and Switch Administrative Configurations201BannersA banner is more than just a little cool—one very good reason for having a banner is to give

Page 17

202Chapter 4"Introduction to the Cisco IOS and SDMThe preceding MOTD banner essentially tells anyone connecting to the router to get lost if they

Page 18 - Chapter 4

Router and Switch Administrative Configurations203GUIDE for your router or go to http://www.cisco.com/go/sdm -----------------------------------------

Page 19

204Chapter 4"Introduction to the Cisco IOS and SDMHere’s an example of setting the enable passwords:Todd(config)#enable secret toddTodd(config)#e

Page 20

Router and Switch Administrative Configurations205% Login disabled on line 1, until 'password' is setTodd(config-line)#password auxTodd(conf

Page 21

206Chapter 4"Introduction to the Cisco IOS and SDMHere’s an example of how to configure both commands:Todd(config-line)#line con 0Todd(config-lin

Page 22 - Configurations

Router and Switch Administrative Configurations207So what will happen if you try to telnet into a router that doesn’t have a VTY password set? You’ll

Page 23

The IOS User Interface 181 And just as it was with preceding chapters, the fundamentals that you’ll learn in this chapter are foundational building

Page 24

208Chapter 4"Introduction to the Cisco IOS and SDM2.Set the domain name (both the hostname and domain name are required for the encryp-tion keys

Page 25 - Setting Passwords

Router and Switch Administrative Configurations209Todd(config)#ip domain-name Lammle.comTodd(config)#username todd password toddTodd(config)#crypto ke

Page 26 - Auxiliary Password

210Chapter 4"Introduction to the Cisco IOS and SDM[output cut]!line con 0 exec-timeout 0 0 password console logging synchronous login line aux

Page 27 - Console Password

Router and Switch Administrative Configurations211[output cut]!line con 0 exec-timeout 0 0 password 7 0605002F5F41051C logging synchronous login li

Page 28 - Telnet Password

212Chapter 4"Introduction to the Cisco IOS and SDMBut before I get into showing you all about setting descriptions on your routers, let’s go thro

Page 29 - Setting Up Secure Shell (SSH)

Router and Switch Administrative Configurations213interface Serial0/0/0 description Wan to SF circuit number 6fdda 12345678 no ip address shutdown![ou

Page 30

214Chapter 4"Introduction to the Cisco IOS and SDMIn fact, with a pre-12.3 router, you’d get the following error if you tried to view the configu

Page 31 - Encrypting Your Passwords

Router Interfaces215Now it’s time to choose the interface you want to configure. Once you do that, you will be in interface configuration for that spe

Page 32

216Chapter 4"Introduction to the Cisco IOS and SDMBut the rest of the modules are different—they use three numbers instead of two. The first 0 is

Page 33

Router Interfaces217 shutdown!interface Serial0/2/0 no ip address shutdown clock rate 2000000! [output cut]For the sake of brevity, I didn’t include m

Page 34 - Descriptions

182 Chapter 4" Introduction to the Cisco IOS and SDM Connecting to a Cisco Router You can connect to a Cisco router to configure it, verify its

Page 35 - Doing the do Command

218Chapter 4"Introduction to the Cisco IOS and SDMConfiguring an IP Address on an InterfaceEven though you don’t have to use IP on your routers,

Page 36 - Router Interfaces

Router Interfaces219Configuring DHCP on your routerYou can configure your router to become a Dynamic Host Configuration Protocol (DHCP) server, and I’

Page 37

220Chapter 4"Introduction to the Cisco IOS and SDMInternet. Here is an example on how you would configure a router interface to be a DHCP client:

Page 38

Router Interfaces221interface Serial0/0/0 description Wan to SF circuit number 6fdda 12345678 no ip address!So basically, the pipe symbol (output modi

Page 39 - Bringing Up an Interface

222Chapter 4"Introduction to the Cisco IOS and SDMSerial Interface CommandsWait! Before you just jump in and configure a serial interface, you ne

Page 40

Router Interfaces223You configure a DCE serial interface with the clock rate command:Todd#config tEnter configuration commands, one per line. End wit

Page 41

224Chapter 4"Introduction to the Cisco IOS and SDMThe clock rate command is set in bits per second. Besides looking at the cable end to check fo

Page 42 - Using the Pipe

Viewing, Saving, and Erasing Configurations225Viewing, Saving, and Erasing ConfigurationsIf you run through setup mode, you’ll be asked if you want to

Page 43

226Chapter 4"Introduction to the Cisco IOS and SDMWe’ll take a closer look at how and where to copy files in Chapter 5. You can view the files by

Page 44 - Serial Interface Commands

Viewing, Saving, and Erasing Configurations227If you reload or power down and up the router after using the erase startup-config command, you’ll be of

Page 45

The IOS User Interface 183 F I G U R E 4 . 2 A Cisco 2600 router The 2600 series router can have multiple serial interfaces, which can be used for c

Page 46

228Chapter 4"Introduction to the Cisco IOS and SDMTraceroute uses ICMP with IP time to live (TTL) time-outs to track the path a packet takes thro

Page 47 - Viewing, Saving, and Erasing

Viewing, Saving, and Erasing Configurations229 Multilink Multilink-group interface Null Null interface Port-channel Et

Page 48

230Chapter 4"Introduction to the Cisco IOS and SDM Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-duplex, Auto Speed, 100Bas

Page 49 - Verifying Your Configuration

Viewing, Saving, and Erasing Configurations231the bandwidth is 100000Kbit, which is 100,000,000 (Kbit means to add three zeros), which is 100Mbits per

Page 50

232Chapter 4"Introduction to the Cisco IOS and SDM Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input never, output never,

Page 51

Viewing, Saving, and Erasing Configurations233Router#00:17:35: %CLEAR-5-COUNTERS: Clear counter on interface Serial0/0/0 by consoleRouter#Verifying w

Page 52

234Chapter 4"Introduction to the Cisco IOS and SDMRemember, administratively down means that you need to type no shutdown under the interface. No

Page 53

Viewing, Saving, and Erasing Configurations235F I G U R E 4 . 7 The show controllers commandRouter R1 has a DTE connection—the default for all Cisco r

Page 54

236Chapter 4"Introduction to the Cisco IOS and SDMso no CSU/DSU is connected to provide clocking of the line. This means the DCE end of the cable

Page 55

Cisco’s Security Device Manager (SDM)237From this site, you can not only install the SDM on your computer to help the SDM pages load faster when conne

Page 56

184 Chapter 4" Introduction to the Cisco IOS and SDM As a heads up, I'm going to be using all new 2800, 1800, and 800 series routers throug

Page 57

238Chapter 4"Introduction to the Cisco IOS and SDMSecond, create a user account using privilege level 15 (the highest level):Router(config)#usern

Page 58

Cisco’s Security Device Manager (SDM)239I was then prompted to log in with the username/password I created. SDM started loading and told me to hold on

Page 59

240Chapter 4"Introduction to the Cisco IOS and SDMOf course, the certificate would not match any site name, so I then had to verify that I wanted

Page 60

Cisco’s Security Device Manager (SDM)241Clicking the Configure button at the top of the page, I chose to go step-by-step through interface configurati

Page 61

242Chapter 4"Introduction to the Cisco IOS and SDMThat’s not all—just double-click on an interface to edit it. (You can only do this after you’ve

Page 62

Cisco’s Security Device Manager (SDM)243Here, you can set the hostname, MOTD banner, and enable secret password. Last, I clicked on the DHCP folder, t

Page 63

244Chapter 4"Introduction to the Cisco IOS and SDMcrypto pki certificate chain TP-self-signed-2645776477 certificate self-signed 01 3082023E 308

Page 64

Exam Essentials245After I discussed how to connect to a router with a console and LAN connection, I covered the Cisco help features and how to use the

Page 65

246Chapter 4"Introduction to the Cisco IOS and SDMRemember the difference between the enable password and enable secret password. Both of these p

Page 66

Written Lab 42475. The name for the keys will be: Todd.Lammle.com% The key modulus size is 1024 bits6. % Generating 1024 bit RSA keys, keys will be no

Page 67 - Exam Essentials

The IOS User Interface 185 Technical Support: http://www.cisco.com/techsupportCopyright (c) 1986-2006 by Cisco Systems, Inc.Compiled Fri 17-Nov-06 1

Page 68

248Chapter 4"Introduction to the Cisco IOS and SDMHands-on LabsIn this section, you will perform commands on a Cisco router that will help you un

Page 69 - Written Lab 4

Hands-on Labs24915. Type exit. Notice how this brings you back one level.16. Press Ctrl+Z. Notice how this brings you out of configuration mode and pl

Page 70 - Hands-on Labs

250Chapter 4"Introduction to the Cisco IOS and SDM23.Type terminal no editing. This turns off advanced editing. Repeat steps 14 through 18 to see

Page 71

Hands-on Labs2516. Remove the secret password. Go to privileged mode, type config t, and press Enter. Type no enable secret and press Enter. Log out a

Page 72

252Chapter 4"Introduction to the Cisco IOS and SDMline con 0loginpassword todd1line aux 0loginpassword todd21.You can add the Exec-timeout 0 0 co

Page 73

Hands-on Labs253This is an motd banner#7.The preceding example used a # sign as a delimiting character. This tells the router when the message is done

Page 74 - IP Address, and Clock Rate

254Chapter 4"Introduction to the Cisco IOS and SDM14.You can add the bandwidth of a serial link as well as the clock rate when simulating a DCE W

Page 75

186 Chapter 4" Introduction to the Cisco IOS and SDM The next part shows us that the IOS is being decompressed into RAM: program load complete,

Page 76

The IOS User Interface 187And as I mentioned, when the IOS is loaded and up and running, a valid configuration called the startup-config will be loade

Commentaires sur ces manuels

Pas de commentaire