My Cat 3550's Voice-Vlan's configuraton is correct??

From: wwwjjang@chol.com
Date: Sat Aug 16 2003 - 04:10:39 GMT-3


Hi..Everyone..
This is my Cat 3550's Voice-Vlan's configuraton .
Which is right between Solution-A & B ??

Who knows the right answer ???

thanks..

---------
Question
---------
There are IP phones attatched to port 0/1 & 0/2.
Configure voice vlan 40 for ports 0/1 & 0/2 with
native & data vlan 10 !!

-----------
Solution-A **
->The native vlan is vlan 1,but the query needs a native-vlan 10 !!
------------
mls qos
!
interface range FastEthernet0/1 - 2
 switchport access vlan 10
 switchport voice vlan 40
 mls qos trust cos
 spanning-tree portfast

-----------
Solution-B => the ** is really need?
------------
mls qos
!
interface range FastEthernet0/1 - 2
 switchport access vlan 10
 switchport voice vlan 40
 mls qos trust cos
 spanning-tree portfast
 switchport mode trunk **
 switchport trunk encapsulation dot1q **
 switchport trunk native vlan 10 **



This archive was generated by hypermail 2.1.4 : Tue Sep 02 2003 - 18:53:59 GMT-3