Re: OT - Cisco phones and Voice VLAN

From: James Ventre (messageboard@ventrefamily.com)
Date: Tue Jul 11 2006 - 07:43:02 ART


> Just try to configure portfast on a trunk port and see the message.

You can configure portfast on a trunk:

3560-1(config-if)#spanning-tree portfast ?
   disable Disable portfast for this interface
   trunk Enable portfast on the interface even in trunk mode
   <cr>

3560-1(config-if)#spanning-tree portfast trunk ?
   <cr>

> I thought that switchport voice vlan
> and spanning-tree portfast
> are incompatible with spanning-tree portfast.

Nope. They work just fine together. And as a matter of fact, if your
telephone port doesn't go to STP-Forwarding quickly it likely won't boot
correctly (atleast my Avaya stuff won't). It needs to get a DHCP answer
before it can boot :)

interface FastEthernet0/1
  description { Doh! }
  switchport access vlan 327
  switchport mode access
  switchport voice vlan 309
  service-policy input IP-Telephony
  no logging event link-status
  no logging event power-inline-status
  no mdix auto
  storm-control broadcast level 4.00
  storm-control multicast level 2.00
  no cdp enable
  spanning-tree portfast
  spanning-tree bpduguard enable
  spanning-tree guard root
end

James

sheherezada@gmail.com wrote:
> I thought that
>
> switchport voice vlan
> and
> spanning-tree portfast
>
> are incompatible with spanning-tree portfast.
>
> 1) Portfast is added automatically by switchport voice vlan and
> portfast is typically an access mode command. Just try to configure
> portfast on a trunk port and see the message.
>
> 2) If I configure a voice port as trunk, why do I need switchport voice
> vlan?
>
> Bottom line, I would either configure trunk, allowed vlan and native
> vlan, either configure mode access, access vlan and voice vlan.
>
> Any insights?
>
> Mihai



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:47 ART