Download - routing
OBJECTIVES Upon completion of this chapter, you
should be able to:Configure a router with a basic
configurationConfigure a serial WAN link with a clock rateConfigure a default routeUse CDP to identify neighboring Cisco
devices
PACKET TRACER ACTIVITY
Open up Packet Tracer & add:A PC2960 switch1841 router w/ WIC-
2T added in slot 0Ethernet & console
cables
CONFIGURE THE ROUTER
Configure: Hostname- GCC Enable password- cisco Secret password- class Con 0 & vty password-
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 switchAnother PCConnect with
Ethernet and console cables
CONFIGURE THE ROUTER
Configure:Hostname- GCECEnable password- ciscoSecret password- classCon 0 & vty password-
gcitEncrypt all passwordsFa0/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 ISPYour router is a DTECSU/DSU is the DCE
Connects to ISP network Provides a clocking rate for signal
External CSU/DSU or module for router
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
CONFIGURE A DEFAULT ROUTE
Router forwards packet to a destination networkLooks at routing table to see which port to
go outYou can set a default route to go out if
destination network is not in routing table
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
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
OTHER CDP COMMANDS
Show cdp interfaceVerify frequency sentP2R3#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 cdp neigbors
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
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.