cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
28301
Views
10
Helpful
3
Replies

How to configure a port channel with VLAN trunking (and make it work..)

tdennehy
Level 1
Level 1

We're trying to configure a port channel group with trunked ports to connect a NetApp HA pair. We want to create two data LIFs and connect them to the switch stack.  We are trying to create 2 data lifs, one for cifs and one for nfs that are on different vlans.

      

We want the same ports to be able to allow multiple vlans to communicate. (trunked)

These data lifs should be able to fail over to different nodes in the HA pair and still be able to communicate on the network.

What this means is that we have to connect 4 ports each for each node in the NetApp HA Pair to the switches and create a port channel of some type that allows for trunked vlans. When we configure the ports, the configuration is as follows (below):

We are only able to configure an IP on one of the vlans.

When we configure an IP from another vlan for the data lif, it does not respond to a ping.

Does anyone have any idea what I'm doing wrong on the Cisco switch?


!
interface GigabitEthernet4/0/12
description Netapp2-e0a
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
channel-protocol lacp
channel-group 20 mode active
end

!
interface GigabitEthernet4/0/13
description Netapp2-e0c
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
channel-protocol lacp
channel-group 20 mode active
end

!
interface GigabitEthernet6/0/12
description Netapp2-e0b
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
channel-protocol lacp
channel-group 20 mode active
end

!
interface GigabitEthernet6/0/13
description Netapp2-e0d
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
channel-protocol lacp
channel-group 20 mode active
end


!
interface Port-channel20
description Netapp2-NFS
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
spanning-tree portfast
spanning-tree bpduguard enable
end

3 Replies 3

Hi,

Any particular reason you have configured Port-channel 20 as spanning-tree bpdugaurd enable ?

Remove that from both end of port-channel and your port-channel would start working.

Regards,

Smitesh


PS: Please rate helpful posts.

jj27
Spotlight
Spotlight

For good measure, you should also configure the portchannel as switchport mode trunk

Our problem was fixed by the storage people.  They changed the server end to trunk, and the encapsulation / etherchannel.

I like all the suggestions, and they probably helped out with the configuration getting this to work.

Thanks!

!
interface Port-channel20
description Netapp2-NFS
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk

!
interface GigabitEthernet4/0/12

switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active

!
interface GigabitEthernet4/0/13

switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active

!
interface GigabitEthernet6/0/12

switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active

!
interface GigabitEthernet6/0/13

switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,511,519
switchport mode trunk
channel-protocol lacp
channel-group 20 mode active

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: