redistribute Configuring OSPF
Enterasys Matrix DFE-Gold Series Configuration Guide 21-37
Mode
Routercommand,Routerconfiguration:Matrix‐>Router(config‐router)#
Usage
ThisallowsaninterfacetobeincludedintheOSPFroutetable,butturnsoffsendingandreceiving
hellosforaninterface.ItalsopreventsOSPFadjacenciesfrombeingformedonaninterface.
The“no”formofthiscommanddisablespassiveOSPFmode.
Example
ThisexampleshowshowtoenablepassiveOSPFmodeonVLAN102:
Matrix->Router(config)#router ospf 1
Matrix->Router(config-router)#passive-interface vlan 102
redistribute
Usethiscommandtoallowroutinginformationdiscoveredthroughnon‐OSPFprotocolstobe
distributedinOSPFupdatemessages.
Syntax
redistribute {rip | static [metric metric value] [metric-type type-value]
[subnets] [tag] [route-map id-number] | {connected [route-map id-number] [metric
metric value] [metric-type type-value] [subnets] [tag tag]}
no redistribute {connected | rip | static}
Parameters
rip SpecifiesthatRIProutinginformationwillberedistributedinOSPF.
static Specifiesthatnon‐OSPFinformationdiscoveredviastaticrouteswillbe
redistributed.Staticroutesarethosecreatedusingtheiproute
commanddeta iledin“iproute”onpage 16‐26.
metricmetricvalue (Optional)Specifiesametricfortheconnected,
RIPorstatic
redistributionroute.Thisvalueshouldbeconsistentwiththe
designationprotocol.
metric‐typetypevalue (Optional)Specifiestheexternallinktypeassociatedwiththedefault
connected,RIPorstaticrouteadvertisedintotheOSPFroutingdomain.
Validvaluesare1fortype1externalroute,and2fortype
2external
route.
subnets (Optional)Specifiesthatconnected,RIPorstaticroutesthatare
subnettedrouteswillberedistributed.
tagtag (Optional)SpecifiesthattaggedrouteswillberedistributedinOSPF.
connected Specif iesthatnon‐OSPFinformationdiscoveredviadirectlyconnected
interfaceswillberedistributed.Theseareroutesnotspecifiedinthe
OSPFnetworkcommandasdescribedin“network”onpage 21‐23.
route‐map id‐number (Optional)Redistributesroutesusingtherulesestablishedbythe
designatedroute‐map.Validvaluesare1‐99.