Specifications

Considerations About Using Clear Config in a Stack
2-4 Configuring Switches in a Stack
Tocreateavirtualswitchconfigurationinastackenvironment:
1. Displaythetypesofswitchessupportedinthestack,usingtheshowswitchswitchtype
command(page27).
2. Usingtheoutputoftheshowswitchswitchtypecommand,determinetheswitchindex(SID)
ofthemodelofswitchbeingconfigured.
3. Addthevirtual
switchtothestackusingthesetswitchmembercommand(page211).Use
theSIDoftheswitchmodel,determinedinthepreviousstep,andtheunitIDthatyouwantto
assigntothisswitchmember.
4. Proceedtoconfiguretheportsofthevirtualswitchasyouwoulddo
forphysicallypresent
devices.
ThefollowingexampleaddsaB2G12424modeltoastackasunit2ofthestack.Thefirstporton
thatvirtualswitchisthenassociatedwithVLAN555.
B2(su)->show switch switchtype
Mgmt Code
SID Switch Model ID Pref Version
--- -------------------------------- ---- ---------
1 B2G124-24 1 0xa08245
2 B2G124-48 1 0xa08245
3 B2G124-48P 1 0xa08245
4 B2H124-48 1 0xa08245
5 B2H124-48P 1 0xa08245
6 B3G124-24P 1 0xa08245
7 B3G124-48P 1 0xa08245
8 B3G124-48 1 0xa08245
9 B3G124-24 1 0xa08245
B2(su)->set switch member 2 1
B2(su)->show switch
Management Preconfig Plugged-in Switch Code
Switch Status Model ID Model ID Status Version
------ ------------ ------------- ------------- --------------------- --------
1 Mgmt Switch B2G124-48 B2G124-48 OK 4.02.xx
2 Unassigned B2G124-24 Not Present 00.00.00
B2(su)->set vlan create 555
B2(su)->clear vlan egress 1 ge.2.1
B2(su)->set port vlan ge.2.1 555 untagged
B2(su)->show port vlan ge.2.1
ge.2.1 is set to 555
Considerations About Using Clear Config in a Stack
Whenusingtheclearconfigcommand(page3 49)toclearconfigurationparametersinastack,it
isimportanttorememberthefollowing:
•UseclearconfigtoclearconfigparameterswithoutclearingstackunitIDs.Thiscommand
WILLNOTclearstackparametersortheIPaddressandavoidstheprocessof
renumbering
thestack.
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.