Ccna 00-301, Volume Official


Table 10-4  EtherChannel Load Distribution Methods Configuration Keyword



Download 24,53 Mb.
Pdf ko'rish
bet432/1430
Sana24.09.2021
Hajmi24,53 Mb.
#183258
1   ...   428   429   430   431   432   433   434   435   ...   1430
Bog'liq
CCNA 200-301 Vol 1&2

Table 10-4  EtherChannel Load Distribution Methods

Configuration Keyword

Math Uses…

Layer

src-mac

Source MAC address

2

dst-mac

Destination MAC address

2

src-dst-mac

Both source and destination MAC

2

src-ip

Source IP address

3

dst-ip

Destination IP address

3

src-dst-ip

Both source and destination IP

3

src-port

Source TCP or UDP port

4

dst-port

Destination TCP or UDP port

4

src-dst-port

Both source and destination TCP or UDP port

4

To appreciate why you might want to use different methods, you need to consider the results 



of how switches make their choice. (The discussion here focuses on the result, and not the 

logic, because the logic remains internal to the switch, and Cisco does not document how 

each switch model or IOS version works internally.) However, the various load distribution 

algorithms do share some common goals:

  To cause all messages in a single application flow to use the same link in the channel, 



rather than being sent over different links. Doing so means that the switch will not inad-

vertently reorder the messages sent in that application flow by sending one message over 

a busy link that has a queue of waiting messages, while immediately sending the next 

message out an unused link.

  To integrate the load distribution algorithm work into the hardware forwarding ASIC so 



that load distribution works just as quickly as the work to forward any other frame.

  To use all the active links in the EtherChannel, adjusting to the addition and removal of 



active links over time.

  Within the constraints of the other goals, balance the traffic across those active links.



In short, the algorithms first intend to avoid message reordering, make use of the switch for-

warding ASICs, and use all the active links. However, the algorithm does not attempt to send 

the exact same number of bits over each link over time. The algorithm does try to balance 

the traffic, but always within the constraints of the other goals.

Technet24

||||||||||||||||||||

||||||||||||||||||||



ptg29743230

10

Chapter 10: RSTP and EtherChannel Configuration    255

Whatever load distribution method you choose, the method identifies fields in the message 

headers. Any messages in the same application flow will then have the same values in the fields 

used by the load distribution algorithm and will always be forwarded over the same link. For 

example, when a user connects to a website, that web server may return thousands of packets 

to the client. Those thousands of packets should flow over the same link in the EtherChannel.

For instance, with the load distribution method of src-mac (meaning source MAC address), 

all frames with the same MAC address flow over one link. Figure 10-9 shows the idea with 

pseudo MAC addresses, with the load distribution sending frames with source MAC 1 over 

link 1, source MAC 2 over link 2, and source MAC 3 over link 3.

1

2



3

4

SRC MAC 1



SRC MAC 1

SRC MAC 1

SRC MAC 2

SRC MAC 3

EtherChannel Load Distribution

Figure 10-9

  Distributing All Frames with Same Mac Out Same Interface

Cisco provides a variety of load distribution options so that the engineer can examine the 

flows in the network with the idea of finding which fields have the most variety in their val-

ues: source and destination MAC, or IP address, or transport layer port numbers. The more 

variety in the values in the fields, the better the balancing effects, and the lower the chance 

of sending disproportionate amounts of traffic over one link. 



NOTE

  The algorithm focuses on the low-order bits in the fields in the headers because the 

low-order bits typically differ the most in real networks, while the high-order bits do not 

differ much. By focusing on the lower-order bits, the algorithm achieves better balancing of 

traffic over the links.

The Effects of the EtherChannel Load Distribution Algorithm

Figure 10-10 details a new EtherChannel that will be used in two examples to show the 

effects of load distribution. The examples will focus on frames sent by switch SW1 in the 

figure, showing the use of the test etherchannel load-balance EXEC command. That com-

mand asks the switch to consider some addresses or ports and answer the question: which 

link would you use when forwarding a message with those address/port values?  

G 1/0/21 - 24

Channel-group 1

Channel-group 1

SW1

SW2


G 1/0/21 - 24

Figure 10-10

  Four-Link EtherChannel

||||||||||||||||||||

||||||||||||||||||||



ptg29743230

256    CCNA 200-301 Official Cert Guide, Volume 1

Example 10-7 shows how switch SW1 distributes traffic when using src-mac load distribu-

tion. The example lists the output from three of the test etherchannel load-balance com-

mands, but note that all three commands use the same source MAC address. As a result, the 

answer from each command references the same interface (G1/0/22 in this case).




Download 24,53 Mb.

Do'stlaringiz bilan baham:
1   ...   428   429   430   431   432   433   434   435   ...   1430




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish