Specifications

distance
16-4 IPv4 Routing Protocol Configuration
Example
ThisexampleshowshowtoenableRIPontheVLAN1interface:
C3(su)->router(Config)#interface vlan 1
C3(su)->router(Config-if(Vlan 1))#ip rip enable
distance
UsethiscommandtoconfiguretheadministrativedistanceforRIProutes.Thenoformofthis
commandresetsRIPadministrativedistancetothedefaultvalueof120.
Syntax
distance weight
no distance [weight]
Parameters
Defaults
None.
Mode
Routerconfiguration:C3(su)>router(Configrouter)#
Usage
Ifseveralroutes(comingfromdifferentprotocols)arepresentedtotheSecureStackC3Route
TableManager(RTM),theprotocolwiththelowestadministrativedistancewillbechosenfor
routeinstallation.Bydefault,RIPadministrativedistanceissetto120.Thedistancecommandcan
beusedtochangethisvalue,resettingRIP’s
routepreferenceinrelationtootherroutesasshown
inthetablebelow.
Example
ThisexampleshowshowtochangethedefaultadministrativedistanceforRIPto1001:
C3(su)->router(Config)#router rip
C3(su)->router(Config-router)#distance 100
weight SpecifiesanadministrativedistanceforRIProutes.Validvaluesare1‐255.
Route Source Default Distance
Connected 0
Static 1
OSPF 110
RIP 120