22
Cisco Systems Networking Academy S2 C 12 Routing Protocols

Cisco Systems Networking Academy S2 C 12 Routing Protocols

Embed Size (px)

Citation preview

Page 1: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Cisco Systems Networking AcademyS2 C 12

Routing Protocols

Page 2: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Setup Mode

• Initial Configuration– No valid startup-config

– System load ends with setup mode

– Use system configuration dialogue to setup• Result is minimal-feature router configuration

• Can configure later to add protocol and interface changes– Minimal contains inventory of interfaces, opportunity to enter

global parameters, opportunity to enter interface parameters, setup script, opportunity to accept configuration

» Whey you answer YES, it becomes running configuration

» Configure allows you to enter additional commands

Page 3: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Initial Setup

• Each interface must be configures with an IP address and a mask– Set static routes

• Point-to-point

• Stub networks

– Set Default routes• No router table entry for destination network

– Set Dynamic routes• Router learns paths by receiving period updates from other

routers

Page 4: Cisco Systems Networking Academy S2 C 12 Routing Protocols

IP Route Command

• Requires– Network destination network– Mask subnet mask– Address IP address of next-hop router– Interface name of interface to use to get to

destination network– Distance Administrative distance – value

to help determine best path- low is good (trustworthiness 0-255)

Page 5: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Using IP Route Command

• IP route 172.11.1.0 255.255.255.0 172.11.2.1– Specifies static route to subnet

– Subnet mask in effect

– IP address of next-hop router in path to destination

• LAB– Configure a static route between neighboring routers

Page 6: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Default Network

• Router (config)# ip default-network 172.22.22.1– Configures default network

• Requires additional command– Redistribute static

• S0 all networks have knowledge of the candidate default network

Page 7: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Sample Commands

• Router (config)# router rip

• Router (config)# network 145.45.3.0

• Router (config)# network 191.23.21.0

• Router (config)# default-network 154.44.1.0

Page 8: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Autonomous System

• A routing protocol such as Cisco's IGRP requires that you specify this unique, assigned autonomous system number in your configuration.

• The Network Information Center (NIC) assigns a unique autonomous system to enterprises.

Page 9: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Autonomous Systems

• Interior Routing Protocols– Used within autonomous system

• RIP, IGRP, EIGRP, OSPF

• Exterior Routing Protocols– Used between autonomous systems

• BGP (Border Gateway Protocol)

• EGP (Exterior Gateway Protocol)

Page 10: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Global Configuration

• Select routing protocol (s)• Specify network (s)

– Router(config)# router rip• An option could be autonomous number

– Router(config-router)# 172.34.3.0• Specifies a directly connected router

• Interface Configuration– Verify address/subnet mask

Page 11: Cisco Systems Networking Academy S2 C 12 Routing Protocols

RIP

• Specified in RFC 1058– Distance vector– Hop count is metric– Max is 15; over 15 will discard packet– Routing updates broadcast every 30 seconds

• In RIP all subnet masks must be the same. RIP does not share subnetting information in routing updates.

Page 12: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Show IP Protocol

• Displays values, about routing timers and network information, that are associated with the entire router– Shows protocol, how often updated, next

update due time, hold down, routing for all networks, gateways, distances and last update

– Administrative distance – default 120

Page 13: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Show IP Route

• Lets you examine the contents of the routing table

• Essential (for troubleshooting why the router may be dropping or incorrectly routing packets

• Contains entries for all known networks and subnetworks with a code that shows how information was learned

Page 14: Cisco Systems Networking Academy S2 C 12 Routing Protocols

IGRP

• Distance-vector router protocol – Cisco

• Sends updates every 90 seconds– Handles indefinite, complex topologies– Flexible for different bandwidth & delay– Scalable for functioning in large networks– Composite metric

• Bandwidth, delay, load, reliability

• Speed is primary consideration

Page 15: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Enable IGRP

• Router (config) # router igrp autonomous-system

• Selects IGRP as routing protocol

• Router (config-router)# network network #• Identifies connected network

• Like RIP, all subnet masks must be the same – does not share subnetting information in routing updates

Page 16: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Sample Commands

• Router (config) # router igrp 109– Selects igrp as routing protocol for network 109

• Router (config-router)# network 1.0.0.0– Specifies directly connected networks

Page 17: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Show IP Protocol

• Router # show ip protocol– Identifies protocol– Show algorithm used to calculate metric– Shows update period and next due update– Shows hold down period– Shows networks routed– Shows routing information source

Page 18: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Show ip interface

Router > show ip interface

Displays status and global parameters associated with all IP interfaces

Cisco IOS enters route in routing table if interface can send and receive – marked up

Unusable interfaces are removed from table

Page 19: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Display from show ip interface

Internet Address and subnet mask & broadcast address

Access lists if any

Security level

Split horizon (enabled) or not

Other features enables or disabled

Page 20: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Show IP Route

• Examine contents of routing table

• Troubleshoot why packets are dropped or incorrectly routed

• Tables contains all known networks and subnets and metrics

• Shows how information was learned

• Shows if network is connected

Page 21: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Debug ip rip

• Powerful but bandwidth intensive• Allow real time examination of routing updates• Displays routing updates as they are sent and

received• Can decrease network performance and cause loss

or connectivity – use only during times of low network usage

• No debug ip rip• No debug all

Page 22: Cisco Systems Networking Academy S2 C 12 Routing Protocols

Lab

• Use Cisco commands learned to date– Loops

• Hold-down timers, max hop count, counting to infinity, poison reserve and split horizon

– DCE connection– Interfaces

• Configure entire 5-router network

• Troubleshoot problems