Considerations About Using Clear Config in a Stack
2-4 Configuring Switches in a Stack
Tocreateavirtualswitchconfigurationinastackenvironment:
1. Displaythetypesofswitchessupportedinthestack,usingtheshowswitchswitchtype
command(page2‐6).
2. Usingtheoutputoftheshowswitchswitchtypecommand,determinetheswitchindex(SID)
ofthemodelofswitchbeingconfigured.
3. Addthevirtual
switchtothestackusingthesetswitchmembercommand(page2‐10).Use
theSIDoftheswitchmodel,determinedintheprevious step,andtheunitIDthatyouwantto
assigntothisswitchmember.
4. Proceedtoconfiguretheportsofthevirtualswitchasyouwoulddo
forphysicallypresent
devices.
B5(su)->set vlan create 555
B5(su)->clear vlan egress 1 ge.2.1
B5(su)->set port vlan ge.2.1 555 untagged
B5(su)->show port vlan ge.2.1
ge.2.1 is set to 555
Considerations About Using Clear Config in a Stack
Whenusingtheclearconfigcommand(page3 ‐50)toclearconfigurationparametersinastack,it
isimportanttorememberthefollowing:
•UseclearconfigtoclearconfigparameterswithoutclearingstackunitIDs.Thiscommand
WILLNOTclearstackparametersortheIPaddressandavoidstheprocessof
renumbering
thestack.
•Useclearconfigallwhenitisnecessarytoclearallconfigparameters,includingstackunit
IDsandswitchpriorityvalues.ThiscommandwillnotcleartheIPaddressnorwillitremove
anappliedadvancedfeaturelicense.
•UseclearipaddresstoremovetheIPaddressofthe
stack.
•Useclearlicensetoremoveanappliedlicensefromaswitch.
Configurationparametersandstackinginformationcanalsobeclearedonthemasterunitonly
byselectingthe“restoreconfigurationtofactorydefaults”optionfromthebootmenuonswitch
startup.Thisselectionwillleavestackingprioritiesonallother
units.
Note: If you preconfigure a virtual switch and then add a physical switch of a different type to the
stack as that unit number, any configured functionality that cannot be supported on the physical
switch will cause a configuration mismatch status for that device and the ports of the new device will
join detached. You must clear the mismatch before the new device will properly join the stack.