show ip ospf
SecureStack C2 Configuration Guide 17-25
Parameters
Defaults
Ifî ±metricî ±valueî ±isî ±notî ±specified,î ±0î ±willî ±beî ±applied.
Ifî ±typeî ±valueî ±isî ±notî ±specified,î ±typeî ±2î ±(externalî ±route)î ±willî ±beî ±applied.
Ifî ±subnetsî ±isî ±notî ±specified, î ±onlyî ±theî ±shortestî ±prefixî ±matchingî ±routesî ±willî ±beî ±redistributed.
Mode
Routerî ±configuration:î ±C2(su)â>router(Configârouter)#
Example
Thisî ±exampleî ±showsî ±howî ±toî ±redistributeî ±RIPî ±routingî ±informationî ±toî ±nonâsubnettedî ±routesî ±inî ±OSPFî ±
routes:
C2(su)->router(Config)#router ospf
C2(su)->router(Config-router)#redistribute rip
show ip ospf
Useî ±thisî ±commandî ±toî ±displayî ±OSPFî ±information.
Syntax
show ip ospf
Parameters
None.
Defaults
None.
Mode
Anyî ±routerî ±mode.
connectedî ± Specifiesî ±thatî ±nonâOSPFî ±informationî ±discoveredî ±viaî ±directlyî ±connectedî ±
interfacesî ±willî ±beî ±redistributed.î ±
rip Specifiesî ±thatî ±RIPî ±routingî ±informationî ±willî ±beî ±redistributedî ±inî ±OSPF.î ±
static Specifiesî ±thatî ±nonâOSPFî ±informationî ±discoveredî ±viaî ±staticî ±routesî ±willî ±beî ±
redistributed.î ±Staticî ±routesî ±areî ±thoseî ±createdî ±usingî ±theî ±ipî ±routeî ±commandî ±
detailedî ±
inî ±âipî ±routeâî ±onî ±pageî ±16â14.î ±
metricî ±metricî ±value (Optional)î ±Specifiesî ±aî ±metricî ±forî ±theî ±connected,î ±RIPî ±orî ±staticî ±redistributionî ±
route.î ±Thisî ±valueî ±shouldî ±beî ±consistentî ±withî ±theî ±designationî ±protocol.
metricâtypeî ±typeî ±
value
(Optional)î ±Specifiesî ±theî ±externalî ±linkî ±typeî ±associatedî ±withî ±theî ±defaultî ±
connected,î ±RIPî ±orî ±staticî ±routeî ±advertisedî ±
intoî ±theî ±OSPFî ±routingî ±domain.î ±
Validî ±valuesî ±areî ±1î ±forî ±typeî ±1î ±externalî ±route,î ±andî ±2î ±forî ±typeî ±2î ±externalî ±route.
subnets (Optional) î ±Specifiesî ±thatî ±connected,î ±RIP,î ±orî ±staticî ±routesî ±thatî ±areî ±subnettedî ±
routesî ±willî ±beî ±redistributed.