Specifications
Creating a Virtual Switch Configuration
2-4 Configuring Switches in a Stack
Creating a Virtual Switch Configuration
YoucancreateaconfigurationforaSecureStackC3switchbeforeaddingtheactualphysical
devicetoastack.Thispreconfigurationfeatureincludesconfiguringprotocolsontheportsofthe
“virtualswitch.”
Tocreateavirtualswitch configurationinastackenvironment:
1. Displaythetypesofswitchessupportedinthestack,
usingtheshowswitchswitchtype
command(page2‐8).
2. Usingtheoutputoftheshowswitchswitchtypecommand,determinetheswitchindex(SID)
ofthemodelofswitchbeingconfigured.
3. Addthevirtualswitchtothestackusingthesetswitchmembercommand (page2‐12).Use
theSID
oftheswitchmodel,determinedinthepreviousstep,andtheunitIDthatyouwantto
assigntothisswitchmember.
4. Proceedtoconfiguretheportsofthevirtualswitchasyouwoulddoforphysicallypresent
devices.
ThefollowingexampleaddsaC3G124‐24modetoastackasunit
2ofthestack.Thefirstporton
thatvirtualswitchisthenassociatedwithVLAN555.
C3(su)->show switch switchtype
Mgmt Code
SID Switch Model ID Pref Version
--- -------------------------------- ---- ---------
1 C2G124-24 1 0xa08245
2 C2K122-24 1 0xa08245
3 C2G124-48 1 0xa08245
4 C2G124-48P 1 0xa08245
5 C2H124-48 1 0xa08245
6 C2H124-48P 1 0xa08245
7 C2G134-24P 1 0xa08245
8 C2G170-24 1 0xa08245
9 C3G124-24P 1 0xa08245
10 C3G124-48P 1 0xa08245
11 C3G124-48 1 0xa08245
12 C3G124-24 1 0xa08245
C3(su)->set switch member 2 12
C3(su)->show switch
Management Preconfig Plugged-in Switch Code
Switch Status Model ID Model ID Status Version
------ ------------ ------------- ------------- --------------------- --------
1 Mgmt Switch C3G124-48 C3H124-48 OK 1.00.xx
2 Unassigned C3G124-24 Not Present 00.00.00
C3(su)->set vlan create 555
C3(su)->clear vlan egress 1 fe.2.1
C3(su)->set port vlan fe.2.1 555 untagged
C3(su)->show port vlan fe.2.1
fe.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.