01-04-2020 04:57 AM
I want this switch Gig port perform as access and trunk port same time.
Can anyone tell me how to do it?
01-04-2020 07:17 AM
- Not possible.
M.
01-04-2020 08:26 AM
What is the use case here, explain more, there may be another option can be suggested here based on the requirement.
Why do you think you need access and trunk port on the same port?
01-04-2020 10:51 AM
01-04-2020 09:34 PM
Here is the need.
Port 1 to 6 will access under VLAN-20 ( Untagged )
Port 7 & 8 will pass the VLAN-20 as ( Tagged ), and those port will be the member of vlan 10 which will Untagged.
And Vlan 10 will the manage VLAN.
01-04-2020 09:45 PM
You can refer to below config:
vlan 10
name Manage-Vlan
vlan 20
!
interface range gi0/1-6
switchport mode access
switchport access vlan 20
!
interface range gi0/7-8
switchport mode trunk
switchport trunk allowed vlan 20
switchport trunk native vlan 10
!
interface vlan 10 ( created for management purpose )
ip address x.x.x.x x.x.x.x
!
hope above is helpful for you
01-05-2020 12:32 AM
01-05-2020 07:27 AM
Configure 1-6 as Access port belong to VLAN 20 - that only for pure VLAN 20 - so you should have Layer 3 SVI some where in the uplink port for that VLAN 20.
Regarding V
Regarding Port 7 and 8, where is this connected to? explain more to understand here?
01-04-2020 04:55 PM - edited 01-04-2020 05:43 PM
If you have some specific requirement where switch is connected to another L2/L3 device or IP Phone/Wireless, then you can configure Native Vlan in addition to the trunk configuration on that interface.
A trunk port configured with 802.1Q tagging receive both tagged and un-tagged traffic. By default, switch forwards the un-tagged traffic configured in native vlan for the port or interface. The default native vlan is 1 which you can modify.
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