871 Switchport Configuration for Phone and Data

Unanswered Question
Jan 25th, 2006
User Badges:

I am having a problem connecting my 7960 to a switchport of my

871 (12.3(14) Advanced IP Services). When configured as shown, the phone is correctly placed into vlan 3, but

a PC plugged into the phone does not end up into vlan 800, but rather vlan 1.


interface FastEthernet1

switchport access vlan 800

switchport mode trunk

switchport voice vlan 3

switchport priority extend trust


If I remove the switchport mode trunk, the phone ends up in VLAN 800.


What is the proper configuration on this 871 to have the phone in vlan 3, and

the PC plugged into the phone in vlan 800?


Thanks.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Bobby Thekkekandam Wed, 01/25/2006 - 11:07
User Badges:
  • Cisco Employee,

Hi,


The only thing you need to change is to add the command "switchport trunk native vlan 800"


The reason the PC is showing up in vlan 1 is because that is the default native vlan for the trunk, and thus is the only vlan that is untagged. Since the PC doesn't understand dot1q tagging, its DHCP requests will wind up being received in vlan1 on the switch. Once you change the native vlan to 800, the PC should correctly connect in vlan 800.


HTH,


Bobby

Actions

This Discussion