RIP Overview
This section provides an overview of RIP configuration.
Enabling RIP on the device starts the RIP process which then begins populating its routing table and sending and receiving routing updates. Use the router rip command in configuration command mode to both enable RIP on the device and enter RIP configuration command mode.
Within RIP configuration command mode:
- Attach one or more networks to the RIP process specifying the IP address of the directly connected network, followed by the wildcard mask for this network. RIP network wildcard masks are reverse networks (use 1‘s for don‘t care bits). Use the network command to attach one or more networks to this RIP process.
- Optionally assign ACLs to a distribution list to filter networks received and to suppress networks from being advertised in RIP updates. Use the distribute-list command to assign an ACL to the list, specifying an IP routing configured VLAN and whether the affected routing updates are incoming or outgoing.
- Optionally change the preference value for using RIP as the routing protocol for this device by changing the RIP administrative distance value using the distance command.
- Optionally specify interfaces which will not transmit any RIP update packets using the passive-interface command.
- Optionally adjust routing timers associated with:
- Specify route types that can be redistributed in RIP update messages using the redistribute command. The S- K- and 7100-Series supports redistribution of connected and static routes, optionally specifying the hop count metric for these routes, or specifying OSPF using the process ID to redistribute.
RIP Configuration Example
The following configuration example:
- Enables the RIP process on this device and enters RIP configuration command mode
- Attaches the 10.10.20.0 and 10.10.50.0 networks to this RIP process
- Configures VLANs 10 and 20 as passive-interfaces
- Changes the RIP timers to a 25 second update time, a 150 second expiration interval, and a 100 second flush time:
- Configures the redistribution of OSPF process ID 16546 routes over this RIP process
Configures access-list 1 with a rule to deny subnet 10.10.30.0 and applies the ACL to the distribution-list for outgoing packets on VLAN 5
System(rw-config)->router rip
System(rw-config-rip)->network 10.10.20.0 0.0.0.255
System(rw-config-rip)->network 10.10.50.0 0.0.0.255
System(rw-config-rip)->passive-interface vlan 10
System(rw-config-rip)->passive interface vlan 20
System(rw-config-rip)->timers basic 25 150 100
System(rw-config-rip)->redistribute ospf 16546
System(rw-config-rip)->exit
System(rw-config)->access-list 1 deny 10.10.30.0 0.0.0.255
System(rw-config)->router rip
System(rw-config-rip)->distribute-list 1 out vlan 5
System(rw-config-rip)->exit
System(rw-config-)->