Creating a Virtual Switch Configuration
2-4 Configuring Switches in a Stack
Creating a Virtual Switch Configuration
YoucancreateaconfigurationforaSecureStackB3switchbeforeaddingtheactualphysical
devicetoastack.Thispreconfigurationfeatureincludesconfiguringprotocolsontheportsofthe
“virtualswitch.”
Tocreateavirtualswitchconfigurationinastackenvironment:
1. Displaythetypesofswitchessupportedinthestack,
usingtheshowswitchswitchtype
command(page2‐7).
2. Usingtheoutputoftheshowswitchswitchtypecommand,determinetheswitchindex(SID)
ofthemodelofswitchbeingconfigured.
3. Addthevirtualswitchtothestackusingthesetswitchmembercommand(page 2‐11).Use
theSIDofthe
switchmodel,determinedinthepreviousstep,andtheunitIDthatyouwantto
assigntothisswitchmember.
4. Proceedtoconfiguretheportsofthevirtualswitchasyouwoulddoforphysicallypresent
devices.
ThefollowingexampleaddsaB3G124‐24modeltoastackasunit2of
thestack.Thefirstporton
thatvirtualswitchisthenassociatedwithVLAN555.
B3(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
B3(su)->set switch member 2 9
B3(su)->show switch
Management Preconfig Plugged-in Switch Code
Switch Status Model ID Model ID Status Version
------ ------------ ------------- ------------- --------------------- --------
1 Mgmt Switch B3G124-48 B3G124-48 OK 1.1.xx
2 Unassigned B3G124-24 Not Present 00.00.00
B3(su)->set vlan create 555
B3(su)->clear vlan egress 1 ge.2.1
B3(su)->set port vlan ge.2.1 555 untagged
B3(su)->show port vlan ge.2.1
ge.2.1 is set to 555
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.