<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV>Thanks,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Numerous configs/examples I see show 4000's and other IOS based doing access mode, yet have "switchport trunk encapsulation dot1q". They don't specifically have "switchport mode access" configured, yet they don't have "switchport mode trunk" configured either, so I would think that puts it into access mode (could check with sh int fx/x switchport)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Brian</DIV><DIV><BR><DIV><DIV>On Aug 27, 2005, at 1:06 PM, Nikola Stojsin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName"> <O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType"><O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"> <O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"><O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"> <O:SMARTTAGTYPE namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"> <DIV class="Section1"><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt">It really, really depends on what version of IOS the switch runs—the recommended configuration has changed a lot over the years. <O:P></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt">The field notice below lists (at the very bottom) the latest (that I know of—it is from November 2004) recommended configuration—it is for 3500XLs running IOS version 12.0(5)WC and later:<O:P></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt"><A href="http://www.psionic.com/en/US/products/hw/phones/ps379/products_field_notice09186a008031575e.shtml">http://www.psionic.com/en/US/products/hw/phones/ps379/products_field_notice09186a008031575e.shtml</A><O:P></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="navy" face="Arial"><SPAN style="font-size:9.0pt;color:navy"><O:P> </O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="navy" face="Arial"><SPAN style="font-size:9.0pt;color:navy">By way of comparison, the following book excerpt lists the recommended configuration from around July 2003 (it also gives a brief overview of hardware capabilities of the switches):<O:P></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt"><A href="http://www.ciscopress.com/articles/article.asp?p=98122&seqNum=3&rl=1">http://www.ciscopress.com/articles/article.asp?p=98122&seqNum=3&rl=1</A><O:P></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt"><O:P> </O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt">Hope this helps!<O:P></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt">Nikola Stojsin<O:P></O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt"><O:P> </O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt"><O:P> </O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">----------------------------------------------------------------------------</SPAN></FONT><O:P></O:P></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Nikola Stojsin</SPAN></FONT><O:P></O:P></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">PhD CCIE#12888</SPAN></FONT><O:P></O:P></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><A href="mailto:nikola@att.net" title="mailto:nikola@att.net">nikola@att.net</A><O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><B><FONT size="3" face="Times New Roman"><SPAN style="font-size:12.0pt;font-weight:bold">-----------------------------------------------------------------<O:P></O:P></SPAN></FONT></B></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt"><O:P> </O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><SPAN class="content1"><FONT size="1" color="black" face="Arial"><SPAN style="font-size:9.0pt"><O:P> </O:P></SPAN></FONT></SPAN></P><P class="MsoNormal"><FONT size="2" color="navy" face="Times New Roman"><SPAN style="font-size:10.0pt;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P> <DIV> <DIV class="MsoNormal" align="center" style="text-align:center"><FONT size="3" face="Times New Roman"><SPAN style="font-size:12.0pt"> <HR size="2" width="100%" align="center" tabindex="-1"> </SPAN></FONT></DIV><P class="MsoNormal"><B><FONT size="2" face="Tahoma"><SPAN style="font-size:10.0pt; font-family:Tahoma;font-weight:bold">From:</SPAN></FONT></B><FONT size="2" face="Tahoma"><SPAN style="font-size:10.0pt;font-family:Tahoma"> cisco-voip-bounces@puck.nether.net [<A href="mailto:cisco-voip-bounces@puck.nether.net">mailto:cisco-voip-bounces@puck.nether.net</A>] <B><SPAN style="font-weight:bold">On Behalf Of </SPAN></B>Lelio Fulgenzi<BR> <B><SPAN style="font-weight:bold">Sent:</SPAN></B> Saturday, August 27, 2005 11:37 AM<BR> <B><SPAN style="font-weight:bold">To:</SPAN></B> <A href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR> <B><SPAN style="font-weight:bold">Subject:</SPAN></B> Re: [cisco-voip] "switchport" command behavior on 3500XL</SPAN></FONT><O:P></O:P></P> </DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"><O:P> </O:P></SPAN></FONT></P> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Arial"><SPAN style="font-size:12.0pt; font-family:Arial">here's what we have. it's done us well. we had (and are still working out I believe) some issues with QoS on these older switches. some of the guys on the team investigated and determined the allowed vlans should be modified for a more efficient/secure delivery. vlan 129 and 131 are our mgmt networks, that's why there were deleted. i'm sure we could have gone further and only allowed 1 (default, can't remove) the voice and data vlans and (1000-1005, can't remove these either i think).</SPAN></FONT><O:P></O:P></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Courier"><SPAN style="font-size:12.0pt; font-family:Courier"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV> <DIV class="MsoNormal" align="center" style="text-align:center"><FONT size="3" face="Courier"><SPAN style="font-size:12.0pt;font-family:Courier"> <HR size="2" width="100%" align="center"> </SPAN></FONT></DIV> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Courier"><SPAN style="font-size:12.0pt; font-family:Courier">interface FastEthernet0/3<BR> switchport trunk encapsulation dot1q<BR> switchport trunk native vlan 226<BR> switchport trunk allowed vlan 1-128,130,132-1005<BR> switchport mode trunk<BR> switchport voice vlan 938<BR> switchport priority extend cos 0<BR> spanning-tree portfast</SPAN></FONT><O:P></O:P></P> </DIV> <DIV> <DIV class="MsoNormal" align="center" style="text-align:center"><FONT size="3" face="Times New Roman"><SPAN style="font-size:12.0pt"> <HR size="2" width="100%" align="center"> </SPAN></FONT></DIV> </DIV> <DIV><P class="MsoNormal"><FONT size="2" face="Times New Roman"><SPAN style="font-size: 10.0pt">--------------------------------------------------------------------------------<BR> Lelio Fulgenzi, B.A.<BR> Network Analyst (CCS) * <ST1:PLACETYPE w:st="on">University</ST1:PLACETYPE> of <ST1:PLACENAME w:st="on">Guelph</ST1:PLACENAME> * <ST1:PLACE w:st="on"><ST1:CITY w:st="on">Guelph</ST1:CITY>, <ST1:STATE w:st="on">Ontario</ST1:STATE> <ST1:POSTALCODE w:st="on">N1G 2W1</ST1:POSTALCODE></ST1:PLACE><BR> (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)<BR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <BR> "I had a coffee and Coke at lunch today...and now, I've got more jitter than an<BR> IP phone on a long haul 10base2 connection" LFJ</SPAN></FONT><O:P></O:P></P> </DIV> <BLOCKQUOTE style="border:none;border-left:solid black 1.5pt;padding:0in 0in 0in 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"> <DIV><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial">----- Original Message ----- <O:P></O:P></SPAN></FONT></P> </DIV> <DIV style="font-color:black"><P class="MsoNormal" style="background:#E4E4E4"><B><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial;font-weight:bold">From:</SPAN></FONT></B><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial"> <A href="mailto:bfeeny@mac.com" title="bfeeny@mac.com">Brian Feeny</A> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><B><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial;font-weight:bold">To:</SPAN></FONT></B><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial"> <A href="mailto:cisco-voip@puck.nether.net" title="cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><B><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial;font-weight:bold">Sent:</SPAN></FONT></B><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial"> Saturday, August 27, 2005 1:34 AM<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><B><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial;font-weight:bold">Subject:</SPAN></FONT></B><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt;font-family:Arial"> [cisco-voip] "switchport" command behavior on 3500XL<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"><O:P> </O:P></SPAN></FONT></P> </DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"><BR> I have a question regarding the behavior of some "switchport" <BR> commands on the 3500XL vs. other cisco switches.<BR> <BR> On a 4000 (IOS) you can do:<BR> <BR> switchport trunk encapsulation dot1q<BR> switchport access vlan 100<BR> switchport voice vlan 200<BR> <BR> And that will allow you to:<BR> <BR> connect a regular device, and it will use vlan 100<BR> connect a cisco phone and it will trunk, placing the phone into vlan <BR> 200, and device connected thru the phone into vlan 100<BR> <BR> But on a 3500XL, which supports those same commands, it apparently <BR> does not behave that way. You have to do:<BR> <BR> switchport trunk encapsulation dot1q<BR> switchport mode trunk<BR> switchport access vlan 100<BR> switchport voice vlan 200<BR> <BR> which then allows the phone to work as you would expect, but a PC <BR> connected directly to the switch will not work so you have<BR> to add the native vlan:<BR> <BR> switchport trunk encapsulation dot1q<BR> switchport trunk native vlan 100<BR> switchport mode trunk<BR> switchport access vlan 100<BR> switchport voice vlan 200<BR> <BR> which once you have done that, doesn't even make sense to have <BR> "switchport access vlan 100", so end up with:<BR> <BR> switchport trunk encapsulation dot1q<BR> switchport trunk native vlan 100<BR> switchport mode trunk<BR> switchport voice vlan 200<BR> <BR> I am just trying to nail down what config I should use to allow the <BR> port to be used directly by a device such as a PC, and also allow it <BR> to trunk to a cisco phone that would carry voice/data vlans. It <BR> seems these commands change alot as IOS gets updated. What is the <BR> correct configuration to do what I am wanting on the 3500XL?<BR> <BR> Brian<BR> <BR> _______________________________________________<BR> cisco-voip mailing list<BR> <A href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A><BR> <A href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</A><O:P></O:P></SPAN></FONT></P> </BLOCKQUOTE> </DIV> </O:SMARTTAGTYPE></O:SMARTTAGTYPE></O:SMARTTAGTYPE></O:SMARTTAGTYPE></O:SMARTTAGTYPE></O:SMARTTAGTYPE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">cisco-voip mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</A></DIV> <BR class="Apple-interchange-newline"></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>