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

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?.
0
sumod_jacob
Asked:
sumod_jacob
  • 5
  • 4
  • 3
2 Solutions
 
SouljaCommented:
At the very least one both switches

int typex/x
switchport trunk encasulation dot1q
switchport mode trunk
0
 
SouljaCommented:
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.
0
 
Craig BeckCommented:
...and either configure VTP if you use it, or manually create the VLANs on the new switch.
0
How to change the world, one degree at a time.

By embracing technology, we can solve even the biggest problems—including the gender gap.  By earning a degree from WGU, you have an opportunity to gain the knowledge, credentials, and experience it takes to thrive in today’s high-growth IT industry.

 
SouljaCommented:
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.
0
 
amprantiCommented:
Initially configure VTP :


conf t
   vtp domain domain-name
   vtp client
   exit


Check that vtp was updated:

show vtp domain
show vtp statistics


2. Then connect two ports using a cable.
Configure ports to both switches:


conf t
int g 0/24
switchport trunk encasulation dot1q
switchport mode trunk
0
 
SouljaCommented:
Two switches in a branch office....

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

There is an old switch, probably using a VTP
0
 
Craig BeckCommented:
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.
0
 
amprantiCommented:
Personally, I always configure a vtp plus a password (vtp password XXX) .
Even if there is only one switch!
When time comes to add a 2nd switch, its easy to distribute vlan info to the new switch in a few seconds.
I dont see why this could be a secuirty risk.


In addition, if there are no vlans, there is no need to configure a trunk port...
Just connect the switch! But then why you bought Cisco switches and not a layer-2 netgear prosafe ?

.....
0
 
Craig BeckCommented:
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.
0
 
SouljaCommented:
Lol. This site never cease to amaze me.
0
 
Craig BeckCommented:
I know exactly what you mean Soulja! :-)
0

Featured Post

Prepare for an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program curriculum features two internationally recognized certifications from the EC-Council at no additional time or cost.

  • 5
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now