Solved

what ports should I make trunk ports?

Posted on 2012-03-26
7
379 Views
Last Modified: 2012-04-16
I'm configuring a stack of cisco 3750 switches. I'm not sure which ports I should make trunk ports. I know the uplink ports need to be but should I make the rest of them trunk as well? I have several vlans. For most of the ports I'm going to have either workstations or VOIP phones plug into them. the phones are on a different vlan and get the vlan ID programmed into them. So I can plug either the workstation or the phone into the port and it will be on a different vlan. Also I'm using the cisco network assistant to configure them, where is the setting to make a port a trunk port?
0
Comment
Question by:knfitz
  • 3
  • 2
7 Comments
 
LVL 11

Accepted Solution

by:
gmbaxter earned 500 total points
ID: 37765991
I would use the cli interface to do this, it's very easy. Trunk ports should be on all uplinks, no need to use a trunk on a phone port.

Here's an example phone port:

interface GigabitEthernet1/0/1
 description IP phone
 switchport access vlan x
 switchport mode access
 switchport voice vlan y
 srr-queue bandwidth share 1 30 35 5
 srr-queue bandwidth shape 10 0 0 0
 queue-set 2
 priority-queue out
 mls qos trust cos
 auto qos trust
 spanning-tree portfast

(where x is your data vlan, and y is your voice vlan)

Here's an example uplink port:

interface GigabitEthernet1/0/7
 description Link to ?
 switchport trunk encapsulation dot1q
 switchport mode trunk
 srr-queue bandwidth share 10 10 60 20
 queue-set 2
 priority-queue out
 mls qos trust dscp
 auto qos voip trust
0
 

Author Comment

by:knfitz
ID: 37766112
if I don't make the phone a trunk port and then the phone gets moved and a pc gets plugged into that port will it still work? where do I set these settings in Cisco Network Assistant?
0
 
LVL 22

Expert Comment

by:eeRoot
ID: 37792045
Yes, you can move the phones and PC's around.  You would limit the moving of devices with port security and sticky MAC addresses.  The port settings are not set in the CNA, you would telnet or SSH into the switch and set the ports via the command line.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:knfitz
ID: 37796721
so how do I configure the port so that it will automatically put the pc or phone into the correct vlan?
0
 

Author Comment

by:knfitz
ID: 37796756
when I entered the comman switchport mode trunk I got the error:
command rejected: an interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.
this interface is part of an etherChannel if that makes a difference in the config.

Also can you explain the following lines in your example so I can know if I need to change a value for my environment? thanks

 srr-queue bandwidth share 10 10 60 20
 queue-set 2
 priority-queue out
0
 
LVL 22

Expert Comment

by:eeRoot
ID: 37814628
What change are you trying to apply when you get the auto vs trunk error?  You may have to reset the port to a default config to clear the trunk error.

The srr-queue, queue-set, and priority commands relate to QOS.  QOS is used to control how much bandwidth different devices can use.  Those 3 lines look like part of the config that gives VOIP traffic higher priority.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this guide, I outline 7 key steps to help technology professionals grow their careers. Whether you have been working in technology for 10 years or for 10 days, follow these steps to help you achieve your career goals and pursue your passions.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now