clear config
3-48 Basic Configuration
clear config
Usethiscommandtocleartheuser‐definedconfigurationparam eters.
Syntax
clear config [all]
Parameters
Defaults
Ifallisnotspecified,stackingconfigurationparameterswillnotbecleared.
Mode
Switchcommand,read‐write.
Usage
ExecutingthiscommandwillcleartheconfigurationinbothNVRAMandonthememorycard,if
oneisinstalledontheswitch.
ThiscommandwillnotcleartheIPaddressoftheswitch.Usetheclearipaddresscommandto
cleartheIPaddress.
Whenusingtheclearconfigcommandtoclear
configurationparametersinastack,itisimportant
torememberthefollowing:
•UseclearconfigtoclearconfigurationparameterswithoutclearingstackunitIDs.This
commandWILLNOTclearstackparametersandavoidstheprocessofre‐numbering the
stack.
•Useclearconfigallwhenitisnecessarytoclearall
configurationparameters,includingstack
unitIDs(ifapplicable)andswitchpriorityvalues.
•UsetheclearipaddresscommandtocleartheIPaddress.
Configurationparametersandstackinginformationcanalsobeclearedonthemasterunitonlyby
selectingoption10(restoreconfigurationtofactorydefaults)fromthe bootmenuonswitch
startup.Thisselectionwillleavestackingprioritiesonallotherunits,ifapplicable.
Example
Thisexampleshowshowtoclearconfigurationparameters(includingstackingparameters,if
applicable):
C2(su)->clear config all
Using and Configuring WebView
Purpose
Bydefault,WebView(TheEnterasysNetworksembeddedwebserverforswitchconfiguration
andmanagementtasks)isenabledonTCPportnumber80ontheSecureStackC2switch.Youcan
verifyWebViewstatus,andenableordisableWebViewusingthecommandsdescribedinthis
all (Optional)Clearsuser‐definedconfigurationparameters(and
stackunit
numbersandpriorities,ifapplicable).