Commands used for Configuring RIP
Here are some useful commands used for configuring RIP
~~ router rip ~~
The router rip command turns the RIP routing process on.
Examples:-
The following example starts the routing process and switches the router to config-router mode.
Router(config)#router rip
This takes you to config-router mode. e.g.
Router(config-router)#
Use the no form of this command to turn the routing process off.
Router(config)#no router rip
To
view commands that can be used within the config-router mode use the ? command. Some of the useful commands that can be used in this mode are listed below:
Router(config-router)#?
~~ network ~~
The network command is used to specify a list of networks to be advertised in routing updates. If the network address of an interface does not match an entry in the list of networks to be advertised, then that interface will not be advertised in any RIP update.
Examples:-
The following example specifies that any directly commected networks falling within the 100.9.4.0 or 172.16.0.0 address classes should be included in routing updates:
Router(config)#router rip
Router(config-router)#network 100.9.4.0
Router(config-router)#network 172.16.0.0
To remove an entry from the network list, use the no form of this command.
Router(config-router)#no network 172.16.0.0
~~ version ~~
The version command is used to specify the RIP version to use.
Examples:-
The following example sets RIPv1 as the routing protocol to be used on all interfaces:
Router(config)#router rip
Router(config-router)#version 1
The following example sets RIPv2 as the routing protocol to be used:
Router(config-router)#version 2
|