Objectives Upon completing this lesson, you will be able to: * Describe the features and operation of RIP ° Use Cisco IOS commands to configure dynamic routing using RIP, given a fun
Trang 1ili mami
CISCO SYSTEMS
a
Trang 2
Enabling RIP
Trang 3
Objectives
Upon completing this lesson, you will be able to:
* Describe the features and operation of RIP
° Use Cisco IOS commands to configure dynamic routing using RIP, given a functioning router
* Use show and debug commands to identify anomalies in dynamic routing operation using RIP, given an operational router
Trang 4RIP Overview
° Maximum is 6 paths (default = 4)
° Hop-count metric selects the path
* Routes update every 30 seconds
© 2002, Cisco Systems, Inc All rights reserved ICND v2.0—5-4
Trang 5IP Routing
Configuration Tasks
ay 1.11 TTTINNTTTTTTOONTTTTTTONONTTTTTOTONTTTTTTTTNTTTTTTTTTTT Cisco.com
Network 172.16.0.0
RIP <
¢ Router configuration
— Select routing protocols Re
— Specify networks or Network
RIP 4 >
Network 172.30.0.0
Trang 6Dynamic Routing Configuration
Router (config) #router protocol [keyword]
° Defines an IP routing protocol
Router (config-router) #network network-number
* Mandatory configuration command for each
IP routing process
° Identifies the physically connected network that
routing updates are forwarded to
© 2002, Cisco Systems, Inc All rights reserved ICND v2.0—5-6
Trang 7RIP Configuration
co (ÍIIllll(IIUUUUUI((UUUUUUll((UUUUUUUll((UUIUUUUllUVUUUUUUlllUUUV Cisco.com
Router (config) #router rip
° Starts the RIP routing process
° Selects participating attached networks
° Requires a major classful network number
Trang 8RIP Configuration Example
172.16.1.0 192.168.1.0
172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1
© 2002, Cisco Systems, Inc All rights reserved ICND v2.0—5-8
Trang 9Verifying the RIP Configuration
192.168.1.0
172.16.1.0
172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1
RouterA#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is
Interface Send Recv Triggered RIP Key-chain
Routing for Networks:
10.0.0.0 172.16.0.0
Routing Information Sources:
Trang 10Displaying the
IP Routing Table
XE E-=a4— 5⁄=ñrririm0iI00ffiIIiiINIllTfTNNilTTTNIIì
172.16.1.0
172.16.1.1 10.1.1.1 10.1.12 10.2.2.2 10.2.2.3 192.168.1.1
ị
Cisco.com
192.168.1.0
RouterA#show ip route
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
El - OSPF external type 1, E2 - OSPF external type 2, E - EGP
default
U - per-user static route, o - ODR
T - traffic engineered route Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
b 172.16.1.0 is directly connected, EthernetO
10.0.0.0/24 is subnetted, 2 subnets
R 10.2.2.0 [120/1] via 10.1.1.2, 00:00:07, Serial2
Cc 10.1.1.0 is directly connected, Serial2
R 192.168.1.0/24 [120/2] via 10.1.1.2, 00:00:07, Serial2
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
te
ICND20GR_231
© 2002, Cisco Systems, Inc All rights reserved ICND v2.0—5-10
Trang 11debug ip rip Command
172.16.1.0
192.168.1.0 172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1
ị
RouterA#debug ip rip RIP protocol debugging is on
RouterA#
00:06:24: RIP: received vl update from 10.1.1.2 on Serial2
00:06:24: 10.2.2.0 in 1 hops 00:06:24: 192.168.1.0 in 2 hops 00:06:33: RIP: sending vl update to 255.255.255.255 via EthernetO (172.16.1.1)
00:06:34: network 10.0.0.0, metric 1
00:06:34: RIP: sending vl update to 255.255.255.255 via Serial2 (10.1.1.1) 00:06:34: network 172.16.0.0, metric 1
ICND20GR_263
Trang 12
Summary
° RIP is a distance vector routing protocol that uses hop count as the metric for route selection and broadcasts routing updates every 30 seconds
° To enable a dynamic routing protocol, you will select the
routing protocol and then assign IP network numbers
- The router rip command specifies RIP as the routing protocol The network command identifies a participating attached network
- The show ip commands display information about routing
protocols and the routing table
° Use the debug Ip rip command to display information on
RIP routing transactions
© 2002, Cisco Systems, Inc All rights reserved ICND v2.0—5-12
Trang 13Cisco SYSTEMS
man
EMPOWERING THE INTERNET GENERATION