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

Does the trunk command negate the switchport access command?

Hello Experts,
I have the following config on the switchports of a 3550 switch:

interface FastEthernet0/x
 switchport access vlan 3
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport voice vlan 2
 spanning-tree portfast

VTP is transparent
VLAN1 is shutdown
VLAN2 is voice
VLAN3 is data

I am trying to get the port to act like a switchport when a computer is plugged into it and a trunkport when a VoIP phone is plugged into it (non-cisco phone).

TIA for any and all help!

1 Solution

you cannot have access and trunk running concurrently:

do the following

switchport trunk encapsulation dot1q
switchport trunk native vlan 3
switchport mode trunk
switchport voice vlan 2
spanning-tree portfast

This should work for you - PC/phone will work in it in their respective vlans
Don JohnstonInstructorCommented:
What type of phone do you have?
bslatteryAuthor Commented:
Thank you, native vlan for the trunk ports was the problem.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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