01-08-2020 03:25 AM
Hi,
Would anyone be able to help determine if this is an access port or a trunk port please? We are really confused by it having switchport trunk + access on the running config of the interface.. If it is trunk what vlans does it have access to?
Any help greatly received please :)
show running-config interface gi1/0/24
Building configuration...
Current configuration : 131 bytes
!
interface GigabitEthernet1/0/24
switchport trunk encapsulation dot1q
switchport mode access
channel-group 10 mode active
end
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
10 Po10(SU) LACP Gi1/0/24(P) Gi4/0/13(P)
Streets-Cisco-Core#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1/0/1, Gi1/0/2, Gi1/0/3, Gi1/0/4, Gi1/0/7, Gi1/0/8, Gi1/0/9, Gi1/0/10, Gi1/0/11, Gi1/0/12, Gi1/0/13, Gi1/0/14, Gi1/0/17, Gi2/0/1, Gi2/0/2, Gi2/0/4, Gi2/0/6, Gi2/0/7, Gi2/0/8, Gi2/0/10
Gi2/0/11, Gi2/0/12, Gi2/0/13, Gi2/0/14, Gi2/0/17, Gi3/0/1, Gi3/0/2, Gi3/0/3, Gi3/0/4, Gi3/0/5, Gi3/0/7, Gi3/0/8, Gi3/0/9, Gi3/0/10, Gi3/0/11, Gi3/0/12, Gi3/0/13, Gi3/0/14, Gi3/0/15
Gi3/0/16, Gi3/0/17, Gi3/0/24, Gi4/0/1, Gi4/0/2, Gi4/0/5, Gi4/0/7, Gi4/0/8, Gi4/0/9, Gi4/0/10, Gi4/0/11, Gi4/0/12, Gi4/0/14, Gi4/0/15, Gi4/0/16, Gi4/0/18, Gi5/0/2, Gi5/0/3, Gi5/0/4, Gi5/0/5
Gi5/0/7, Gi5/0/8, Gi5/0/9, Gi5/0/10, Gi5/0/11, Gi5/0/14, Gi5/0/16, Gi5/0/18, Gi5/0/20, Gi5/0/22, Gi5/0/23, Po10
Solved! Go to Solution.
01-08-2020 03:36 AM - edited 01-08-2020 03:38 AM
Hi there,
It is an access port which a member of port-channel 10. To confirm please share the output of
sh int gi1/0/24 switchport
sh run int po10
Being a member link of a port-channel does not mean it is a trunk link (although typically it would be), it has just been bundled for bandwidth aggregation.
cheers,
Seb.
01-08-2020 03:36 AM - edited 01-08-2020 03:38 AM
Hi there,
It is an access port which a member of port-channel 10. To confirm please share the output of
sh int gi1/0/24 switchport
sh run int po10
Being a member link of a port-channel does not mean it is a trunk link (although typically it would be), it has just been bundled for bandwidth aggregation.
cheers,
Seb.
01-08-2020 03:46 AM
01-08-2020 03:59 AM
Hi Seb
Thanks for getting back to me this in the output
sh int po10 switchport
Name: Po10
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
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 Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
01-08-2020 04:06 AM
Administrative Mode: static access Operational Mode: static access Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: native Negotiation of Trunking: Off Access Mode VLAN: 1 (default)
so it is an mode access switchport on VLAN 1.
cheers,
Seb.
01-08-2020 03:46 AM - edited 01-08-2020 03:49 AM
@adamwilkinson776321465 Hello,
Current configuration : 131 bytes
!
interface GigabitEthernet1/0/24
switchport trunk encapsulation dot1q
switchport mode access
channel-group 10 mode active
end
"When you configure a port in access mode, you can specify which VLAN will carry the traffic for that interface. If you do not configure the VLAN for a port in access mode, or an access port, the interface carries traffic for the default VLAN (VLAN1)"
in this case your port is working in "access mode". But if you want check, run this command: show interface g1/024 switchport... it will confirm it.
#show int gi 1/0/3 sw
Name: Gi1/0/3
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Regards,
01-08-2020 06:11 AM
You are reading your config in the wrong way:
The command "switchport mode" sets the mode unconditionally to access. So it will be Access.
All commands starting with "switchport trunk ..." and "switchport access ..." are only valid for the situation that the port is either Trunk or Access. And yes, you can configure commands that have no effect in the actual mode.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide