Re: switchport question

From: marc abel <marcabel_at_gmail.com>
Date: Mon, 25 Feb 2013 17:04:58 -0600

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
>
>
>
>
>
>
>
>

-- 
Marc Abel
CCIE #35470
(Routing and Switching)
Blogs and organic groups at http://www.ccie.net
Received on Mon Feb 25 2013 - 17:04:58 ART

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