Options
VLAN Trunking - VTP Questions
fieldmonkey
Users Awaiting Email Confirmation Posts: 254 ■■■□□□□□□□
in CCNA & CCENT
I am trying to configure the two 2950's I just got to perform VLAN Trunking, as I am out of the gate slowly into ICND2, but starting to have some questions that I can't seem to find the answers on.
Ones a 2950-48 and a 2950T which both are using IOS 12.1 (not sure if this would matter, but wanted to include as much info as possible)
My questions are...
1. (Most importantly) why is the VTP trunking operational mode not trunking on both switches? What configuration am I missing?
2. Every time I configure one of the VLAN's on SW2 for no shutdown, it brings the VLAN interface up, but shuts down the another. Why is this?
Thanks for any feedback provided in advance.
Ones a 2950-48 and a 2950T which both are using IOS 12.1 (not sure if this would matter, but wanted to include as much info as possible)
My questions are...
1. (Most importantly) why is the VTP trunking operational mode not trunking on both switches? What configuration am I missing?
2. Every time I configure one of the VLAN's on SW2 for no shutdown, it brings the VLAN interface up, but shuts down the another. Why is this?
[CENTER][FONT=Calibri][SIZE=3]SWITCH 1[/SIZE][/FONT][/CENTER] [FONT=Calibri][SIZE=3]SW1#show run[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Building configuration...[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Current configuration : 1300 bytes[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]version 12.1[/SIZE][/FONT] [FONT=Calibri][SIZE=3]no service pad[/SIZE][/FONT] [FONT=Calibri][SIZE=3]service timestamps debug uptime[/SIZE][/FONT] [FONT=Calibri][SIZE=3]service timestamps log uptime[/SIZE][/FONT] [FONT=Calibri][SIZE=3]no service password-encryption[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]hostname SW1[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]enable secret 5 $1$qIf3$ieYM.jXjVS8h08VuG2qsf.[/SIZE][/FONT] [FONT=Calibri][SIZE=3]enable password notcisco[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]ip subnet-zero[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]spanning-tree mode pvst[/SIZE][/FONT] [FONT=Calibri][SIZE=3]no spanning-tree optimize bpdu transmission[/SIZE][/FONT] [FONT=Calibri][SIZE=3]spanning-tree extend system-id[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface FastEthernet0/1[/SIZE][/FONT] [SIZE=3][FONT=Calibri]switchport mode trunk[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]### lines omitted ###[/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface Vlan1[/SIZE][/FONT] [SIZE=3][FONT=Calibri]ip address 192.168.0.225 255.255.255.240[/FONT][/SIZE] [SIZE=3][FONT=Calibri]no ip route-cache[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]ip default-gateway 192.168.0.1[/SIZE][/FONT] [FONT=Calibri][SIZE=3]ip http server[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]line con 0[/SIZE][/FONT] [FONT=Calibri][SIZE=3]line vty 0 4[/SIZE][/FONT] [SIZE=3][FONT=Calibri]login[/FONT][/SIZE] [FONT=Calibri][SIZE=3]line vty 5 15[/SIZE][/FONT] [SIZE=3][FONT=Calibri]login[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]end[/SIZE][/FONT] [FONT=Calibri][SIZE=3]SW1#show vtp status[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Version : 2[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Configuration Revision : 1[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Maximum VLANs supported locally : 250[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Number of existing VLANs : 5[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Operating Mode : Server[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Domain Name : futrell.com[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Pruning Mode : Disabled[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP V2 Mode : Enabled[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Traps Generation : Disabled[/SIZE][/FONT] [FONT=Calibri][SIZE=3]MD5 digest : 0x95 0x52 0xB7 0x7F 0x56 0x85 0x9D 0x02[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Configuration last modified by 192.168.0.225 at 3-1-93 00:15:23[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Local updater ID is 192.168.0.225 on interface Vl1 (lowest numbered VLAN interfa[/SIZE][/FONT] [FONT=Calibri][SIZE=3]ce found)[/SIZE][/FONT] [FONT=Calibri][SIZE=3]SW1#[/SIZE][/FONT] [FONT=Calibri][SIZE=3]SW1#show interfaces fa0/1 trunk[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Port Mode Encapsulation Status Native vlan[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Fa0/1 on 802.1q not-trunking 1[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Port Vlans allowed on trunk[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Fa0/1 none[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Port Vlans allowed and active in management domain[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Fa0/1 none[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Port Vlans in spanning tree forwarding state and not pruned[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Fa0/1 none[/SIZE][/FONT] [FONT=Calibri][SIZE=3]SW1#[/SIZE][/FONT] [CENTER][FONT=Calibri][SIZE=3]SWITCH 2[/SIZE][/FONT][/CENTER] [FONT=Calibri][SIZE=3]SW2#show run[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Building configuration...[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Current configuration : 1709 bytes[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]version 12.1[/SIZE][/FONT] [FONT=Calibri][SIZE=3]no service pad[/SIZE][/FONT] [FONT=Calibri][SIZE=3]service timestamps debug uptime[/SIZE][/FONT] [FONT=Calibri][SIZE=3]service timestamps log uptime[/SIZE][/FONT] [FONT=Calibri][SIZE=3]no service password-encryption[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]hostname SW2[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]ip subnet-zero[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]ip ssh time-out 120[/SIZE][/FONT] [FONT=Calibri][SIZE=3]ip ssh authentication-retries 3[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]spanning-tree mode pvst[/SIZE][/FONT] [FONT=Calibri][SIZE=3]no spanning-tree optimize bpdu transmission[/SIZE][/FONT] [FONT=Calibri][SIZE=3]spanning-tree extend system-id[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface FastEthernet0/1[/SIZE][/FONT] [SIZE=3][FONT=Calibri]switchport mode trunk[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface FastEthernet0/11[/SIZE][/FONT] [SIZE=3][FONT=Calibri]switchport access vlan 2[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface FastEthernet0/12[/SIZE][/FONT] [SIZE=3][FONT=Calibri]switchport access vlan 2[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface FastEthernet0/13[/SIZE][/FONT] [SIZE=3][FONT=Calibri]switchport access vlan 3[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface FastEthernet0/14[/SIZE][/FONT] [SIZE=3][FONT=Calibri]switchport access vlan 3[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface FastEthernet0/15[/SIZE][/FONT] [SIZE=3][FONT=Calibri]switchport access vlan 4[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface FastEthernet0/16[/SIZE][/FONT] [SIZE=3][FONT=Calibri]switchport access vlan 4[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]### lines omitted ###[/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface Vlan1[/SIZE][/FONT] [SIZE=3][FONT=Calibri]ip address 192.168.0.226 255.255.255.240[/FONT][/SIZE] [SIZE=3][FONT=Calibri]no ip route-cache[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface Vlan2[/SIZE][/FONT] [SIZE=3][FONT=Calibri]description ACCOUNTING[/FONT][/SIZE] [SIZE=3][FONT=Calibri]ip address 192.168.0.17 255.255.255.240[/FONT][/SIZE] [SIZE=3][FONT=Calibri]no ip route-cache[/FONT][/SIZE] [SIZE=3][FONT=Calibri]shutdown[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface Vlan3[/SIZE][/FONT] [SIZE=3][FONT=Calibri]description MARKETING[/FONT][/SIZE] [SIZE=3][FONT=Calibri]ip address 192.168.0.33 255.255.255.240[/FONT][/SIZE] [SIZE=3][FONT=Calibri]no ip route-cache[/FONT][/SIZE] [SIZE=3][FONT=Calibri]shutdown[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]interface Vlan4[/SIZE][/FONT] [SIZE=3][FONT=Calibri]description TECHNOLOGY[/FONT][/SIZE] [SIZE=3][FONT=Calibri]ip address 192.168.0.49 255.255.255.240[/FONT][/SIZE] [SIZE=3][FONT=Calibri]no ip route-cache[/FONT][/SIZE] [SIZE=3][FONT=Calibri]shutdown[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]ip default-gateway 192.168.0.1[/SIZE][/FONT] [FONT=Calibri][SIZE=3]ip http server[/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]line con 0[/SIZE][/FONT] [FONT=Calibri][SIZE=3]line vty 0 4[/SIZE][/FONT] [SIZE=3][FONT=Calibri]login[/FONT][/SIZE] [FONT=Calibri][SIZE=3]line vty 5 15[/SIZE][/FONT] [SIZE=3][FONT=Calibri]login[/FONT][/SIZE] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]![/SIZE][/FONT] [FONT=Calibri][SIZE=3]end[/SIZE][/FONT] [FONT=Calibri][SIZE=3]SW2#show vtp status[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Version : 2[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Configuration Revision : 9[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Maximum VLANs supported locally : 128[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Number of existing VLANs : 8[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Operating Mode : Client[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Domain Name : futrell.com[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Pruning Mode : Disabled[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP V2 Mode : Enabled[/SIZE][/FONT] [FONT=Calibri][SIZE=3]VTP Traps Generation : Disabled[/SIZE][/FONT] [FONT=Calibri][SIZE=3]MD5 digest : 0x20 0x33 0x3C 0x7C 0xB4 0x83 0x35 0x0B[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Configuration last modified by 192.168.0.33 at 3-1-93 02:43:49[/SIZE][/FONT] [FONT=Calibri][SIZE=3]SW2#[/SIZE][/FONT] [FONT=Calibri][SIZE=3]SW2#show interfaces fa0/1 trunk[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Port Mode Encapsulation Status Native vlan[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Fa0/1 on 802.1q not-trunking 1[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Port Vlans allowed on trunk[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Fa0/1 none[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Port Vlans allowed and active in management domain[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Fa0/1 none[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Port Vlans in spanning tree forwarding state and not pruned[/SIZE][/FONT] [FONT=Calibri][SIZE=3]Fa0/1 none[/SIZE][/FONT] [FONT=Calibri][SIZE=3]SW2#[/SIZE][/FONT]
Thanks for any feedback provided in advance.
WIP:
Husband & Fatherhood Caitlin Grace born 8-26-2010
Future Certs:
Q1-2011 - INCD2, Microsoft or Linux (decisions, decisions...)
Husband & Fatherhood Caitlin Grace born 8-26-2010
Future Certs:
Q1-2011 - INCD2, Microsoft or Linux (decisions, decisions...)
Comments
-
Optionsnetworker050184 Mod Posts: 11,962 ModFirst you need to figure out why your trunk isn't working. With the 2950s they should just form a trunk with no configuration at all.
Second, you are not creating VLANs when you create the SVI. They are separate and you still need to create the vlan in either vlan database or in global config mode. Not sure if you knew that, but I see a lot of people confused by this.
The 2950 is a L2 only switch so it can only have one SVI up at a time that is why when you no shut one it shuts the other. The only reason the switch needs the SVI is for an IP address to manage it.An expert is a man who has made all the mistakes which can be made. -
Optionsjason_lunde Member Posts: 567networker050184 wrote: »First you need to figure out why your trunk isn't working. With the 2950s they should just form a trunk with no configuration at all.
Second, you are not creating VLANs when you create the SVI. They are separate and you still need to create the vlan in either vlan database or in global config mode. Not sure if you knew that, but I see a lot of people confused by this.
The 2950 is a L2 only switch so it can only have one SVI up at a time that is why when you no shut one it shuts the other. The only reason the switch needs the SVI is for an IP address to manage it.
ditto...
Create some vlans in global config mode, and then check your trunk and vtp status
i.e.
(config)vlan 5
(config)vlan 6.... -
Optionsfieldmonkey Users Awaiting Email Confirmation Posts: 254 ■■■□□□□□□□networker050184 wrote: »First you need to figure out why your trunk isn't working. With the 2950s they should just form a trunk with no configuration at all.
This is what I thought, so in theory... I could default the switches and attach a straight thru cable to port 1 on each switch and it should be trunking?networker050184 wrote: »Second, you are not creating VLANs when you create the SVI.
That is really confusing, you're right. I created the VLANs on SW2, but made it a client. Should I reverse them to SW1, since it is acting as the Server, or does that even matter?
That probably doesn't help I guess. However I created all those VLANS in global configuration mode.
SW2#(config)interface vlan 2
SW2#(config)interface vlan 3
SW2#(config)interface vlan 4
To be honest I have not clue what you mean by "when I created the SVI", what is it and how did I create it? I just learned some about vlan database mode, but not very familiar with it.
I'm very curious about this SVI you speak of now, and how I can learn more about it.WIP:
Husband & Fatherhood Caitlin Grace born 8-26-2010
Future Certs:
Q1-2011 - INCD2, Microsoft or Linux (decisions, decisions...) -
Optionsnetworker050184 Mod Posts: 11,962 ModSVI = Switched Virtual Interface, more commonly known as Vlan interface. That is what you are creating when you do:
switch(config)#interface vlan 2
That is not creating the Vlan. To create the Vlan you need to do the following:switch(config)#vlan 2
Or you can just add an interface to that Vlan (not an SVI, an access port) and it will be created automatically depending on the platform.
Notice there is no "interface" in there. For the trunks give us the output of "show interface f0/1 switchport".An expert is a man who has made all the mistakes which can be made. -
OptionsForsaken_GA Member Posts: 4,024Yeah, your problem is two fold -
#1 Your trunk isn't coming up.
#2 You're creating vlans on the client, not the server.
I suspect that if you can get that trunk up, you'll find out why using VTP in anything other than transparent mode in a production network is a bad idea -
Optionsjason_lunde Member Posts: 567This is what I thought, so in theory... I could default the switches and attach a straight thru cable to port 1 on each switch and it should be trunking?
Switch to switch == crossover cable...straight cable wont work....
Can you give us a show ip int brief?? I bet they are down. -
Optionsfieldmonkey Users Awaiting Email Confirmation Posts: 254 ■■■□□□□□□□jason_lunde wrote: »Switch to switch == crossover cable...straight cable wont work....
Can you give us a show ip int brief?? I bet they are down.
Oh Man!
I feel like a dunce now!
I had a crossover cable attached originally, but it wasn't working and the PORT LED's weren't lighting up, so I thought I might have the wrong type cable attached. So, I made a straight-thru for it to test it. Unfortunately it would have never worked, even if the configuration was right!
I will plug the store bought crossover cable back in when I get home before trying the other suggestions.
Thanks for bring this to my attention.WIP:
Husband & Fatherhood Caitlin Grace born 8-26-2010
Future Certs:
Q1-2011 - INCD2, Microsoft or Linux (decisions, decisions...) -
OptionsForsaken_GA Member Posts: 4,024I hate to point out the obvious, but if the store bought crossover still doesn't link up, check the obvious on both switches and make sure the ports aren't shutdown. I don't see any no shut commands issued in the config you posted, but whether that's because you didn't issue them or just omitted them I can't tell
-
Optionsfieldmonkey Users Awaiting Email Confirmation Posts: 254 ■■■□□□□□□□networker050184 wrote: »For the trunks give us the output of "show interface f0/1 switchport".
SWITCH 1SW1#show interface fa0/1 switchport Name: Fa0/1 Switchport: Enabled Administrative Mode: trunk Operational Mode: down Administrative Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none SW1#
SWITCH 2SW2#show interface fa0/1 switchport Name: Fa0/1 Switchport: Enabled Administrative Mode: trunk Operational Mode: down Administrative Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Appliance trust: none SW2#
VLANs created on SW1SW1#vlan database % Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode. SW1(vlan)#show current VLAN ISL Id: 1 Name: default Media Type: Ethernet VLAN 802.10 Id: 100001 State: Operational MTU: 1500 Backup CRF Mode: Disabled Remote SPAN VLAN: No VLAN ISL Id: 2 Name: VLAN0002 Media Type: Ethernet VLAN 802.10 Id: 100002 State: Operational MTU: 1500 Backup CRF Mode: Disabled Remote SPAN VLAN: No VLAN ISL Id: 3 Name: VLAN0003 Media Type: Ethernet VLAN 802.10 Id: 100003 State: Operational MTU: 1500 Backup CRF Mode: Disabled Remote SPAN VLAN: No VLAN ISL Id: 4 Name: VLAN0004 Media Type: Ethernet VLAN 802.10 Id: 100004 State: Operational MTU: 1500 Backup CRF Mode: Disabled Remote SPAN VLAN: No
VLANs created on SW2SW2(vlan)#show current VLAN ISL Id: 1 Name: default Media Type: Ethernet VLAN 802.10 Id: 100001 State: Operational MTU: 1500 Backup CRF Mode: Disabled Remote SPAN VLAN: No VLAN ISL Id: 2 Name: VLAN0002 Media Type: Ethernet VLAN 802.10 Id: 100002 State: Operational MTU: 1500 Backup CRF Mode: Disabled Remote SPAN VLAN: No VLAN ISL Id: 3 Name: VLAN0003 Media Type: Ethernet VLAN 802.10 Id: 100003 State: Operational MTU: 1500 Backup CRF Mode: Disabled Remote SPAN VLAN: No VLAN ISL Id: 4 Name: VLAN0004 Media Type: Ethernet VLAN 802.10 Id: 100004 State: Operational MTU: 1500 Backup CRF Mode: Disabled Remote SPAN VLAN: No
The crossover cable is in ports 1 on each switch now and I have issued the no shutdown command on the interfaces, but they both show a down/down status?SW1#show ip int brief Interface IP-Address OK? Method Status Prot ocol Vlan1 192.168.0.225 YES manual up up FastEthernet0/1 unassigned YES unset down down FastEthernet0/2 unassigned YES unset down down
SW2#show ip int brief Interface IP-Address OK? Method Status Prot ocol Vlan1 192.168.0.226 YES manual up up Vlan2 192.168.0.17 YES manual administratively down down Vlan3 192.168.0.33 YES manual administratively down down Vlan4 192.168.0.49 YES manual administratively down down FastEthernet0/1 unassigned YES unset down down FastEthernet0/2 unassigned YES unset down dow [COLOR=#ff0000]** lines ommited **[/COLOR]
WIP:
Husband & Fatherhood Caitlin Grace born 8-26-2010
Future Certs:
Q1-2011 - INCD2, Microsoft or Linux (decisions, decisions...) -
Optionsfieldmonkey Users Awaiting Email Confirmation Posts: 254 ■■■□□□□□□□When it didn't do what was expected, I kept on adding to the configuration and then I was eventually and totally lost!
As far as the crossover cable... and some additional information on cabling....
I have my cable modem attached to port 24 and my pc to 17, all is good and I'm able to surf the internet... I have a laptop connected to port 11 and it's able to surf the web and the lines are up. I put the same type crossover cable on port 1 of each switch to trunk and get nada, no lights or nothing...
I didn't do any configuration on those ports, don't see why I would need to configure a no shutdown command on Fa0/1, and I have... but still nothing
I even moved port 11 to port one (same type cable) and it comes right up, so I assume the port is functioning ok.
Thanks for the feedback!WIP:
Husband & Fatherhood Caitlin Grace born 8-26-2010
Future Certs:
Q1-2011 - INCD2, Microsoft or Linux (decisions, decisions...) -
Optionsgeorgemc Member Posts: 429
My questions are...
1. (Most importantly) why is the VTP trunking operational mode not trunking on both switches? What configuration am I missing?.
OK, VTP is not your trunking protocol and does not provide trunking between your switches. VTP, although it is named "VLAN Trunking Protocol" is actually just Cisco's proprietary VLAN management protocol. As mentioned previously, you're better off
placing both (all) of your switches in transparent mode and leaving them that way until you get a better handle on what trunking is and what VLANs are.
Your trunking protocol on a 2950 (any flavor) is 802.1Q. Cisco's proprietary ISL trunking protocol is available on many of the other Cisco switches but is slowly being phased out.
Your 2950s will uses 802.1Q (and only 802.1q) by default when you connect the swtiches back-to-back using a crossover cable on any of the available fastethernet interfaces. I would suggest setting "switchport mode trunk" on your trunk interfaces anyway.2. Every time I configure one of the VLAN's on SW2 for no shutdown, it brings the VLAN interface up, but shuts down the another. Why is this?
WOW! what you enter the command "INTERFACE VLAN 2", for example, your are NOT creating a VLAN. You are creating a virtual interface that is capable of interacting directly with VLAN2, if it exists, on your switch. The "virtual interfaces" on a layer 2 switch (which your 2950 happen to be) are limited to only one (meaning only one can exist and be active at any one time), are only there and used for management purposes so that the admin can telnet, etcetera to the switches for doing configuration updates etc.
To create a VLAN on your switches (as mentioned previously), you go to global configuration mode and enter "VLAN 2" to create VLAN2. Obviously this will work for VLANs 4, 5, 6, 7, etc. also. Also, if you just assigned a non-existent VLAN to an interface, the switch will create the VLAN for you.
The VLAN DATABASE command is being phased out an you probably shouldn't be using it since I don't believe it will be tested.
Now, with only your two 2950 switches you will not be able to communicate BETWEEN VLANs on you switches. Meaning for example that VLAN 2 will not be able to communicate with VLAN 3 either on the same switch or accross the trunk you'll be configuring. You should be able to communication from VLAN 2 to VLAN 2 and VLAN 3 to VLAN 3 from switch to switch accross your trunk and this should prove that your trunk is working.
Thanks for reading, if is sounds as if I'm rambling I probably am...
GeorgeWGU BS: Business - Information Technology Management
Start Date: 01 October 2012
QFT1,PFIT in progress.
TRANSFERRED/COMPLETED: AGC1,BBC1,LAE1,QBT1,LUT1,QLC1,QMC1,QLT1,IWC1,INC1,INT1,BVC1,CLC1,MGC1, CWV1 BNC1, LIT1,LWC1,QAT1,WFV1,EST1,EGC1,EGT1,IWT1,MKC1,MKT1,RWT1,FNT1,FNC1, BDC1,TPV1 REQUIRED: -
Optionsgeorgemc Member Posts: 429When it didn't do what was expected, I kept on adding to the configuration and then I was eventually and totally lost!
As far as the crossover cable... and some additional information on cabling....
I have my cable modem attached to port 24 and my pc to 17, all is good and I'm able to surf the internet... I have a laptop connected to port 11 and it's able to surf the web and the lines are up. I put the same type crossover cable on port 1 of each switch to trunk and get nada, no lights or nothing...
What does "the same type crossover cable" mean? The cables used to connect your laptops and your cable modem to the switch are a straight-through cable.I didn't do any configuration on those ports, don't see why I would need to configure a no shutdown command on Fa0/1, and I have... but still nothing
You are correct. All switchports(interfaces) are turned on and active by default. If this was a either a new switch or an "erase startup-config" or "write erase" was performed on it then this would be the case. BTW, this is the exact opposite of a router where all interfaces are SHUTDOWN by default.
Remember that for your cabling, unlike devices (DCD-DTE) use a straight-through cable and like devices(DCE-DCE or DTE-DTE) use a cross-over cable ( 1, 2 - 3,6). PCS, Servers, routers, cable modems, etc. are like devices(DTE). Switches, hubs, repeaters, and bridges are like devices. (DCE)
What type of cable did you make previously? What was the pinout?
The cable you need to connect from switch-to-switch should be as follow:
end 1
1 white-orange
2 orange
3 white-green
4 blue
5 white-blue
6 green
7 white-brown
8 brown
end 2
1 white-green
2 green
3 white-orange
4 blue
5 white-blue
6 orange
7 white-brown
8 brown
GeorgeWGU BS: Business - Information Technology Management
Start Date: 01 October 2012
QFT1,PFIT in progress.
TRANSFERRED/COMPLETED: AGC1,BBC1,LAE1,QBT1,LUT1,QLC1,QMC1,QLT1,IWC1,INC1,INT1,BVC1,CLC1,MGC1, CWV1 BNC1, LIT1,LWC1,QAT1,WFV1,EST1,EGC1,EGT1,IWT1,MKC1,MKT1,RWT1,FNT1,FNC1, BDC1,TPV1 REQUIRED: -
Optionsfieldmonkey Users Awaiting Email Confirmation Posts: 254 ■■■□□□□□□□It's amazing what the right cable will do for you and how working in a real lab can be very humbling experience!
Sometimes my tunnel vision really gets in the way...WIP:
Husband & Fatherhood Caitlin Grace born 8-26-2010
Future Certs:
Q1-2011 - INCD2, Microsoft or Linux (decisions, decisions...)