Switch User Manual

ip ospf enable
20-14 IPv4 Routing Protocol Configuration
Mode
Routerconfiguration:C3(su)>router(Configrouter)#
Example
ThisexampleshowshowtoenableRFC1583comp atibility:
C3(su)->router(Config)#router ospf 1
C3(su)->router(Config-router)#1583compatability
ip ospf enable
UsethiscommandtoenableOSPFonaninterface.ThenoformofthiscommanddisablesOSPFon
aninterface.
Syntax
ip ospf enable
no ip ospf enable
Parameters
None.
Defaults
None.
Mode
Interfaceconfiguration:C3(su)>router(Configif(Vlan1))#
Example
ThisexampleshowshowtoenableOSPFontheVLAN1interface:
C3(su)->router(Config)#interface vlan 1
C3(su)->router(Config-if(Vlan 1))#ip ospf enable
ip ospf areaid
UsethiscommandtoconfigureareaIDsforOSPFinterfaces.IfOSPFisenabledonaninterfaceas
describedinipospfenableonpage2014,theOSPFareawilldefaultto0.0.0.0.Thenoformof
thiscommandremovesOSPFroutingfortheinterfaces.
Syntax
ip ospf areaid area-id
no ip ospf areaid
Parameters
Defaults
None.
areaid SpecifiestheareaidtobeassociatedwiththeOSPFinterface.Validvalues
aredecimalvaluesorIPaddresses.