300 likes | 434 Views
routing. Chapter 11 Intro to Routing & Switching. objectives. Upon completion of this chapter, you should be able to: Configure a router with a basic configuration Configure a serial WAN link with a clock rate Configure a default route Use CDP to identify neighboring Cisco devices. 11.1.
E N D
routing Chapter 11 Intro to Routing & Switching
objectives • Upon completion of this chapter, you should be able to: • Configure a router with a basic configuration • Configure a serial WAN link with a clock rate • Configure a default route • Use CDP to identify neighboring Cisco devices
11.1 Basic configuration
Packet tracer activity • Open up Packet Tracer& add: • A PC • 2960 switch • 1841 router w/ WIC-2T added in slot 0 • Ethernet & console cables
Configure the router • Configure: • Hostname- GCC • Enable password- cisco • Secret password- class • Con 0 & vtypassword- gcit • Encrypt all passwords • Fa0/0 • Subnet 185.17.105.0 need 5 networks; use the 1st usable for this network • 1st in range for fa0/0 • 3rd in range for PC
Add more • Add: • Another 1841 w/ WIC-2T in slot 0 • Connect with serial DCE cable from left to right • S0/0/0 to s0/0/0 • Another switch • Another PC • Connect with Ethernet and console cables
Configure the router • Configure: • Hostname- GCEC • Enable password- cisco • Secret password- class • Con 0 & vtypassword- gcit • Encrypt all passwords • Fa0/0 • 2nd usable range • 1st in range for fa0/0 • 3rd in range for PC
How you connect to isp • Real life serial (WAN) connection to ISP • Your router is a DTE • CSU/DSU is the DCE • Connects to ISP network • Provides a clocking rate for signal • External CSU/DSU or module for router
Serial cables • DB-60 to V.35 Smart Serial
Configure the clock rate • On the serial port connected to CSU/DSU • DCE
Review- 5q • What is the purpose of a CSU/DSU? • Connect router to ISP & provide clock rate • What kind of cable would you connect from your router to a CSU/DSU? • Smart serial to DB-60 • In our class/PT, on which type of port would you configure a clock rate on? • Serial • What is the command to configure the clock rate? • Router(config-if)# clock rate 56000 • Is your router normally a DCE or DTE? • DTE
11.2 How to route data
Configure a Default Route • Router forwards packet to a destination network • Looks at routing table to see which port to go out • You can set a default route to go out if destination network is not in routing table
Configure default route Default route using outgoing next hop IP Default route using outgoing INT
Review- 4q • What do you configure in a router to tell it “if you don’t have the destination network in the routing table, go this way.” • Default route • What are the 2 possible commands to configure a default route? • B(config)# ip route 0.0.0.0 0.0.0.0 next hop IP • B(config)# ip route 0.0.0.0 0.0.0.0 outgoing int • What does the quad zero mean? • Any network (IP/SM) • Which command encrypts all passwords? • Service password-encryption
11.3 Cisco discovery protocol
Cisco Discovery Protocol- CDP • Shares info between directly connected Cisco devices (neighbors) • Runs on boot • Sends periodic CDP advertisements, every 60 sec. • Operate at Layer 2 • Information gathered by CDP includes: • Device host name • Layer 3 addresses • What the directly connected port is, “serial 0/0/0” • Capabilities list – Router, Switch • Platform, for example Cisco 1841
Disabling CDP • Why disable it? • PT 5.4.4.5
Other cdp commands • Show cdp interface • Verify frequency sent P2R3#show cdp interfaceFastEthernet0/0 is up, line protocol is upencapsulation ARPASending CDP packets every 60 secondsHoldtime is 180 seconds
Review- Q • What layer does CDP operate at? • Layer 2 • How often do CDP advertisements get sent? • 60 seconds • What does CDP do? • Discover neighboring Cisco devices • What command displays the table of neighboring devices? • B# show cdpneigbors
Review- q • What command turns CDP off for the router? • B(config)# no cdp run • Why would you turn CDP off? • Neighbors aren’t Cisco devices • Your Cisco router connects to a 3Com switch on Fa0/0 and a Cisco router on S0/0/0. What command will make the router not exchange CDP advertisements to the switch? • B(config-if)# no cdp enable
Review- Q • Identify what each category in the table means.
summary • You configured a router with basic settings. • You know how a router connects to an ISP with a CSU/DSU. • You can identify DCE and DTE devices. • You know which cable connects from the router to the CSU/DSU. • You can configure a clock rate on a serial interface. • You can configure a default route and know why you should configure one.
summary • You know the purpose of CDP and how/when it is used. • You can read a CDP table and can backwards design the network based on the output. • You know which command is used to display the CDP table and the detailed output. • You can turn CDP off on the router and on the interface.
Review & study • Complete the study guide handout • Take the quiz on netacad.com • Jeopardy review
routing Chapter 11 Intro to Routing & Switching