cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
19070
Views
5
Helpful
4
Replies

LACP with single upstream switch

sushil
Level 1
Level 1

Hi,

Need help configuring LACP on nexus.

I am attaching the ether-channel configuration on upstream switch.link0-2 are connecting to esx server nic

Somehow not able to figure out it on nexus.

vmnic1-3 are from esx are attched to upstream switch.

Once configuring on uplink port profile;

channel-group auto mode passive (I am sure it has to be passive as upstream is active)

LACP process needs to be started before configuring active/passive mode

To start with this of following I did;

config t

interface port-channel 1

Then started adding the interface to port-channel on nexus;

config t

interface ethernet 3/1

switchport  -----------------------> (As per document in the link page 16, Fail to figure out what parameter required as it it asking for host setting)

Nexus(config-if)# switchport ?

  host  Set port host

http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_0/interface/configuration/guide/if_5portchannel.html

Please share the inputs if what wrong I am doing.

1 Accepted Solution

Accepted Solutions

Shoot me a quick email to burnsie@cisco.com and I'll assist.

Regards,

Robert

View solution in original post

4 Replies 4

Robert Burns
Cisco Employee
Cisco Employee

Sushil,

The upstream switch config looks good, but you should also configure Port Fast on the upstream Channel Group.  Since the 1000v doesn't support STP, you can safely enable this to improve link transition time. 

For the 1000v side, you are missing some critical commands.

1.  Did you enable the LACP feature? "

feature LACP

2. Ensure LACP offload is enabled.  If Offload is not enabled, enable it.

show lacp offload status

3. Your system vlans have been set correctly on the Uplink side, but you're missing the command on the vEthernet port profiles.  Without it the system VLAN will not be applied to your Control/Packet/Management vEthernet interfaces.  Also you should be adding the channel group command to the parent Ethernet Port Profile and not the individual interfaces.  Since all your Ethernet Interfaces are assigned to this profile the command gets automatically applied - this is the beauty of using a profile.   Please add the lines in Red.

port-profile type ethernet uplink

  vmware port-group

  switchport mode trunk

  switchport trunk allowed vlan 1,10,51-52,100,200

  no shutdown

  system vlan 51-52

  state enabled

  channel-group auto mode active

port-profile type vethernet control

  vmware port-group

  switchport access vlan 52

  no shutdown

  state enabled

  switchport mode access

  system vlan 52


port-profile type vethernet packet

  vmware port-group

  switchport mode access

  switchport access vlan 51

  no shutdown

  state enabled

  system vlan 51

Be sure to remove any individual config you may have added to the Ethernet interfaces on the 1000v.  The inherited Ethernet port profile is the only place you should be modifying anything.

Regards,

Robert

Robert,

I need urgent help of your on attached files.

I added system vlan to control and packet vlan.

Somehow my connectivity with vsm went down.Then made necessary changes in the network adapter and added control(n1k),packet(n1k) and Vmachine (n1k) which is the virtual machines traffic on nexus.

Is that correct configuration?

Temproarliy removed the vlan 100 and 200 right now.

I need to migrate this vswitch from both the hosts to nexus switch.In that case I would have 4 NIC free to have port channel.

I think some prot-profile is needed here to best of my knowledge.

You are aware of port-profile i created so far.

Please let me know the step so that I am not thrown out of the management ip.

192.168.10.40 is on one host and 192.168.10.33 is on other host.

My data vlan is also in this range itself.

Please help...

Shoot me a quick email to burnsie@cisco.com and I'll assist.

Regards,

Robert

Robert,

You were life saver.

Thank you very much for taking access and resolving it for me.

I really apprecaite your efforts.

Please treat this question as answered.

Thanks again.

Regards,

Sushil