Lab – Configuring EtherChannel Topology
Addressing Table Device
Interface
IP Address
Subnet Mas
S1
VLAN 99
192.168.99.11 192.168.99.11
255.255.255.0
S2
VLAN 99
192.168.99.12
255.255.255.0
S3
VLAN 99
192.168.99.13
255.255.255.0
PC-A
NIC
192.168.10.1
255.255.255.0
PC-B
NIC
192.168.10.2
255.255.255.0
PC-C
NIC
192.168.10.3
255.255.255.0
!b"ectives Part #$ Configure %asic S&itch Settings Part '$ Configure PAgP Part ($ Configure LACP
%acground ) Scenario Link aggregation allow t!e "reation o# logi"al link t!at are "o$%rie& o# two or $ore %!'i"al link. (!i %ro)i&e in"reae& t!ro*g!%*t +e'on& *ing onl' one %!'i"al link. Link aggregation alo %ro)i&e re&*n&an"' i# one o# t!e link #ail. In t!i la+, 'o* will "on#ig*re t!erC!annel, a #or$ o# link aggregation *e& in wit"!e& network. o* o* will "on#ig*re t!erC!annel *ing Port Aggregation Proto"ol /PAgP /PAgP an& Link Aggregation Control Proto"ol /LACP.
. All rig!t reer)e&. (!i &o"*$ent i Ci"o P*+li". 2013 Ci"o an&or it a##iliate
Page # o# *
Lab – Configuring EtherChannel
+ote +ote PAgP i i a Ci"o-%ro%rietar' %roto"ol t!at 'o* "an onl' r*n on Ci"o wit"!e an& on wit"!e t!at are li"ene& )en&or to *%%ort PAgP. LACP i a link aggregation %roto"ol t!at i &e#ine& +' I 802.3a&, an& it i not ao"iate& wit! an' %e"i#i" )en&or. )en&or. LACP allow Ci"o wit"!e to $anage t!ernet "!annel +etween wit"!e t!at "on#or$ to t!e 802.3a& %roto"ol. o* o* "an "on#ig*re *% to 16 %ort to #or$ a "!annel. ig!t o# t!e %ort are in a"ti)e $o&e an& t!e ot!er eig!t are in tan&+' $o&e. 4!en an' o# t!e a"ti)e %ort #ail, a tan&+' %ort +e"o$e a"ti)e. Stan&+' $o&e work onl' #or LACP, not #or PAgP. +ote +ote (!e wit"!e *e& wit! CCNA !an&-on la+ are Ci"o Catal't 2960 wit! Ci"o IS eleae 15.0/2 /lan+aek9 i$age. t!er wit"!e an& Ci"o IS )erion )erion "an +e *e&. 7e%en&ing on t!e $o&el an& Ci"o IS )erion, t!e "o$$an& a)aila+le an& o*t%*t %ro&*"e& $ig!t )ar' #ro$ w!at i !own in t!e la+. +ote +ote ake *re t!at t!e wit"!e !a)e +een erae& an& !a)e no tart*% "on#ig*ration. I# 'o* are *n*re, "onta"t 'o*r intr*"tor. intr*"tor.
,e-uired ,esources
3 Swit"!e Swit"!e /Ci"o /Ci"o 2960 2960 wit! wit! Ci"o Ci"o IS IS eleae eleae 15.0/2 15.0/2 lan+aek lan+aek9 9 i$age i$age or "o$%ara+l "o$%ara+le e
3 PC /4in&ow /4in&ow :, Vita, Vita, or or ;P wit! wit! ter$ina ter$inall e$*lation e$*lation %rogra$ %rogra$,, *"! a (era (er$ (er$
Conol Conole e "a+le "a+le to "on#i "on#ig*r g*re e t!e Ci"o Ci"o IS IS &e)i" &e)i"e e )ia )ia t!e "ono "onole le %ort %ort
t!e t!ern rnet et "a+l "a+le e a a !ow !own n in t!e t!e to%ol to%olog og' '
Part #$ Configure %asic S&itch Settings In Part 1, 'o* will et *% t!e network to%olog' an& "on#ig*re +ai" etting, *"! a t!e inter#a"e IP a&&ree, &e)i"e a""e, an& %awor&.
Step #$ Cable the net&or as sho&n in the topology. Atta"! t!e &e)i"e &e)i"e a !own in t!e t!e to%olog' &iagra$, an& "a+le a ne"ear'. ne"ear'.
Step '$ Initiali/e and reload the s&itches. Step ($ Configure basic settings for each s&itch. a.
7ia+le 7NS look*%.
b.
Con#ig*re t!e &e)i"e na$e a &i%la'e& in t!e to%olog'.
c.
n"r'%t %lain te
d.
Create a (7 +anner warning *er t!at *na*t!ori=e& a""e i %ro!i+ite&.
e. Aign class a class a t!e en"r'%te& %ri)ilege& ;C $o&e %awor&. f.
Aign cisco a cisco a t!e "onole an& )t' %awor& an& ena+le login.
g.
Con#ig*re logging 'n"!rono* to %re)ent "onole $eage #ro$ interr*%ting "o$$an& entr'.
h.
S!*t &own all wit"!%ort e<"e%t t!e %ort "onne"te& to PC.
i.
Con#ig*re VLAN 99 an& na$e it Manage0ent. Manage0ent .
j.
Con#ig*re VLAN 10 an& na$e it Staff .
k.
Con#ig*re t!e wit"! %ort wit! atta"!e& !ot a a""e %ort in VLAN 10.
l.
Aign t!e IP a&&ree a""or&ing to to t!e A&&reing A&&reing (a+le. (a+le.
m. Co%' t!e r*nning "on#ig*ration to tart*% "on#ig*ration.
Step 1$ Configure the PCs. 2013 Ci"o an&or it a##iliate. All rig!t reer)e&. (!i &o"*$ent i Ci"o P*+li".
Page ' o# *
Lab – Configuring EtherChannel
Aign IP a&&ree to t!e PC PC a""or&ing to t!e t!e A&&reing A&&reing (a+le. (a+le.
Part '$ Configure PAgP PAgP i a Ci"o %ro%rietar' %roto"ol #or link aggregation. In Part 2, a link +etween S1 an& S3 will +e "on#ig*re& *ing PAgP.
Step #$ Configure PAgP on S# and S(. >or a link +etween S1 an& S3, "on#ig*re t!e %ort on S1 wit! PAgP PAgP &eira+le $o&e an& t!e %ort on S3 wit! PAgP a*to $o&e. na+le t!e %ort a#ter PAgP $o&e !a)e +een "on#ig*re&. S1(config)# interface range f0/3-4 S1(config-if-range)# channel-group 1 mode desirable Creating a port-channel interface Port-channel 1
S1(config-if-range)# no shutdown S3(config)# interface range f0/3-4 S3(config-if-range)# channel-group 1 mode auto Creating a port-channel interface Port-channel 1
S3(config-if-range)# no shutdown *Mar *Mar
1 00:09:12.792: !"$-3-%P&': "nterface at+thernet0,3 at+thernet0,3 change tate to /p 1 00:09:12.792: !"$-3-%P&': "nterface at+thernet0, at+thernet0, change tate to /p
S3(config-if-range)# *Mar 1 00:09:1.3: !"+P'4'--%P&': !ine protocol on "nterface at+thernet0,3 change tate to /p *Mar 1 00:09:15.25: !"+P'4'--%P&': !ine protocol on "nterface at+thernet0, change tate to /p S3(config-if-range)# *Mar
1 00:09:15.37: !"$-3-%P&': "nterface Port-channel1 Port-channel1 change tate to /p
*Mar
1 00:09:17.35: !"+P'4'--%P&': !ine protocol on "nterface Port-channel1
change tate to /p *Mar 1 00:09:.33: !"+P'4'--%P&': !ine protocol on "nterface 6lan1 change tate to /p
Step '$ E2a0ine the configuration on the ports. C*rrentl' t!e >03, >0?, an& Po1 /Port-"!annel1 inter#a"e on +ot! S1 an& S3 are in a""e o%erational $o&e wit! t!e a&$initrati)e $o&e in &'na$i" a*to. Veri#' Veri#' t!e "on#ig*ration *ing t!e sho& run interface interface-id an& an& sho& interfaces interface-id s&itchport "o$$an&, s&itchport "o$$an&, re%e"ti)el'. re%e"ti)el'. (!e e
03 on S1 a re a #ollow S1# show run interface f0/3 /iling config/ration...
C/rrent config/ration : 103 8te interface at+thernet0,3 channel-gro/p 1 ;oe eira8le
2013 Ci"o an&or it a##iliate. All rig!t reer)e&. (!i &o"*$ent i Ci"o P*+li".
Page ( o# *
Lab – Configuring EtherChannel
S1# show interfaces f0/3 switchport a;e: a0,3 Se Moe: na;ic a/to 'perational Moe: tatic acce (;e;8er of 8/nle Po1) =;initrati>e 4r/n?ing +ncap/lation: ot1@ 'perational 4r/n?ing +ncap/lation: nati>e egotiation of 4r/n?ing: 'n =cce Moe 6!=: 1 (efa/lt) 4r/n?ing ati>e Moe 6!=: 1 (efa/lt) =;initrati>e ati>e 6!= tagging: ena8le 6oice 6!=: none =;initrati>e pri>ate->lan hot-aociation: none =;initrati>e pri>ate->lan ;apping: none =;initrati>e pri>ate->lan tr/n? nati>e 6!=: none =;initrati>e pri>ate->lan tr/n? ati>e 6!= tagging: ena8le =;initrati>e pri>ate->lan tr/n? encap/lation: ot1@ =;initrati>e pri>ate->lan tr/n? nor;al 6!=: none =;initrati>e pri>ate->lan tr/n? aociation: none =;initrati>e pri>ate->lan tr/n? ;apping: none 'perational pri>ate->lan: none 4r/n?ing 6!= +na8le: =!! Pr/ning 6!= +na8le: 2-1001 Capt/re Moe &ia8le Capt/re 6!= =llo
Protecte: fale %n?no
Step ($ 3erify that the ports have been aggregated. S1# show etherchannel summary lag:
& - o
P - 8/nle in port-channel
" - tan-alone - /pene A - Aot-tan8 (!=CP onl) - !aer3
S - !aer2
% - in /e
f - faile to allocate aggregator
M - not in /e ;ini;/; lin? not ;et / - /n/ita8le for 8/nling
< - efa/lt
port
/;8er of channel-gro/p in /e: 1 /;8er of aggregator:
1
Bro/p
Port
Port-channel
Protocol
2013 Ci"o an&or it a##iliate. All rig!t reer)e&. (!i &o"*$ent i Ci"o P*+li".
Page 1 o# *
Lab – Configuring EtherChannel
------------------------------------------------------------------------------------------------------------------------------------------------------1
Po1(S%)
P=gP
a0,3(P)
a0,(P)
S3# show etherchannel summary lag:
& - o
P - 8/nle in port-channel
" - tan-alone - /pene A - Aot-tan8 (!=CP onl) - !aer3
S - !aer2
% - in /e
f - faile to allocate aggregator
M - not in /e ;ini;/; lin? not ;et / - /n/ita8le for 8/nling
< - efa/lt
port
/;8er of channel-gro/p in /e: 1 /;8er of aggregator:
1
Bro/p
Port
Port-channel
Protocol
------------------------------------------------------------------------------------------------------------------------------------------------------1
Po1(S%)
P=gP
a0,3(P)
a0,(P)
4!at
&o t!e #lag, S@ an& P, in&i"ate in t!e t!ernet *$$ar' The flag P indicates that the ports are bunled in a port4channel. The flag S indicates that the port4chann port4channel el is a layer ' Etherechannel. The 5 flag indicates that the Ethernchannel is in in use
Step 1$ Configure trun ports. A#ter t!e %ort %ort !a)e +een aggregate&, "o$$an& a%%lie& at t!e %ort "!annel inter#a"e inter#a"e a##e"t a##e"t all t!e link t!at were +*n&le& toget!er. an*all' "on#ig*re t!e Po1 %ort on S1 an& S3 a tr*nk %ort an& aign t!e$ to nati)e VLAN 99. S1(config)# interface port-channel 1 S1(config-if)# switchport mode trunk S1(config-if)# switchport trunk native vlan 99 S3(config)# interface port-channel 1 S3(config-if)# switchport mode trunk S3(config-if)# switchport trunk native vlan 99
Step
6$ 3erify that the ports are configured as trun ports. a.
I*e t!e sho& run interface interface-id "o$$an& on S1 an& S3. 4!at "o$$an& are lite& #or >03 an& >0? on +ot! wit"!e Co$%are t!e re*lt to t!e r*nning "on#ig*ration #or t!e Po1 inter#a"e e"or& 'o*r o+er)ation.
2013 Ci"o an&or it a##iliate. All rig!t reer)e&. (!i &o"*$ent i Ci"o P*+li".
Page 6 o# *
Lab – Configuring EtherChannel
The co00ands related to trun configuration are the sa0e7 &hen the trun co00and &as applied to the Etherchannel7 the co00ands also affected the individual lins in the bundle S&itchport trun native vlan 88 S&itchport 0ode trun
b.
I*e t!e sho& interfaces trun an& trun an& sho& spanning4tree "o$$an& on S1 an& S3. 4!at tr*nk %ort i lite& 4!at i t!e nati)e VLAN 4!at i "on"l*&ing re*lt #ro$ t!e o*t%*t The trun port listed is Po#. The native 3LA+ is 88 after the lins are bundled only the aggregated interfaces is listed in so0e sho& co00ands
>ro$ t!e sho& spanning4tree o*t%*t, spanning4tree o*t%*t, w!at i %ort "ot an& %ort %riorit' #or t!e aggregate& link The port cost The port cost for Po# is #' the port priority is #'9
Part ($ Configure LACP LACP i an o%en o*r"e % roto"ol #or link aggregation &e)elo%e& +' t!e I. In Part 3, t!e link +etween S1 an& S2, an& t!e link +etween S2 an& S3 will +e "on#ig*re& *ing LACP. LACP. Alo, t!e in&i)i&*al link will +e "on#ig*re& a tr*nk +e#ore t!e' are +*n&le& toget!er a t!erC!annel.
Step #$ Configure LACP bet&een S# and S'. S1(config)# interface range f0/1-2 S1(config-if-range)# switchport mode trunk S1(config-if-range)# switchport trunk native vlan 99 S1(config-if-range)# channel-group 2 mode active Creating a port-channel interface Port-channel 2
S1(config-if-range)# no shutdown S2(config)# interface range f0/1-2 S2(config-if-range)# switchport mode trunk S2(config-if-range)# switchport trunk native vlan 99 S2(config-if-range)# channel-group 2 mode passive Creating a port-channel interface Port-channel 2
S2(config-if-range)# no shutdown
Step '$ 3erify that the ports have been aggregated. 4!at %roto"ol i Po2 *ing #or link aggregation 4!i"! %ort are aggregate& to #or$ Po2 e"or& t!e "o$$an& *e& to )eri#'. Po' is using LACP and :;)# and :;' are aggregated fro0 Po'
2013 Ci"o an&or it a##iliate. All rig!t reer)e&. (!i &o"*$ent i Ci"o P*+li".
Page < o# *
Lab – Configuring EtherChannel
Step ($ Configure LACP bet&een S' and S(. a. Con#ig*re t!e link +etween S2 an& S3 a Po3 an& *e LACP a t!e link aggregation a ggregation %roto"ol. S2(config)# interface range f0/3-4 S2(config-if-range)# switchport mode trunk S2(config-if-range)# switchport trunk native vlan 99 S2(config-if-range)#
channel-group 3 mode active Creating a port-channel interface Port-channel 3 S2(config-if-range)# no
shutdown S3(config)# interface range f0/1-2 S3(config-if-range)# switchport mode trunk S3(config-if-range)# switchport trunk native vlan 99 S3(config-if-range)# channel-group 3 mode passive Creating a port-channel interface Port-channel 3
S3(config-if-range)# no shutdown
+. Veri#' t!at t!e t!erC!annel !a #or$e&.
Step 1$ 3erify end4to4end connectivity. Veri#' t!at all &e)i"e "an %ing ea"! ot!er wit!in t!e a$e VLAN. I# not, tro*+le!oot *ntil t!ere i en&-to-en& "onne"ti)it'. +ote +ote It $a' +e ne"ear' to &ia+le t!e PC #irewall to %ing +etween PC.
,eflection 4!at "o*l& %re)ent t!erC!annel #ro$ #or$ing Configuration 0is0atch7 such as trun port on one end and access port on the other end different aggregation protocols and different speed) duple2 &ould prevent the for0ation of EtherChannel
2013 Ci"o an&or it a##iliate. All rig!t reer)e&. (!i &o"*$ent i Ci"o P*+li".
Page * o# *