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(Config‐router)#
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 14‐2in
“EnablingRouterConfigurationModes”onpage14‐3.
OnlyoneOSPFprocess(process‐id)isallowedperSecureStackC3router.
ip‐address SpecifiestheIPaddressthatOSPFwilluseastherouterID.
process‐id SpecifiestheprocessID,aninternallyusedidentificationnumberforan
OSPFroutingprocessrunonarouter.OnlyoneOSPFprocessisallowedper
stack.Validvaluesare1to65535.