Switch User Manual

Creating a Virtual Switch Configuration
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.
ThefollowingexampleaddsaC3G12424modetoastackasunit2ofthestack.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
13 C3K172-24 1 0xa08245
15 C3K122-24 1 0xa08245
17 C3K122-24P 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 C3G124-48 OK 6.03.xx.xxxx
2 Unassigned C3G124-24 Not Present 00.00.00
C3(su)->set vlan create 555
C3(su)->clear vlan egress 1 ge.2.1
C3(su)->set port vlan ge.2.1 555 untagged
C3(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.