09-14-2017 06:20 AM - edited 03-08-2019 12:02 PM
I have a VOIP phone connected to a port that has the following configs:
swtichport trunk encapsulation dot1q
switchport mode access
switchport voice vlan 4
Is the swtichport trunk encapsulation dot1q really necessary?
09-14-2017 06:47 AM
It isn't. The port is configured for static access so it will negate any trunk configuration.
09-14-2017 08:42 AM - edited 09-14-2017 08:42 AM
You can confirm the mode with show interface gx/x switchport what mode its taken even when its configured for both , its not necessary in your config , if just setting as voice and data port
Example
#sh int GigabitEthernet1/0/8 switchport
Name: Gi1/0/8
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 165 (VLAN0165)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
xir-b100sis01#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide