cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11287
Views
0
Helpful
8
Replies

Hybrid port configuration

Cisco Catalyst 2960PD-8TT-L Compact Switch

I want this switch Gig port perform as access and trunk port same time.
Can anyone tell me how to do it?

8 Replies 8

marce1000
VIP
VIP

 

 - Not possible

   M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

balaji.bandi
Hall of Fame
Hall of Fame

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?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Ditto.

Define how you see a port being access and trunk at same time.

BTW, a port with a defined voice VLAN, might be much what you desire. The voice VLAN doesn't need to be used for voice traffic.

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.

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

 

Let me check and i will reply to you ASAP.

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?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Muhammad Awais Khan
Cisco Employee
Cisco Employee

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.

 

Ref: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/vlan/configuration_guide/b_vlan_152ex_2960-x_cg/b_vlan_152ex_2960-x_cg_chapter_0100.html

Review Cisco Networking products for a $25 gift card