Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

adding vlan to port-channel on nexus 5000

hello,

 

we have a nexus 5000 switch with a few port-channels. an example setup is below. I need to add a new vlan to the trunk. Can i just add it to the port-channe4?

or do I also need to add it to the physical interface? I was told that sometimes after adding it to the port-channel it doesnt show on the interface so you have to manually add it? Any thoughts?

 

example:

switch# sho run inter po4

!Command: show running-config interface port-channel4
!Time: Sat Jun 28 01:09:12 2014

version 5.2(1)N1(1b)

interface port-channel4
  description bonded interface
  switchport mode trunk
  switchport trunk allowed vlan 5-6
  spanning-tree port type edge trunk
  spanning-tree bpduguard enable
  speed 10000
  vpc 4

===

interface example:

switch# sho run interface ethernet 1/15

!Command: show running-config interface Ethernet1/15
!Time: Sat Jun 28 01:10:48 2014

version 5.2(1)N1(1b)

interface Ethernet1/15
  description machine
  switchport mode trunk
  switchport trunk allowed vlan 5-6
  spanning-tree port type edge trunk
  spanning-tree bpduguard enable
  channel-group 4 mode active
  no shutdown

========

2 REPLIES
VIP Super Bronze

Hi,All you have to do is to

Hi,

All you have to do is to add the new vlan to the Portchannel.  Once that is done, it should show up under each physical interface.

HTH

New Member

Can some one advise if this

Can some one advise if this will work or not? I have a cisco Nexus5010 Chassis

Here is the issue -  I want to ad vlan 37 to port-channel 40 and question is can I do the following config change on the port-channel 40 as such? 

 

KTNAPNSW003# sh run int po40
version 4.1(3)N1(1)

interface port-channel40
  description KTNAPBLD112 e2/3,e2/4
  switchport mode trunk
  switchport trunk native vlan 900
  switchport trunk allowed vlan 3,28,38,42,44-45,310,320,330,400-402
  switchport trunk allowed vlan add 702-707
  spanning-tree port type edge trunk

config t

!

int  port-channel40 

switchport trunk allowed vlan 3,28,37-38,42,44-45,310,320,330,400-402

end

 

then would I configure vlan 37 on the Eth2/3 and 2/4 interface members? 

 

KTNAPNSW003# 

config t

!

interface Ethernet2/3
  description KTNAPBLD112
  switchport mode trunk
  switchport trunk native vlan 900
  switchport trunk allowed vlan 3,28,37-38,42,44-45,310,320,330,400-402
  switchport trunk allowed vlan add 702-707
  channel-group 40 mode active

end

!

config t

interface Ethernet2/4
  description KTNAPBLD112
  switchport mode trunk
  switchport trunk native vlan 900
  switchport trunk allowed vlan 3,28,37-38,42,44-45,310,320,330,400-402
  switchport trunk allowed vlan add 702-707
  channel-group 40 mode active

end 

 

 

 

 

144
Views
0
Helpful
2
Replies
CreatePlease to create content