Specifications

router id
16-14 IPv4 Routing Protocol Configuration
router id
UsethiscommandtosettheOSPFrouterIDforthedevice.ThisIPaddressmustbesetmanually
inordertorunOSPF.ThenoformofthiscommandremovestherouterIDforthede vice.
Syntax
router id ip-address
no router id
Parameters
Defaults
None.
Mode
Routerconfiguration:C3(su)>router(Configrouter)#
Example
ThisexampleshowshowtosettheOSPFrouterIDtoIPaddress182.127.62.1:
C3(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:C3(su)>router(Config)#
Usage
YoumustexecutetherouterospfcommandtoenabletheprotocolbeforecompletingmanyOSPF
specificconfigurationtasks.Fordetailsonenablingconfigurationmodes,refertoTable 142in
EnablingRouterConfigurationModesonpage143.
OnlyoneOSPFprocess(processid)isallowedperSecureStackC3router.
ipaddress SpecifiestheIPaddressthatOSPFwilluseastherouterID.
processid SpecifiestheprocessID,aninternallyusedidentificationnumberforan
OSPFroutingprocessrunonarouter.OnlyoneOSPFprocessisallowedper
stack.Validvaluesare1to65535.