RIP Configuration commands for router step by step

Configuring Routing Information Protocol version 2 (RIPv2) on a Cisco router requires entering configuration mode, defining the routing process, and advertising the directly connected classful networks.

1.Enter Global Configuration Mode:

Access privileged EXEC mode and enter configuration mode:

Cisco CLI

Router> enable
Router# configure terminal

2.Initialize the RIP Routing Process:

Start the RIP routing engine on the router:

Cisco CLI

Router(config)# router rip

3.Enable RIP Version 2:

Specify Version 2 to support classless routing (VLSM) and multicast updates (224.0.0.9) instead of broadcasts:

Cisco CLI

Router(config-router)# version 2

4.Disable Automatic Summarization:

Prevent the router from automatically summarizing subnets to their classful boundaries:

Cisco CLI

Router(config-router)# no auto-summary

5.Advertise Connected Networks:

Declare each directly connected major network that RIP should participate in:

Cisco CLI

Router(config-router)# network 192.168.1.0
Router(config-router)# network 10.0.0.0

6.Configure Passive Interfaces (Optional):Recommended on LAN ports with no downstream routers.

Suppress outbound RIP update broadcasts on user-facing interfaces to conserve bandwidth and increase security:

Cisco CLI

Router(config-router)# passive-interface GigabitEthernet0/0
Router(config-router)# exit
Router(config)# exit

7.Verify RIP Configuration:

Verify active routing tables and protocol operations from privileged EXEC mode:

Cisco CLI

Router# show ip route rip
Router# show ip protocols

Leave a Reply

Your email address will not be published. Required fields are marked *