10-30-2012 02:48 AM - edited 03-07-2019 09:45 AM
hi all,
I'm having some issues creating multiple vlans on one swtich (2950).
This is a lab setup that I'm going through in an attempt to learn a bit more about Cisco. I bought 3 1841 routers, and 3 2950 switches and I'm trying different setups.
A particular senario I'm unable to get past is the following:
I'm trying to create two vlans on one switch:
SW1: vlan 30 and vlan 100
ports 23 and 24 are trunks to sw2
SW2: ports 21, 22, 23, 24 are trunks
SW3: vlan 30 and vlan 200
ports 23 and 24 are trunks to sw2
seems simple enough:
R1 connects fa0/1 to vlan 100
R1 connects fa0/0 to vlan 30
R2 connects fa0/0 to vlan 30
R2 connects fa0/1 to vlan 200
and I've a computer plugged in with respective addresses to each vlan 100 and 200
The problem is as follows:
whenever I issue a no shut command on a vlan in any of the switches, I get the error:
%LINK-3-UPDOWN: Interface Vlan23, changed state to up
%LINK-5-CHANGED: Interface Vlan200, changed state to administratively down
%LINEPROTO-5-UPDOWN: Line protocol onInterface Vlan23, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol onInterface Vlan200, changed state to down
And it happens on both switches. It seems I can only have one vlan up at the one time..? Is this a genuine restriction or am I doing something wrong/missing something in the way I'm setting things up?
My configuration is as simiple as:
SW1:
vlan 30
name blue
vlan 100
name orange
int range fa0/1 - 2
switchport mode access
switchport access vlan 100
no shut
int fa0/9
switchport mode access
switchport access vlan 30
no shut
int range fa0/23 - 24
switchport mode trunk
no shut
SW3:
vlan 30
name blue
vlan 300
name green
int range fa01 - 2
swithcport mode access
switchport access vlan 200
no shut
int fa0/9
switchport mode access
switchport access vlan 30
no shut
int range fa0/23 - 24
switchport mode trunk
no shut
SW2:
int range fa0/21 - 24
switchport mode trunk
no shut