Enabling RIP
Follow these guidelines when you enable RIP:
To enable multiple RIP processes on a router, you must specify an ID for each process. A RIP process ID has only local significance. Two RIP routers having different process IDs can also exchange RIP packets.
If you configure RIP settings in interface view before enabling RIP, the settings do not take effect until RIP is enabled.
If a physical interface is attached to multiple networks, you cannot advertise these networks in different RIP processes.
You cannot enable multiple RIP processes on a physical interface.
The rip enable command takes precedence over the network command.
Enabling RIP on a network
You can enable RIP on a network and specify a wildcard mask for the network. After that, only the interface attached to the network runs RIP.
To enable RIP on a network:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable RIP and enter RIP view. | rip [ process-id ] [ vpn-instance vpn-instance-name ] | By default, RIP is disabled. |
3. Enable RIP on a network. | network network-address [ wildcard-mask ] | By default, RIP is disabled on a network. The network 0.0.0.0 command can enable RIP on all interfaces in a single process, but does not apply to multiple RIP processes. |
Enabling RIP on an interface
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable RIP and enter RIP view. | rip [ process-id ] [ vpn-instance vpn-instance-name ] | By default, RIP is disabled. |
3. Return to system view. | quit | N/A |
4. Enter interface view. | interface interface-type interface-number | N/A |
5. Enable RIP on the interface. | rip process-id enable [ exclude-subip ] | By default, RIP is disabled on an interface. |