Link to home
Start Free TrialLog in
Avatar of sumod_jacob
sumod_jacobFlag for United States of America

asked on

Trunk Two cisco switches

I have purchased a new switch (WS-C3750X-24P) to expand the port availability in my branch office. Existing switch (WS-C3750G-48PS) running IOS C3750-IPSERVICESK9-M and the new one comes with C3750E-UNIVERSALK9-M (IP base license).

What need to be done inorder to trunk new switch with existing one?.
Avatar of Soulja
Soulja
Flag of United States of America image

At the very least one both switches

int typex/x
switchport trunk encasulation dot1q
switchport mode trunk
other optional commands on the trunks are:

switchport trunk nonnegotiate    (disables DTP)
switchport trunk allowed vlan x-y   (restrict vlans on trunk)

other command available too, but the first post is the very least you need.
...and either configure VTP if you use it, or manually create the VLANs on the new switch.
On another note, if the switches are in the same rack, you may just want to stack them instead and treat them as a single switch. You will have to make sure they have the same ios version on them though.
ASKER CERTIFIED SOLUTION
Avatar of ampranti
ampranti
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Two switches in a branch office....

VTP not needed.
What need to be done inorder to trunk new switch with existing one?.

There is an old switch, probably using a VTP
Maybe, but actually probably not.  There is only one switch there before the new one, so why would it be configured?

 If it's not configured I wouldn't recommend configuring it on the new switch as (a) many people see it as a security risk, (b) it won't accomplish the task.

Personally, I wouldn't configure it on a 2-switch stack anyway.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes, it may make VLAN distribution easier, but VTP is seen by many as a security risk and for good reason.  If it's configured badly it can break your network in seconds if someone adds a switch, or it could allow someone to learn and modify the VLAN configuration.  That is a security risk.

If you don't need VTP, or you only have one switch it's far safer to just set the VTP mode to transparent and never touch it again.
Lol. This site never cease to amaze me.
I know exactly what you mean Soulja! :-)