Re: switchport access and switchport trunk on the same port

From: MADMAN (dmadlan@qwest.com)
Date: Thu Sep 25 2003 - 13:11:00 GMT-3


seonghui wrote:

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

   I noticed this on a 6500 running native mode before and thought it
looked goofy too. It apparently means nothing if the port is trunking.
  Instead of the access vlan being the default 1 it is, in your case, 567.

interface GigabitEthernet1/1
  no ip address
  no logging event link-status
  switchport
  switchport access vlan 567
  switchport trunk encapsulation dot1q
  switchport trunk native vlan 64

Native6506#sh int sw mod 1
Name: Gi1/1
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 567 ((Inactive))
Trunking Native Mode VLAN: 64 (VLAN0064)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Voice VLAN: none (Inactive)
Appliance trust: none
Native6506#

   If I remove the switchport access vlan 567:

interface GigabitEthernet1/1
  no ip address
  no logging event link-status
  switchport
  switchport trunk encapsulation dot1q
  switchport trunk native vlan 64

Native6506#sh int sw mod 1
Name: Gi1/1
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 64 (VLAN0064)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Voice VLAN: none (Inactive)
Appliance trust: none
Native6506#

   The only differance is the access vlan is now 1 but it's meaningless.
  It has no effect, I am telneted into this switch over the gig1/1 trunk
and the changes had no effect on my connection.

   Dave

-- 
David Madland
CCIE# 2016
Sr. Network Engineer
Qwest Communications
612-664-3367

"Emotion should reflect reason not guide it"

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