We help IT Professionals succeed at work.

vtp and vlan on cisco switch and router

Medium Priority
1,066 Views
Last Modified: 2012-05-07
I got a cisco switch and a cisco router and I'm going to configure 3 vlans. Making fa0/1 to 3 subinterfaces 0.1,  0.2 and 0.3. I have put in ip adresses on these. I have a switch where there are 3 pc's attached via fa connections. These are on different vlans. encapsulation on the router are dot1q 1 native, dot1q 2 and dot1q 3 on the different subinterfaces. The router and switch are connected via fa0/1. How do I set up the vtp, vlan and trunking to get this to work? Anybody with a good walkthrough?
Comment
Watch Question

Network Consultant
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
I understand that transparent is more convenient, but I really would like to use vtp server mode on the switch. I.m going to expand this in a live configuration with 2 more routers and ospf protocol. I got 3 routers connected in a series, with serial link, running ospf protocol. I will add this switch to hook up more pc's in one end, and these are supposed to have contact with the whole network. Not sure how I can explain this, since I'm not too familiar with this. Could you try to give me a input on vtp server and client config to get this to work?
Ken BooneNetwork Consultant
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thank you. It's working now. So easy when you know how. Thanks for quick responses.
Les MooreSr. Systems Engineer
CERTIFIED EXPERT
Top Expert 2008

Commented:
Agree with Kenboonejr above, with some caveats.
VTP is used between switches exclusively, and has many redeaming qualities when you have more than 2 switches. It also allows for authentication, so when you setup the VTP domain, always set the authentication, too. This prevents someone from accidently wiping out your vlan configs (done it myself once, and saw someone else do it, too, so it does happen).
Of course, when you only have one switch, all that is irrelevant.
Between the router and the switch, all you have to worry about is the trunking and you have a perfect example posted above.
Depending on which switch you have, how you actually define the vlans may be different. Some you can do in native IOS some you have to be in Vlan database mode. You also have to make sure it support 802.1q trunking and not just ISL.  What exact model switch are we talking about here?

Author

Commented:
Hi Irmoore. Nice to see that this site is loaded with people who knows what they are talking about. :)
It's an 2950T 24p switch.

Author

Commented:
I'm pretty new at this, but I try my best to learn this. Thinking about CCNA exam after the summer, so I see I have a lot of work to do. Very nice to have this site explaining me what goes were and why. I get confused sometimes when I read, and googles a lot, but this site is genius.
Les MooreSr. Systems Engineer
CERTIFIED EXPERT
Top Expert 2008

Commented:
We're here any time you need us.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.