Specifications
Link Aggregation Configuration Example
December 02, 2010 Page 16 of 23
GiventhattheintentoftheexampleistohavethreeLAGsof4portseach,thereisnoneedto
enablethesingleportLAGfeature.OncetheLAGsinitiate,theywillpersistacrossresets.Should
onlyasingleportbeactiveafterareset,theLAGwillformregardless
ofthesingleportLAG
featuresetting.
FlowregenerationisenabledfortheS8andS3inourexample.Thissettingwillensurethatshould
aLAGportbecomedisabledandthenbecomeactiveagain,LACPwillredistributeexistingflows
overalltheportsinthenewLAG.Thestackableswitch
doesnotsupportflowregeneration.
Theoutputalgorithmdefaultstoselectingtheoutputportbaseduponthedestinationandsource
IPaddress.Thissettingwillnotbechangedinourexample.Inanycase,notethatthestackable
switchdoesnotsupporttheoutputalgorithmfeature.
Configuring the S8 Distribution Switch
ThefirstthingwewanttodoissettheadminkeyforallLAGstothenon‐defaultvalueof65535so
thatnoLAGswillautomaticallyform:
S8(rw)->set lacp aadminkey lag.0.* 65535
LAGs1and2willformontheS8soweneedtosettheadminkeysfortheseLAGs:
S8(rw)->set lacp aadminkey lag.0.1 100
S8(rw)->set lacp aadminkey lag.0.2 200
LACPportstateisdisabledbydefaultontheS8,sowewillenableLACPportstatehere.Wenext
wanttosettheadminkeysandportenableLACPfortheS8physicalports:
S8(rw)->set port lacp port ge.1.1 aadminkey 100 enable
S8(rw)->set port lacp port ge.2.1 aadminkey 100 enable
S8(rw)->set port lacp port ge.3.1 aadminkey 100 enable
S8(rw)->set port lacp port ge.4.1 aadminkey 100 enable
S8(rw)->set port lacp port ge.1.2 aadminkey 200 enable
S8(rw)->set port lacp port ge.2.2 aadminkey 200 enable
S8(rw)->set port lacp port ge.3.2 aadminkey 200 enable
S8(rw)->set port lacp port ge.4.2 aadminkey 200 enable
BecausewewanttheS3andtheC3stackabletobeinchargeofportselection,thesystempriority
fortheS8willbeleftatthedefaultvalueof32768.WenextenableflowregenerationontheS8:
S8(rw)->set lacp flowRegeneration enable
Configuring the S3 Edge Switch
ThefirstthingwewanttodoissettheadminkeyforallLAGstothenon‐defaultvalueof65535so
thatnoLAGswillautomaticallyform:
S3(rw)->set lacp aadminkey lag.0.* 65535
LAG1willformontheS3soweneedtosettheadminkeyforthisLAG:
S3(rw)->set lacp aadminkey lag.0.1 100
LACPportstateisdisabledbydefaultontheS3,sowewillenableLACPportstatehere.Wenext
wanttosettheadminkeysandportenableLACPfortheS3physicalports:
S3(rw)->set port lacp port ge.1.1 aadminkey 100 enable
S3(rw)->set port lacp port ge.1.2 aadminkey 100 enable
S3(rw)->set port lacp port ge.2.1 aadminkey 100 enable
S3(rw)->set port lacp port ge.3.1 aadminkey 100 enable