02-14-2011 10:00 AM - edited 03-06-2019 03:32 PM
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
Solved! Go to Solution.
02-14-2011 10:50 AM
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.
02-14-2011 10:07 AM
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.
02-14-2011 10:39 AM
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
02-14-2011 10:50 AM
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.
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