Specifications

7-2 ip Commands
Examples
ThefollowingexampleaddsanIPaddresstotheroutingtable,specifyingthenetm askinCIDR
formatanddisallowingOSPFoverrides
EWC.enterasys.com:ip# route 1.1.2.1/24 10.7.0.3 nofloat
ThefollowingexampleaddsanIPaddresstotheroutingtable,specifyingthenetm askasanIP
addressandallowingOSPFoverrides
EWC.enterasys.com:ip# route 1.1.2.1 255.255.255.0 10.7.0.3 float
Thefollowingexampleconfiguresthedefaultroute
EWC.enterasys.com:ip# route default 10.7.0.3
ThefollowingexampleremovesanIPaddressfromtheroutingtableandindicatesthenetmaskby
size
EWC.enterasys.com:ip# no route 1.1.2.1/24
ThefollowingexampleremovesanIPaddressfromtheroutingtableandindicatesthenetmaskby
IPaddress.
EWC.enterasys.com:ip# no route 1.1.2.1 255.255.255.0
Thefollowingexampleremovesthedefaultroutefromtheroutingtable
EWC.enterasys.com:ip# no route default
ThefollowingexampleremovesanIPaddressfromthe routingtablebyitsindexnumber
EWC.enterasys.com:ip# no route 12
7.2 ospf
Theospfcommandisassociatedwiththecontextip:ospf,whichcontainscommandstoconfigure
globalsettingsfortheOpenShortestPathFirst(OSPF)protocolonanetwork.
Thefollowingcommandsareavailableintheip:ospfcontext.
area
areatype
routerid
status
ospfinterfaceSeeospfinterfaceforcommandsintheip:ospf:ospfinterfacecontext.
7.2.1 area
Usetheareacommandtodefinetheareaidentificationofthe OSPFinterface.
Syntax
area <area_id>
<routeId> Specifiesindexnumberofrouteontheroutingtable