CLI Reference Guide
Routing Information Protocol (RIP) Commands 791
Syntax
distance rip
integer
no distance rip
•
integer
—
RIP route preference. (Range: 1-255)
Default Configuration
15 is the default configuration.
Command Mode
Router RIP Configuration mode
User Guidelines
This command has no user guidelines.
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
accesslistname
out {ospf | static | connected}
no distribute-list
accesslistname
out {ospf | static | connected
}
•
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










