Here are some commands that you would use, for example, for a 3 member stack.
This uses ports 51 and 52 for the switch links, with 51 to 51 on switches 1,2 and 52 to 52 on switches 2,3, and then 52 to 51 on switches 1,3.
on the primary switch, conf t
vsf member 1
type jl728a
link 1 1/1/51
link 2 1/1/52
vsf member 2
type jl728a
link 1 2/1/51
link 2 2/1/52
vsf member 3
type jl728a
link 1 3/1/51
link 2 3/1/52
vsf secondary-member 2
Then on the second (and if necessary, third) switch, you'll connect direct to it (ssh or serial) and set them up with the following - first configure VSF, then renumber the switch:
Second switch:
conf t
vsf member 1
type jl728a
link 1 1/1/51
link 2 1/1/52
exit
vsf renumber-to 2
When you execute that command, it will ask for confirmation and then reboot - have the cable ready to connect the link and plug it in as soon as you reboot the switch on the renumber command.
And the third switch:
conf t
vsf member 1
type jl728a
link 1 1/1/51
link 2 1/1/52
exit
vsf renumber-to 3
Change the type to whatever your model is as needed. This can be seen in the config with show run - there is a vsf section even if you don't have a stack.
Another note - if you set a VSF member to something besides 1, the switch won't boot unless it finds a master. Also, recommend putting a backup switch in (that's the vsf secondary command) in case switch 1 goes down, that switch will take over and keep the rest of the stack up. Check the documentation for more info.
Hope this helps.
------------------------------
Phillip Horn
------------------------------