• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3741
  • Last Modified:

Switch: Trunk

Hello Experts,

Setting up a test environment on vlan and along with that some trunking.  Now, of course it takes two switches to set up trunking and if one port of the switch is set to trunk mode (fa0/24), do I need to set the port on the other switch also to trunk mode?  Tried and I'm getting an up and down status on the port.  Is that because I only need to  configure one of them?

As always, thank you for your time on this matter.
0
coperator
Asked:
coperator
1 Solution
 
The_KirschiCommented:
I am not sure if you need to setup the other side as a trunk, too. But if you do you should not get a problem. You could run into problems if you have multiple trunks on the switches. By default a trunk transports all vlan traffic and thus if you have multiple trunks you can create what is called loops. To prevent this the spanning-tree protocol is implemented in most switches. You could also prevent loops when you only allow specific vlans per trunk. On a cisco switch for example you could set the following in interface configuration mode:

conf t
int fa 0/24
switchport trunk allowed vlan 1

or

switchport trunk allowed vlan 1,2

or

switchport trunk allowed vlan 1-10

Does this help?
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now