New VLAN on Two Cisco 2960's
Posted on 2013-01-22
I want to create a VLAN that encompasses four ports, two on each of my brand new Cisco 2960 switches.
I have already created the same VLAN on both switches and assigned it to ports 21 and 22 on both:
vlan 10 name studio
on interface 21 and 22 I issued:
switchport access vlan 10
When I show vlan I see vlan 10 and ports 21 and 22 assigned on each switch.
At this point two computers hooked up to ports 21 and 22 should see each other correct? I cannot get a ping response though. That is issue one. Maybe a computer problem as one of them may be flaky but I want to confirm that the config above is correct.
The second part is trunking between the two switches and how vlan info is carried on that. At this point I have two interfaces 23 and 23 trunked to the other switch. When I do a show interface trunk it shows the two interfaces, they are both trunking, have 802.1q active , have the default vlan 1 as native and say they are trunking all vlans. I set them up with this basic command on each interface, nothing more:
switchport mode trunk
Is this sufficient to allow vlan 10 on both switches to communicate?
Thanks in advance.