Router(config)# router rip
w.x.y.z is the network number of the directly connected network you want to advertise:
Router(config-router)# network w.x.y.z
NOTE: You need to advertise only the classful network number, not a subnet:
Router(config-router)# network 172.16.0.0
not
Router(config-router)# network 172.16.10.0
If you advertise a subnet, you will not receive an error message, because the router will automatically convert the subnet to the classful network address.
Turns off the RIP routing process:
Router(config)# no router rip
Remove network w.x.y.z from the process the RIP routing process:
Router(config-router)# no network w.x.y.z
RIP will now send and receive RIPv2 packets globally:
Router(config-router)# version 2
RiP will now send and receive RIPv1 packets globally:
Router(config-router)# version 1
The interface will send only RIPv1 packets:
Router(config-if)# ip rip send version 1
The interface will send only RIPv2 packets:
Router(config-if)# ip rip send version 2
The interface will send both RIPv1 and RIPv2 packets:
Router(config-if)# ip rip send version 1 2
The interface will receive only RIPv1 packets:
Router(config-if)# ip rip receive version 1
The interface will receive only RIPv2 packets:
Router(config-if)# ip rip receive version 2
The interface will receive both RIPv1 and RIPv2 packets:
Router(config-if)# ip rip receive version 1 2
RIPv2 summarizes networks at the classful boundary. This command turns auto-summarization off:
Router(config-router)# no auto-summary
RIP updates will not be sent out this interface:
Router(config-router)# passive-interface s0/0/0
Defines a specific neighbor with which to exchange information:
Router(config-router)# neighbor a.b.c.d
Turns off split hosrizon (ON by default):
Router(config-router)# no ip split-horizon
Reenables split Horizon:
Router(config-router)# ip split-horizon
Changes timers in RIP:
30 = Update timer (in seconds)
90 = Invalid timer (in seconds)
180 = Hold-down timer (in seconds)
270 = Flush timer (in seconds)
Default timer is:
30 = Update timer (in seconds)
180 = Invalid timer (in seconds)
180 = Hold-down timer (in seconds)
240 = Flush timer (in seconds)
Router(config-router)# timers basic 30 90 180 270
Limits the number of paths for load balancing to x (4 = default, 6 = maximum).
Router(config-router)# maximum-paths x
Generates a default route into RIP:
Router(config-router)# default-information originate
Display all RIP activity in real time:
Router# debug ip rip
Display the contents of the RIP database:
Router# show ip rip database
biOos
No comments:
Post a Comment