ConfiguringanLACPbondedInterfacewithCiscoswitches
ConfiguringanLACPbondedInterfacewithCiscoswitches
XenServerv6.1hasannounc ednativesupportforLACP.Itisrec ommendedtoupgradetov6.1in
ordertogainproperandsupporteduseofLACPNICbonding.
//ConfiguretheEtherChannelfirst
interfac ePortc hannel1
desc riptionEtherc hannelTeamforXenServer1
switc hporttrunkenc apsulationdot1q
switc hporttrunknativevlan2
switc hporttrunkallowedvlan211
switc hportmodetrunk
spanningtreeportfast
spanningtreebpduguardenable
!
//nowc onfiguretheindividualswitc hports
interfac eGigabitEthernet1/0/1
desc riptionXenServer1eth0
switc hporttrunkenc apsulationdot1q
switc hporttrunknativevlan2
switc hporttrunkallowedvlan211
switc hportmodetrunk
speed1000
duplexfull
c hannelprotoc ollac p
c hannelgroup2modeac tive
!
interfac eGigabitEthernet2/0/1
desc riptionXenServer1eth1
switc hporttrunkenc apsulationdot1q
switc hporttrunknativevlan2
http://www.quorumsoft.com/kb/index.php/article/printer/lacpbond
1/3
18/3/2015
ConfiguringanLACPbondedInterfacewithCiscoswitches
switc hporttrunkallowedvlan211
switc hportmodetrunk
speed1000
duplexfull
c hannelprotoc ollac p
c hannelgroup2modeac tive
!
//nowmakesurethingsarec onfiguredproperly:
showetherc hannel2summary
//thisshouldoutputsomethinglikethefollowing:
...
Numberofc hannelgroupsinuse:4
Numberofaggregators:4
GroupPortc hannelProtoc olPorts
+++
2Po2(SU)LACPGi1/0/1(P)Gi2/0/1(P)
//Note,youmayseethetwonic sin(I)insteadof(P)untilyouc onfigureandrebootyour
XenServer
Now,makethefollowingc hangestoyourXenServerhost.
1.CreateaBondedinterfac efromXenCenter.Selec tyourserver,thentheNICstabandc hoose
'CreateBond'.AddthePIFsyouwant
2.TheCitrixrec ommendedoption.Runthefollowingc ommandontheXenServerhostc onsole.
MakesuretousetheUUIDoftheBondedinterfac e.
xepifparamsetuuid=otherc onfig:bondmode=802.3ad
(note:tofindyourPIF'suuid:xepiflisthostuuid=)
(note:tofindyourHost'suuid:xehostlist)
2/3
18/3/2015
ConfiguringanLACPbondedInterfacewithCiscoswitches
EthernetChannelBondingDriver:v3.1.2(January20,2007)
BondingMode:IEEE802.3adDynamic linkaggregation
TransmitHashPolic y:layer2(0)
MIIStatus:up
MIIPollingInterval(ms):100
UpDelay(ms):31000
DownDelay(ms):200
802.3adinfo
LACPrate:slow
Ac tiveAggregatorInfo:
AggregatorID:1
Numberofports:2
Ac torKey:17
PartnerKey:2
PartnerMac Address:
SlaveInterfac e:eth0
MIIStatus:up
LinkFailureCount:0
PermanentHWaddr:
AggregatorID:1
SlaveInterfac e:eth1
MIIStatus:up
LinkFailureCount:0
PermanentHWaddr:
AggregatorID:1
4.Testandverify.Atthispoint,yournewteamshouldbeupandfunc tional.
Youc anviewthisartic leonlineat:
http://www.quorumsoft.c om/kb/index.php/artic le/lac pbond
http://www.quorumsoft.com/kb/index.php/article/printer/lacpbond
3/3