Layer 3 Routing Commands 1779distance ripUse the distance rip command in Router RIP Configuration mode to set theroute preference value of RIP in the router. Lower route preference values arepreferred when determining the best route. Use the no form of the commandto return the preference to the default value.Syntaxdistance rip integerno distance rip• integer — RIP route preference. (Range: 1-255)Default Configuration15 is the default configuration.Command ModeRouter RIP Configuration mode.User GuidelinesThis command has no user guidelines.ExampleThe following example sets the route preference value of RIP in the router at100.console(config-router)#distance rip 100distribute-list outUse the distribute-list out command in Router RIP Configuration mode tospecify the access list to filter routes received from the source protocol. Usethe no form of the command to remove the access list from the specifiedsource protocol.Syntaxdistribute-list accesslistname out {bgp | ospf | static | connected}