Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

what ports should I make trunk ports?

Posted on 2012-03-26
7
389 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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

809 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