change the default rip timers – sh ip proto to see what they are.
router rip
ver 2
timers basic 60 360 360 480
————————————————-
delay a regular periodic update by 100 ms after receiving an update
router rip
ver 2
timers basic 60 360 360 480 100 < — this is the sleep timer.
—————————————————————
supress a flash update if the regular update is due in 10 seconds or less
router rip
ver 2
flash-update-theshold 10
——————————————————————–
md5 authentication in ripv2
key chain MD5
key 1
key-string ciscomd5
int e0/0
ip rip authentication key-chain MD5
ip rip authentication mode md5
———————————————————————–
R1 and bb1 are in different rip domains but you still want to receive rip routes from bb1
router rip
ver 2
no validate-update-source
——————————————————————-
allow only prefix-length of /10 – /26 in the routing table- do not use neighbor to accomplish this task.
ip prefix-list NET seq 5 permit 0.0.0.0/0 ge 10 le 26 <– this identify’s routes with that have a prefix length of /10 – /26
ip prefix-list BB1 seq 5 permit 131.1.1.1.1/32 < — identify’s BB1 prefix
router rip
distribute-list prefix NET gateway BB1 in e0/0
——————————————————————————
Router(config-router)# offset-list [access-list-number | access-list-name] {in | out} offset [interface-type interface-number]
——————————————————–
conf t
router eig 100
no auto
net 131.1.112.0 0.0.0.255
inject a default route into rip v2 if one of the 2 networks are advertised by bb2 are in the routing table.
access-list 1 permit 11.1.1.0 0.0.0.255
access-list 1 perm 12.1.1.0 0.0.0.255
route-map MATCHIPINTABLE
match ip add 1
router rip
default-information originate route-map MATCHIPINTABLE
do not allow r4 to advertise networks from bb1 to downstream neighbors. Anything past a hop count of 15 will be dropped.
access-list 1 permit 103.0.0.0 0.63.255.255 log
access-list 1 permit 104.0.0.0 0.31.255.255
access-list 1 permit 105.0.0.0 0.3.255.255 log
access-list 1 permit 107.1.1.0 0.0.0.63
access-list 1 permit 108.1.1.64 0.0.0.63
access-list 1 permit 109.1.4.0 0.0.3.255
router rip
version 2
timers basic 60 360 360 480
offset-list 1 out 12 Serial1/0.12 < — offset the routing metric by 12 so next hope will be 14
offset-list 1 out 13 Serial1/0.14 < — offset the routing metric by 12 so next hope will be 15
no validate-update-source <——- do not validate the route’s update source.
——————————————–
supress periodic ripv2 uipdates. routers should only send updates if there is a topology change.
int s1/0./13
ip rip triggered
——————————————–
send unicast updates
conf t
router rip
passive int e0/1
nei 131.1.24.2
———————————–
send via rip2 updates via broadcast
int e0/0
ip rip v2-broadcast
debug ip rip
RIP protocol debugging is on
R6(config-if)#
*Mar 1 00:58:38.799: RIP: sending v2 update to 255.255.255.255 via Ethernet0/0 (131.1.56.6
————————-
advertise a single summary address
150.1.0.3 /24
150.1.1.3 /24
150.1.2.3 /24
150.1.3.3 /24
int s1/0.31
ip summary-address rip 150.1.0.0 255.255.252.0
———————————————-
r1 is a high speed rtr. r3 is a slow rtr
config r1 to wait 10msec between rip packets
config r3 to increase its RIP queue depth to 75
r1
conf t
router rip
output-delay 10
r3
conf t
router rip
input-queue 75
————————-
configure r6 so that r4 recieves even routers from r6 and odd routes from r5.
Loopback0 160.1.0.6 YES manual up up
Loopback1 160.1.1.6 YES manual up up
Loopback2 160.1.2.6 YES manual up up
Loopback3 160.1.3.6 YES manual up up
Loopback9 160.1.9.6 YES manual up up
access-list 1 permit 160.1.1.0 0.0.254.255
access-list 2 permit 160.1.0.0 0.0.254.255
router rip
ver 2
offset-list 2 out 15 e0/0 <- to r5 -since it’s 15 this will drop even routes to r5, sending odd routes
offset-list 1 out 15 s1.0.64 <- to r4 -since it’s 15 this will drop odd routes to r4, sending even routes
net 160.1.0.0
R4(config-router)#do sho ip route 160.1.0.0 ?
% Unrecognized command
R4(config-router)#do sho ip route 160.1.0.0
Routing entry for 160.1.0.0/24, 5 known subnets
Redistributing via rip
R 160.1.1.0 [120/2] via 131.1.45.5, 00:00:02, Serial1/0.45 — = r5
R 160.1.0.0 [120/1] via 131.1.46.6, 00:00:39, Serial1/0.46 — = r6
R 160.1.3.0 [120/2] via 131.1.45.5, 00:00:02, Serial1/0.45 — = r5
R 160.1.2.0 [120/1] via 131.1.46.6, 00:00:39, Serial1/0.46 — = r6
R 160.1.9.0 [120/2] via 131.1.45.5, 00:00:02, Serial1/0.45 — = r5
—————————————————————————————————————–
config r2 so that it advertises all rip routes to bb3 without chaning the vlan info on cat
router rip
no validate-update-source
net 131.1.0.0
sw-1
conf t
monitor session 1 source inter f1/3 both
monitor session 2 destination inter f1/11
——————————————————————–
configure clear text authentication ———(FYI with clear text authentication the numbers do not need to match)
config t
key chain CLEAR
key 1
key-string cisco
int e0/0
ip rip authen key-chain CLEAR
————————————————————————-
conifg ripv2 MD5 authentication
key chain MD5
key 1
key-string cisco23
int e0/1
ip rip authentica key-chain MD5
ip rip authentica mode md5
——————————————————————————
configure r2 so that it receives all routes form R3. R3 ignores all v2 packets fomr R2 because of invalid authentication.
r2
key chain MD5
key 2 <—————-
key-string cisco23
———————– in ripv2 md2 if the keys do not match the higher key will receive all the routes and it will
polulate all the received routes in the routing table. The router with the lower key will totally ignore all routes received
for the other router.
——————————————————————————————————————-
if the interface is configured in a multipoint using a sub interface manner then IP split horizon is ENABLED.
sh ip int int s1/0.23
split horizon is enabled
if the interface is configured in a multipoing using the physical interface then IP split horizon is DISABLED.
sh ip int s1/0
split horizon is diabled
———————————————————————————————–
ppp over frame-relay
conf t
int virtual-template 123
ip address 10.1.1.1 255.255.255.0
int s1/0
frame-relay interface-dlci 102 ppp virtual-template 123
————————————————————–