cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
527
Views
0
Helpful
4
Replies

Sharing VLAN ports

jekood001
Level 1
Level 1

Is it possible to share ports among different VLANs for Catalyst 2960? If so how?

3 Accepted Solutions

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Jamal,

I guess you would like to have multiple vlans on the same port.

This is called a trunk port

example:

int f0/5

switchport

switchport enc dot1q

switchport mode trunk

switchport trunk allowed vlan 10,20,30

this puts port fas0/5 in vlans 10,20,30.

be aware that device that connects to this must be able to understand the so called vlan tag and to agree on the list of permitted vlans.

Hope to help

Giuseppe

View solution in original post

Jamal

Yes the other suggestion is to change the interface config from:

switchport mode access

to

switchport mode trunk

HTH

Rick

HTH

Rick

View solution in original post

Hello Jamal,

if switchport enc dot1q is not supported it means that C2960 like C2950 supports only dot1q.

Don't worry about this.

as Rick has noted you need the

switchport mode trunk to make the port acts as a trunk

Hope to help

Giuseppe

View solution in original post

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Jamal,

I guess you would like to have multiple vlans on the same port.

This is called a trunk port

example:

int f0/5

switchport

switchport enc dot1q

switchport mode trunk

switchport trunk allowed vlan 10,20,30

this puts port fas0/5 in vlans 10,20,30.

be aware that device that connects to this must be able to understand the so called vlan tag and to agree on the list of permitted vlans.

Hope to help

Giuseppe

Hi Giuseppe,

I don't have the "switchport encapsulation dot1q" as a command option.

I still am not able to put a phyical port on two seperate vlans. Here is what the running configuration had for my port.

Int gb 0/5

switchport access vlan 10

switchport trunk allowed 10, 20

switchport mode access

I'm not sure how to grant access to vlan 20.

If enter "switchport access to vlan 20" for that port, vlan 10 is no longer on the access list. It almost as if I can only assign one port to only one vlan.

I can't get port 5 to be on both vlan 10 and 20.

Any other suggestions?

Jamal

Yes the other suggestion is to change the interface config from:

switchport mode access

to

switchport mode trunk

HTH

Rick

HTH

Rick

Hello Jamal,

if switchport enc dot1q is not supported it means that C2960 like C2950 supports only dot1q.

Don't worry about this.

as Rick has noted you need the

switchport mode trunk to make the port acts as a trunk

Hope to help

Giuseppe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card