CHAPTER 5 EXAMPLES OF SETUP ON NETWORKS
ROUTING SETUP EXAMPLES (IPv4)
Setting RIP and RIPv2
Setting
The following explains an example of setting RIPv2.
To set RIPv2, use the ip rip command in interface config mode in which an RIP routing advertisement can be sent. You can set RIPv2 in the same way as RIP except that you must use “2” as the version parameter.
In this example, RIPv2 is set in LAN2 (Ethernet network).
Router (config) # interface Ethernet0.0 Enter
Router (config − Ethernet0.0) # ip rip send version 2 Enter
Router (config − Ethernet0.0) # ip rip receive version 2 Enter
Router (config − Ethernet0.0) # ip rip enable Enter
Router (config − Ethernet0.0) #
MEMO: By default, the
Starting RIP
Start RIP. To start and stop RIP, use the ip router rip command in global config mode.
Use the redistribute command to report information on network C to router A that performs RIP commu- nication with the
Router (config − Ethernet0.0) # exit Enter
Router (config) # ip router rip Enter
Router (config − ip − rip) # redistribute conneted Enter
Router (config − ip − rip) # exit Enter
Router (config) #
– 118 – | |
| atch5001.fm |