Re: switchport question

From: Christian Schroeder <christian.pauci.schroeder_at_shredda.de>
Date: Tue, 26 Feb 2013 11:17:43 +0100 (CET)

Hi all,

One note which is perhaps more of historical interest:

On CatOS there is one combined equivalent of the IOS commands
switchport access vlan XXX
and
switchport trunk native vlan XXX

which is
set vlan XXX PORTID

this specifies the access VLAN when in access mode and the native VLAN when
in trunk mode (dot1q only). Thus it specifies the treatment of non tagged
frames regardles if in trunk mode or in accessmode. This does not apply for
ISL since all frames are tagged.

Cheers,
Christian

On Mon, 25 Feb 2013, marc abel wrote:

> Ramesh,
>
> This is really a CCNA level question, not a CCIE study list question. I
> will answer your question but perhaps you should consider starting in a
> CCNA forum.
>
> switchport access vlan 454 - This line say "If you are an access port, be
> in VLAN 454"
> switchport trunk allowed vlan 44,454 - This line says "If you are a trunk
> port, then these VLANs are allowed to transit the trunk"
> switchport mode trunk - This line tells the switch "You are a trunk port"
>
> So in this case the Switchport is a trunk and VLANs 44,454 are allowed. The
> access port line is effectively doing nothing at the moment. If the
> "switchport mode trunk" line were not there then the port would rely on DTP
> to determine whether to become trunk or access.
>
> -Marc
>
>
> On Mon, Feb 25, 2013 at 4:34 PM, ramesh Kumar
> <rameshkumar123321_at_yahoo.com>wrote:
>
>> Hello,
>>
>> I see the below config under one of the switching interfaces. Access
>> vlan and trunk vlan configured under one single physical interface. How
>> would
>> this switchport behave? access vlan should not be tagged and trunked vlans
>> should be tagged. Trying to understand if this is a correct config. please
>> help me verify.
>>
>> switchport
>> switchport access vlan 454
>> switchport trunk
>> allowed vlan 44,454
>> switchport mode trunk
>>
>>
>>
>> Thanks,
>> Ramesh. K
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Tue Feb 26 2013 - 11:17:43 ART

This archive was generated by hypermail 2.2.0 : Fri Mar 01 2013 - 07:57:58 ART