receive-interface
26-6 IPv4 Basic Routing Protocol Configuration
receive-interface
Use this command to allow RIP to receive update packets on an interface. The no form of this
command denies the reception of RIP updates. By default, receiving is enabled on all routing
interfaces.
Syntax
receive-interface vlan vlan-id
no receive-interface vlan vlan-id
Parameters
Defaults
None.
Mode
Router configuration: C3(su)->router(Config-router)#
Usage
This command does not affect the sending of RIP updates on the specified interface.
Example
This example shows how to deny the reception of RIP updates on VLAN 2:
C3(su)->router(Config)#router rip
C3(su)->router(Config-router)#no receive-interface vlan 2
redistribute
Use this command to allow routing information discovered through non-RIP protocols to be
distributed in RIP update messages. The no form of this command clears redistribution
parameters.
Syntax
redistribute {connected | ospf process-id | static} [metric metric value]
[subnets]
no redistribute {connected | ospf process-id | stat
vlan vlan-id Specifies the number of the VLAN to make a receive interface. This VLAN
must be configured for IP routing as described in “Pre-Routing
Configuration Tasks” on page 24-1.
connected Specifies that non-RIP routing information discovered via directly
connected interfaces will be redistributed.
ospf Specifies that OSPF routing information will be redistributed in RIP.
process-id Specifies the process ID, an internally used identification number for each
instance of the OSPF routing process run on a router. Valid values are 1 to
65535.
static Specifies that non-RIP routing information discovered via static routes will
be redistributed. Static routes are those created using the ip route
command detailed in “ip route” on page 25-21.