cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2418
Views
0
Helpful
3
Replies

CatOS portchannel allowed VLAN

bapatsubodh
Level 1
Level 1

Hi

We ahve port channel configuer on CatOS switch

configuration looks like this :

set port channel 1/1,2/1 10

We  need to add VLANs in this port channel to be allowed what is the exact command for this?

( switchport trunk allowed valns ...) similar to this IOS command.

Thanks in advance

Subodh

1 Accepted Solution

Accepted Solutions

Hi Subodh,

Yes you will need to do this command one by one on both ports.For example if you wish to allow 601 and 602 on both of the ports,

set trunk 1/1 dot1q desirable 601, 602

set trunk 2/1 dot1q desirable 601, 602

Yes the command should add the new vlan to the already existing list but it will be a safe option to allow all the vlans again along with the new vlan(comma separated list).

Cheers,

Shashank

Please rate the helpful posts.

View solution in original post

3 Replies 3

Shashank Singh
Cisco Employee
Cisco Employee

Hi Subodh,

There is no explicit command to allow vlans in catos. This is done using the set trunk command as below:

set trunk 5/1  desirable dot1q 1-1005,1025-4094

Hope that helps,

Shashank

P.S. Please rate if this helped answer your question.

Thanks Shashank

we have two ports in a port channel. (1/1 and 2/1)

Means i need to go each port and add VLANs individually. Is my understanding correct?

set trunk 1/1  desirable dot1q 601

set trunk 1/1  desirable dot1q 602

This will add to the existing already permitted VLANs correct?

Please let me know.

Thanks for help !

subodh

Hi Subodh,

Yes you will need to do this command one by one on both ports.For example if you wish to allow 601 and 602 on both of the ports,

set trunk 1/1 dot1q desirable 601, 602

set trunk 2/1 dot1q desirable 601, 602

Yes the command should add the new vlan to the already existing list but it will be a safe option to allow all the vlans again along with the new vlan(comma separated list).

Cheers,

Shashank

Please rate the helpful posts.