For setting up your Vlans, on whatever your main switch is, (this example is CatOS, it's slightly different for IOS...
set vtp domain <VlanDomain>
set vtp pruning enable
set vlan 540 name LAW-Switches type ethernet mtu 1500 said 100540 state active
set vlan 541 name LAW-Classrooms-1-2 type ethernet mtu 1500 said 100541 state active
set vlan 542 name LAW-Classrooms-3-4 type ethernet mtu 1500 said 100542 state active
set vlan 543 name LAW-Public type ethernet mtu 1500 said 100543 state active
these are a couple of my vlans... the next thing is you will need to go into each switch and:
set vtp domain <VlanDomain>
set vtp mode client vlan
after it's all set up you can then check
show vlan
and you should have your vlans listed.
Next you need to establish trunk ports between the switches to carry the traffic for all the vlans...
you can do this a couple ways, set up multiple seperate links that each carry 1-2 vlans, set up multiple aggregated links that carry all the vlans, or single links that carry all the vlans...
Mostly I use single 1gb links except for my trunk to another building where I run a 2gb feed to them...
set trunk 1/1 desirable dot1q 1-1005,1025-4094
or
set trunk 1/1 desirable dot1q 1-1005,1025-4094
set trunk 1/2 desirable dot1q 1-1005,1025-4094
set port channel 1/1-2 mode on
Note, Some switches may require the trunk to be forced ON instead of desirable...
Lastly, you need to set up your router to route all the vlan traffic...
<b>ip multicast-routing
!
interface Vlan540
description LAW-Switches
ip address <IP for Router> <SubnetMask for IP Block>
ip helper-address <DHCP server IP>
no ip redirects
ip pim dense-mode
mls rp vtp-domain <VlanDomain>
mls rp management-interface
mls rp ip
!</b>
I need the IP Multicast Routing and the mls stuff because I use Ghost to clone PC's, you may or not need to do this.. I also use 2 routers in active/active mode in my 6509, I removed this code for clarity but if you need it let me know...
okay, for the DHCP, what happens is in the router for each vlan you specify
ip helper-address <DHCP server IP>
then you specify seperate scopes for the different IP ranges, make sure there seperate scopes, not super-scopes
If you have additional questions, or someone else wishes to expand correct, Please feel free...
-Mike