show ip ospf
SecureStack C2 Configuration Guide 17-25
Parameters
Defaults
Ifmetricvalueisnotspecified,0willbeapplied.
Iftypevalueisnotspecified,type2(externalroute)willbeapplied.
Ifsubnetsisnotspecified, onlytheshortestprefixmatchingrouteswillberedistributed.
Mode
Routerconfiguration:C2(su)‐>router(Config‐router)#
Example
ThisexampleshowshowtoredistributeRIProutinginformationtonon‐subnettedroutesinOSPF
routes:
C2(su)->router(Config)#router ospf
C2(su)->router(Config-router)#redistribute rip
show ip ospf
UsethiscommandtodisplayOSPFinformation.
Syntax
show ip ospf
Parameters
None.
Defaults
None.
Mode
Anyroutermode.
connected Specifiesthatnon‐OSPFinformationdiscoveredviadirectlyconnected
interfaceswillberedistributed.
rip SpecifiesthatRIProutinginformationwillberedistributedinOSPF.
static Specifiesthatnon‐OSPFinformationdiscoveredviastaticrouteswillbe
redistributed.Staticroutesarethosecreatedusingtheiproutecommand
detailed
in“iproute”onpage16‐14.
metricmetricvalue (Optional)Specifiesametricfortheconnected,RIPorstaticredistribution
route.Thisvalueshouldbeconsistentwiththedesignationprotocol.
metric‐typetype
value
(Optional)Specifiestheexternallinktypeassociatedwiththedefault
connected,RIPorstaticrouteadvertised
intotheOSPFroutingdomain.
Validvaluesare1fortype1externalroute,and2fortype2externalroute.
subnets (Optional) Specifiesthatconnected,RIP,orstaticroutesthataresubnetted
routeswillberedistributed.