router ospf
17-12 IPv4 Routing Protocol Configuration
Example
ThisexampleshowshowtosettheOSPFrouterIDtoIPaddress182.127.62.1:
C2(su)->router(Config-router)#router id 182.127.62.1
router ospf
UsethiscommandtoenableordisableOpenShortestPathFirst(OSPF)configurationmode.The
noformofthiscommanddisablesOSPFconfigurationmode.
Syntax
router ospf process-id
no router ospf process-id
Parameters
Defaults
None.
Mode
Globalconfiguration:C2(su)‐>router(Config)#
Usage
YoumustexecutetherouterospfcommandtoenabletheprotocolbeforecompletingmanyOSPF‐
specificconfigurationtasks.Fordetailsonenablingconfigurationmodes,refertoTable 15‐2in
“EnablingRouterConfigurationModes”onpage15‐2.
OnlyoneOSPFprocess(process‐id)isallowedperSecureStackC2router.
Example
ThisexampleshowshowtoenableroutingforOSPFprocess1:
C2(su)->router#conf terminal
C2(su)->router(Config)#router ospf 1
C2(su)->router(Config-router)#
1583compatibility
UsethiscommandtoenableRFC1583compatibilityonOSPFinterfaces.Thenoformofthis
commanddisablesRFC1583compatibilityonOSPFinterfaces.
Syntax
1583compatability
no 1583compatability
Parameters
None.
process‐id SpecifiestheprocessID,aninternallyusedidentificationnumberforan
OSPFroutingprocessrunonarouter.OnlyoneOSPFprocessisallowed
perstackorstandalone.Validvaluesare1to65535.