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
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
Command-Line Interface (CLI)189User Access VerificationUsername: ciscoPassword: cisco [this won’t show on your screen]yourname#From here, just log in
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
Command-Line Interface (CLI)191CLI PromptsIt’s really important that you understand the different prompts you can find when configuring a router. Know
192Chapter 4"Introduction to the Cisco IOS and SDM range interface range commandyourname(config)#interface fastEthernet 0/0yourname
Command-Line Interface (CLI)193Routing Protocol ConfigurationsTo configure routing protocols such as RIP and EIGRP, you’ll use the prompt yourname(con
194Chapter 4"Introduction to the Cisco IOS and SDM calendar Manage the hardware calendar cd Change current directory cle
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
196Chapter 4"Introduction to the Cisco IOS and SDMTable 4.2 lists the enhanced editing commands available on a Cisco router.Another cool editing
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
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,
198Chapter 4"Introduction to the Cisco IOS and SDMAllowed output transports are pad telnet rlogin lapb-ta mop v120 ssh.Preferred transport is tel
Command-Line Interface (CLI)199Gathering Basic Routing InformationThe show version command will provide basic configuration for the system hardware as
200Chapter 4"Introduction to the Cisco IOS and SDMRouter and Switch Administrative ConfigurationsEven though this section isn’t critical to makin
Router and Switch Administrative Configurations201BannersA banner is more than just a little cool—one very good reason for having a banner is to give
202Chapter 4"Introduction to the Cisco IOS and SDMThe preceding MOTD banner essentially tells anyone connecting to the router to get lost if they
Router and Switch Administrative Configurations203GUIDE for your router or go to http://www.cisco.com/go/sdm -----------------------------------------
204Chapter 4"Introduction to the Cisco IOS and SDMHere’s an example of setting the enable passwords:Todd(config)#enable secret toddTodd(config)#e
Router and Switch Administrative Configurations205% Login disabled on line 1, until 'password' is setTodd(config-line)#password auxTodd(conf
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
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
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
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
Router and Switch Administrative Configurations209Todd(config)#ip domain-name Lammle.comTodd(config)#username todd password toddTodd(config)#crypto ke
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
Router and Switch Administrative Configurations211[output cut]!line con 0 exec-timeout 0 0 password 7 0605002F5F41051C logging synchronous login li
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
Router and Switch Administrative Configurations213interface Serial0/0/0 description Wan to SF circuit number 6fdda 12345678 no ip address shutdown![ou
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
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
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
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
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
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,
Router Interfaces219Configuring DHCP on your routerYou can configure your router to become a Dynamic Host Configuration Protocol (DHCP) server, and I’
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:
Router Interfaces221interface Serial0/0/0 description Wan to SF circuit number 6fdda 12345678 no ip address!So basically, the pipe symbol (output modi
222Chapter 4"Introduction to the Cisco IOS and SDMSerial Interface CommandsWait! Before you just jump in and configure a serial interface, you ne
Router Interfaces223You configure a DCE serial interface with the clock rate command:Todd#config tEnter configuration commands, one per line. End wit
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
Viewing, Saving, and Erasing Configurations225Viewing, Saving, and Erasing ConfigurationsIf you run through setup mode, you’ll be asked if you want to
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
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
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
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
Viewing, Saving, and Erasing Configurations229 Multilink Multilink-group interface Null Null interface Port-channel Et
230Chapter 4"Introduction to the Cisco IOS and SDM Encapsulation ARPA, loopback not set Keepalive set (10 sec) Auto-duplex, Auto Speed, 100Bas
Viewing, Saving, and Erasing Configurations231the bandwidth is 100000Kbit, which is 100,000,000 (Kbit means to add three zeros), which is 100Mbits per
232Chapter 4"Introduction to the Cisco IOS and SDM Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input never, output never,
Viewing, Saving, and Erasing Configurations233Router#00:17:35: %CLEAR-5-COUNTERS: Clear counter on interface Serial0/0/0 by consoleRouter#Verifying w
234Chapter 4"Introduction to the Cisco IOS and SDMRemember, administratively down means that you need to type no shutdown under the interface. No
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
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
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
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
238Chapter 4"Introduction to the Cisco IOS and SDMSecond, create a user account using privilege level 15 (the highest level):Router(config)#usern
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
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
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
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
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
244Chapter 4"Introduction to the Cisco IOS and SDMcrypto pki certificate chain TP-self-signed-2645776477 certificate self-signed 01 3082023E 308
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
246Chapter 4"Introduction to the Cisco IOS and SDMRemember the difference between the enable password and enable secret password. Both of these p
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
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
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
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
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
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
252Chapter 4"Introduction to the Cisco IOS and SDMline con 0loginpassword todd1line aux 0loginpassword todd21.You can add the Exec-timeout 0 0 co
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
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
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,
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
Kommentare zu diesen Handbüchern