RIP Commands
XSR CLI Reference Guide 5-123

RIP Commands

distance (RIP)

Thiscommanddefinesadministrativedistances(routepreference)intheRIPdomain.TheRIP
defaultrankshigherthanallotherrouteddistances.
IfseveralroutestothesamedestinationareofferedtotheRoutingTableManager(RTM)by
differentprotocols,installationisbasedonthedistanceoftheprotocolwiththelowestvalue.You
cansetthesamedistancefordifferentprotocols(exceptformultiplestaticroutes)withatiebreak
basedondefaultdistances.
Refertodistance ospfcommandonpage147andip routeonpage209forcomparisonwith
OSPFandstaticroutes.
Syntax
distance weight
Syntax of the “no” Form
Thenocommandresetstheadministrativedistancetothedefaultvalue:
no distance weight
Defaults
•Distancesbetween241and255arereservedforinternaluse.
•Defaultdistancesmustnotbethesameforanytworoutingprotocols.
• RefertoTable52belowfordefaultdistances.
weight TheRIPadministrativedistance,rangingfrom1to240.
Table 5-2 Default Administrative Distances
Route Source Default Distance
Connected 0
Static 1
BGPexternal 20
OSPFintra 108
OSPFinternal 110
OSPFexternal 112
RIP 120
BGPinternal 200
Reserved 241255