Link to home
Start Free TrialLog in
Avatar of lawson2305
lawson2305

asked on

Nic Teaming - Cisco Port config help on switch

Ok I want to setup Nic Teaming on a Server and I need to know what the commands are for the port configuration on a Cisco Switch (2950 or 2960).

This could be a team setup for Intel or Broadcom  Nics.  I'm not completely familiar with the different types of teams and which is better looking for recommendations.  I believe what I wish to use though is the standard LACP IEEE 802.3ad link aggregation team.  If for some reason you would recommend against this type of team please explain why.  If there is a better method I would like to know what it is and how to set it up.

Again I'm trying to create a Team that basically takes the multi nics to increase bandwidth to the server while only using one IP.  It is also my understanding that if one of the nic connections goes down it will continue to function on the other Nic or Nics in the team.
Avatar of ravenpl
ravenpl
Flag of Poland image

Avatar of 65td
Avatar of lawson2305
lawson2305

ASKER

Ok first document gives information on doing this between two switches.  I would like to have detailed commands laid out for doing doing this.  Say FastEthernet Ports 0/2,0/3,0/4 on a Cisco 2960 switch.

Second document is for Etherchannel setup which would be if I was setting up any teaming method but LACP IEEE 802.3ad.  Correct?

Third is just more of the same on link two.

Please be more specific.
for 802.3ad you want to set up a port-channel

in config more issue int port-channel XXX ( where XXX is the next number or 1 if it's the first )

configure up the PO as if it was a normal interface "switchport mode trunk " etc.

on the ports to be a member of the channel issue "channel-group XXX" ( do a ? in the ports to be sure on the format of this one as it can be a little different on some switches )
802.3ad is what you want. (all ports have to be in the same switch/stack of cisco switchs)

you can either use

#int g3/0/1 (example of a port there ;) )
#channel-group 1 mode desirable

(this will join an etherchannel/ aggration if the device pluged in to the port is able to auto configure. (ie you have enababled it on the server Nics to be auto as well)

or

#channel-group 1 mode on (this will create an ether channel)

and like caloilte says. once you have the port channel you can configre it as you would a normal interface on a switch, by issing a simple command of

#int port-channel 1
like you would issue a # int g3/0/1

But if both your switch and your server support 802.3ad then this is the simplest way to go. simple make sure they are both set to auto/desirable. and as you attact the cables it will take care of the aggration iits self..
SOLUTION
Avatar of Aaron Street
Aaron Street
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Because I want to use LACP.  If you notice you are not using LACP you are using Cisco proprietary PAgP.

One thing I have gathered is that it looks like I need to set either the Switch or Server Active and the other passive to avoid possible loops.

So if I use my above example then I would be setting the ports active at the switch and would want to set the ports passive at the server.  Is it recommended in anyway to configure the server Nics as active instead of the switch or does it not matter?
switch(config)#: int fastethernet 0/2
switch(config-if)#: channel-protocol lacp

I think this would only be used if you are connecting like say two cisco devices using lacp.  You would define the above on one of the switches but in my example this is being defined on the server so I don't think this is needed on the switch.
So am I incorrect in the idea that I want to use LACP and that I should set this not to Active or Passive but to Auto?

Please I would like to close this question and get this finished.
You need to check what the server NIC and the Switch can support.

with out knowing this it is impossible to answer the question .

There is not much difference between LACP and PAgP.

Personlay I would set the Server to be the active party,and the the switch PAssive.

This way you can set all ports on a switch to passive. then you dont have to worry where you plug in the server, and the switch will take care of the links
DevilWAH thank you for this additional information after I posted my last link I did start to think it would probably be best to set the switch Passive.  Not sure if I can control at server if it is active or passive but I know I can on the Switch.
on the server is basical turn the nic teamin on or off. more than set it to passive or active.
Question,
Should you disable
 spanning-tree portfast trunk
At the interface that you put the switchport on or no?
Of the documents I have reviewed, disable spanning-tree portfast trunk.
See the FAQ's second Q for more information.
http://www.vmware.com/pdf/esx3_vlan_wp.pdf