cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
906
Views
5
Helpful
7
Replies

PortChannel and interfaces

toolshed1
Level 1
Level 1

Hi,

If i need to add additional allowed vlans on trunk would i run command first on PortChannel interface or 2 physical interfaces?

Thanks.

1 Accepted Solution

Accepted Solutions

@toolshed1 you need to add to port channel interface. no need to allow in physical interface. you can do without down time

make sure you are using 'add' key word.

ex. Switch(config-if)#switchport trunk allowed vlan add vlan-id

 

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

View solution in original post

7 Replies 7

@toolshed1 add to portchannel interface.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Kasun,

Thanks for quick response. Just to confirm i already have existing PortChannel with allowed vlans and 2 Physical interfaces that are part of that PortChannel with same allowed vlans. I need to create additional vlans and add them to PortChannel and physical interfaces. I would have to add to PortChannel first and after that to 2 physical interfaces?

I should add that i want to do that without downtime.

@toolshed1 you need to add to port channel interface. no need to allow in physical interface. you can do without down time

make sure you are using 'add' key word.

ex. Switch(config-if)#switchport trunk allowed vlan add vlan-id

 

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

For example, if you originally needed to add VLAN12 to vlan1, 2, and 3, you can configure it in the portchannel.

switchport trunk allowed vlan add 12

 

bo chen
Spotlight
Spotlight

sw1:

interface Port-channel1
switchport mode trunk

interface GigabitEthernet1/1/1
switchport mode trunk
channel-group 1 mode on

interface GigabitEthernet1/1/2
switchport mode trunk
channel-group 1 mode on

sw2:

interface Port-channel1
switchport mode trunk

interface GigabitEthernet1/1/1
switchport mode trunk
channel-group 1 mode on

interface GigabitEthernet1/1/2
switchport mode trunk
channel-group 1 mode on

Verification View command:

show etherchannel summary 

Joseph W. Doherty
Hall of Fame
Hall of Fame

BTW and FYI, over the years (and decades) more and commands are applied on the PC interface.

With current gen IOS, if command applies logically to the bundle, it likely can be applied to the PC interface.  If command deals with individual physical interfaces, then it may need to be applied to individual physical interfaces.

Review Cisco Networking for a $25 gift card