RE: switchport access and switchport trunk on the same port

From: Scott Morris (swm@emanon.com)
Date: Thu Sep 25 2003 - 13:18:29 GMT-3


Extraneous commands to relieve boredom!

Actually, many times they are there in order to allow dynamic trunking
to take place. So if you're a trunk, you'll use dot1q, if you're an
access port you'll be on vlan 567.

However, since you specify you ARE indeed a trunk (switchport mode
trunk), then that really makes the access vlan command extraneous. It
won't hurt anything to be there. The switch knows what is supposed to
happen. Admins, however, may get confused about it! :)

HTH,

 
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713,
CISSP, JNCIS, et al.
IPExpert CCIE Program Manager
IPExpert Sr. Technical Instructor
swm@emanon.com/smorris@ipexpert.net
http://www.ipexpert.net

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
seonghui
Sent: Thursday, September 25, 2003 11:41 AM
To: ccielab@groupstudy.com
Subject: switchport access and switchport trunk on the same port

Hi Group,

Just out of curiousity, what does the below config mean:

interface FastEthernet0/17
 description *** R7 ***
 switchport access vlan 567
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address

Does it mean that R7 connected to switch port fas0/17 is on vlan567 and
at the same time, R7 is also a dot1q trunk? Or this config is not valid
at all? and cannot be applied under any environment.

regards - SH

***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***



This archive was generated by hypermail 2.1.4 : Wed Oct 01 2003 - 07:24:37 GMT-3