19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EtherChannel Configuration<br />

- In this section, both the trunks between SW1 and SW2 are configured as an EtherChannel.<br />

- The channel-group [channel-group-number] mode on interface subcommand configures an<br />

interface as an EtherChannel interface and assigns it to an EtherChannel channel group.<br />

- Below shows the other 2 EtherChannel modes that allow a switch to automatically negotiate<br />

with its neighboring switch in establishing an EtherChannel.<br />

auto If configured on both switch ports, an EtherChannel will never be established.<br />

desirable As long as one of the switch ports is configured with this mode, an EtherChannel<br />

will be established.<br />

- EtherChannel configuration on SW2:<br />

SW2#conf t<br />

Enter configuration commands, one per line. End with CNTL/Z.<br />

SW2(config)#int fa0/1<br />

SW2(config-if)#channel-group 1 mode on<br />

SW2(config-if)#<br />

00:40:00: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up<br />

00:40:01: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1,<br />

changed state to up<br />

SW2(config-if)#int fa0/2<br />

SW2(config-if)#channel-group 1 mode on<br />

SW2(config-if)#^Z<br />

SW2#sh spanning-tree<br />

VLAN0001<br />

Spanning tree enabled protocol ieee<br />

Root ID Priority 24577<br />

Address bbbb.bbbb.bbbb<br />

This bridge is the root<br />

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec<br />

Bridge ID Priority 24577 (priority 24576 sys-id-ext 1)<br />

Address bbbb.bbbb.bbbb<br />

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec<br />

Aging Time 15<br />

Interface Role Sts Cost Prio.Nbr Type<br />

---------------- ---- --- --------- -------- -------------------------------<br />

Po1 Desg FWD 12 128.65 P2p<br />

SW2#sh etherchannel 1 summary<br />

Flags: D - down P - in port-channel<br />

I - stand-alone s - suspended<br />

R - Layer3 S - Layer2<br />

u - unsuitable for bundling<br />

U – port-channel in use<br />

d - default port<br />

Group Port-channel Protocol Ports<br />

------+-------------+-----------+-------------------------------------------<br />

1 Po1(SU) - Fa0/1(P) Fa0/2(P)<br />

SW2#<br />

49<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!