Example
The following example sets the route preference value of RIP in the router at 100.
console(config-router)#distance rip 100
distribute-list out
Use the distribute-list out command in Router RIP Configuration mode to specify the access
list to filter routes received from the source protocol. Use the no form of the command to
remove the access list from the specified source protocol.
Syntax
distribute-list
no distribute-list
accesslistname — The name used to identify the existing ACL. The range is 1-31 characters.
•
•
ospf — Apply the specific access list when OSPF is the source protocol.
•
static — Apply the specified access list when packets come through a static route.
connected — Apply the specified access list when packets come from a directly connected
•
route.
Default Configuration
This command has no default configuration.
Command Mode
Router RIP Configuration mode.
User Guidelines
This command has no user guidelines.
Example
The following example elects access list ACL40 to filter routes received from the source
protocol.
console(config-router)#distribute-list ACL40 out static
enable
Use the enable command in Router RIP Configuration mode to reset the default administrative
mode of RIP in the router (active). Use the no form of the command to disable the
administrative mode for RIP.
848
Routing Information Protocol Commands
accesslistname
out {ospf | static | connected}
accesslistname
out {ospf | static | connected}