distance
Enterasys B5 CLI Reference 20-3
Example
ThisexampleshowshowtoenableRIP:
B5(su)->router#configure
B5(su)->router(Config)#router rip
B5(su)->router(Config-router)#
distance
UsethiscommandtoconfiguretheadministrativedistanceforRIProutes.Thenoformofthis
commandresetsRIPadministrativedistancetothedefaultvalueof120.
Syntax
distance weight
no distance [weight]
Parameters
Defaults
None.
Mode
Routerconfiguration:B5(su)‐>router(Config‐router)#
Usage
Ifseveralroutes(comingfromdifferentprotocols)arepresentedtotheEnterasysB5,theprotocol
withthelowestadministrativedistancewillbechosenforrouteinstallation.Bydefault,RIP
administrativedistanceissetto120.Thedistancecommandcanbeusedtochangethisvalue,
resettingRIP’sroutepreferenceinrelation
tootherroutesasshowninthetablebelow.
Example
ThisexampleshowshowtochangethedefaultadministrativedistanceforRIPto1001:
B5(su)->router(Config)#router rip
B5(su)->router(Config-router)#distance 100
weight SpecifiesanadministrativedistanceforRIProutes.Validvaluesare1‐255.
Route Source Default Distance
Connected 0
Static 1
OSPF 110
RIP 120