Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VLANs and VTP 1

Status
Not open for further replies.

Sniffer2112

IS-IT--Management
Mar 10, 2009
67
0
0
US
Greetings all! I finally passed the CCENT (2nd times a charm) and am now workig toward ICND2.

I have my lab set up and cannot seem to get VTP to work so it will update the other switches with VLANs. I make changes on switchA (server/VTP mode) and it does not replicate to switchB and switchC (clients/VTP mode. Below is my network diagram and some of the show commands.

I can ping each router and telnet into them.

I think I have everything set up right but then if I did, it would work :p Any help would be much appreciated.


switchA / VLAN1 192.168.1.10/24
- Port F0/1 is off to the router
- Port F0/11 is a Trunk to switchB
- Port F0/12 is a Trunk to switchC

switchB / VLAN1 192.168.1.11/24
- Port F0/1 is a Trunk to switchA

switchC / VLAN1 192.168.1.12/24
- Port F0/1 is a Trunk to switch A

Below are some of the SHOW RUN command for each switch. I took a lot of the other junk out so hopefully I will have left behind what is needed to see....

SWITCH A:
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
description ROUTER A
switchport mode access
duplex full
speed 100
!
.............
interface FastEthernet0/10
description PORTS TO USERS
switchport mode access
duplex full
speed 100
!
interface FastEthernet0/11
description TO ROUTER B
switchport trunk encapsulation dot1q
switchport mode trunk
duplex full
speed 100
!
interface FastEthernet0/12
description TO ROUTER C
switchport trunk encapsulation dot1q
switchport mode trunk
duplex full
speed 100
..............
!
interface Vlan1
ip address 192.168.1.10 255.255.255.0
!
ip default-gateway 192.168.1.1
ip classless
ip http server
ip http secure-server

switchA#show vtp status
VTP Version : 2
Configuration Revision : 4
Maximum VLANs supported locally : 1005
Number of existing VLANs : 8
VTP Operating Mode : Server
VTP Domain Name : TEST
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xE8 0x79 0x6C 0xDF 0x05 0xA2 0x79 0x8A
Configuration last modified by 192.168.1.10 at 3-1-93 00:45:45
Local updater ID is 192.168.1.10 on interface Vl1 (lowest numbered VLAN interfac
e found)

switchA#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gi0/1, Gi0/2
10 SALES active
20 MARKETING active
30 ENGINEERING active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default


SWITCH B:
switchB#show run
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
description TO SWITCH A
switchport trunk encapsulation dot1q
switchport mode trunk
duplex full
speed 100
!
interface FastEthernet0/2
switchport mode access
duplex full
speed 100
...............................
interface Vlan1
ip address 192.168.1.11 255.255.255.0
!
ip default-gateway 192.168.1.1
ip classless
ip http server
ip http secure-server

SwitchB#show vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 1005
Number of existing VLANs : 6
VTP Operating Mode : Client
VTP Domain Name : NUGGETWORLD
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x29 0x86 0xB4 0xFF 0x10 0x14 0x2A 0xFB
Configuration last modified by 172.16.9.1 at 3-1-93 00:03:09

SwitchB#show vlan brief

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gi0/1
Gi0/2
10 VLAN0010 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup


SWITCH C:
interface FastEthernet0/1
description Port to SwitchA
switchport trunk encapsulation dot1q
switchport mode trunk
duplex full
speed 100
!
interface FastEthernet0/2
switchport mode access
speed 100
..................
interface Vlan1
ip address 192.168.1.12 255.255.255.0
!
interface Vlan10
no ip address
!
ip classless
ip http server

SwitchC#show vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
VTP Operating Mode : Client
VTP Domain Name : NUGGETWORLD
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x02 0x1C 0x36 0x3B 0xB7 0x4B 0x1E 0x13
Configuration last modified by 192.168.1.12 at 3-1-93 00:17:20

SwitchC#show vlan brief

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gi0/1
Gi0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup





 
your domains are different, change your server to the same domain as your clients...

------------------------------------
Dallas, Texas
Telecommunications Tech
CCVP, CCNA, Net+

CCNP in the works
 
D'oh! Thanks for the pointer.

I did change all teh domains to match all switches. Then I went to SwitchA (server) and added a VLAN. I checked the others and none replicated.
 
Just to add more info...

switchA#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Fa0/11 on 802.1q trunking 1
Fa0/12 on 802.1q trunking 1

Port Vlans allowed on trunk
Fa0/11 1-4094
Fa0/12 1-4094

Port Vlans allowed and active in management domain
Fa0/11 1,10,20,30,40
Fa0/12 1,10,20,30,40

Port Vlans in spanning tree forwarding state and not pruned
Fa0/11 1,10,20,30,40
Fa0/12 1,10,20,30,40

SwitchB#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Fa0/1 on 802.1q trunking 1

Port Vlans allowed on trunk
Fa0/1 1-4094

Port Vlans allowed and active in management domain
Fa0/1 1,10

Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 1,10

SwitchC#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Fa0/1 on 802.1q trunking 1

Port Vlans allowed on trunk
Fa0/1 1-4094

Port Vlans allowed and active in management domain
Fa0/1 1

Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 1
 
switchport access vlan bla

that is needed on all switches. Otherwise, only vlan 1 is truly alive...

/
 
I tried doing the switchport access vlan bla on each of the trunk interfaces but it would not recognize the 'bla' part of the commnant.

I even tried it at the global config mode but switchport was not recognized as a command.

Burtsbees, should that command be done at another area? Or could you point me to a website that explains this?

Thanks for your help in this.
 
what he is telling you is that if you don't apply a vlan to an interface then it has no need to push it... You need give it a reason to go out and pull the vlan config from the server.

int fa0/2
switchport mode access
switchport access vlan ## (other than 1)

------------------------------------
Dallas, Texas
Telecommunications Tech
CCVP, CCNA, Net+

CCNP in the works
 
I was a bit confused because I am watching those CBTNuggets videos and the instructor was setting up the ports to be trunks.

Then he configured VTP by assigning a domain name and modes for each switch (server/client).

Then he configured VLANs by creating them on the Server switch. When this was done, it did replicate to the client switches.

I have the lab set up the same way but for some reason it's not replicating.

After he set up the VLANs on the Server (which replicated to the clients), he then assigned VLANs to specific ports.
 
did you assign any passwords to vtp?

------------------------------------
Dallas, Texas
Telecommunications Tech
CCVP, CCNA, Net+

CCNP in the works
 
I'd be curious to see the output from a show vtp status again from all your switches.
 
I did not assing any passwords to the VTP.

VTP STATUS:
switchA#show vtp status
VTP Version : 2
Configuration Revision : 3
Maximum VLANs supported locally : 1005
Number of existing VLANs : 12
VTP Operating Mode : Server
VTP Domain Name : CISCO
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x19 0x14 0x8F 0x06 0x09 0xC7 0xE7 0x1D
Configuration last modified by 192.168.1.10 at 3-1-93 09:33:26
Local updater ID is 192.168.1.10 on interface Vl1 (lowest numbered VLAN interfac
e found)

SwitchB#show vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
VTP Operating Mode : Client
VTP Domain Name : CISCO
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x06 0xFD 0xFD 0x30 0x95 0x26 0x5C 0x46
Configuration last modified by 192.168.1.11 at 3-1-93 09:32:35

SwitchC#show vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
VTP Operating Mode : Client
VTP Domain Name : CISCO
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xFB 0xAB 0x9B 0xC4 0xE5 0xF1 0x73 0x71
Configuration last modified by 192.168.1.12 at 3-1-93 00:17:20
 
VTP looks good..when I've run into this sort of thing there has been either a trunking issue, or vlan1 is in a shutdown state on a switch.
 
The vlan1 is up and running. I can telnet into each router via vlan1.

Any ideas on what to look at for a trunking issue?
 
just for $@#% and giggles... on your two clients, do this;

delete flash:vlan.dat

then reboot




------------------------------------
Dallas, Texas
Telecommunications Tech
CCVP, CCNA, Net+

CCNP in the works
 
IT WON'T TRUNK NON NADA NOTHING ZILCH GOOSE-EGG DATA!!!

YOU MUST HAVE SOMETHING IN ANOTHER VLAN!!!! YOUR TRUNK IS OBVIOUSLY WORKING SINCE YOU CAN PING/TELNET/HACK AND DESTROY VLAN1!!!

/!!!
 
It's FIXED!!

Turns out I had to do - delete flash:vlan.dat on the SERVER switch and to reload.

That you all for helping me with this. It was holding me back on my studies for ICND2.

You guys rock on these forums. I hope to one day be helpful to others once I get some experience under my belt.

Thank you all for your help!!!
 
makes sense... it was the one that had the wrong server name stored in its vlan.dat file.

Glad you are up and running...

------------------------------------
Dallas, Texas
Telecommunications Tech
CCVP, CCNA, Net+

CCNP in the works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top