Sunday, December 31, 2017

Cisco CCNP:300-115 - 1.5.c Load balancing

Recently I needed to renew my Cisco CCNPs, that is both CCNP Routing and Switching as well as CCNP Security. While working with Cisco products (well now they own SourceFire, so exclude these) is not within my daily duties, I still thought it was important for me to maintain these two credentials. As a result, I've put together my notes below focusing on the key points I used to study. I believe that someone else may find them useful.

        - EtherChannel balances traffic across the different links
        - Load balancing can use MAC addresses or IP addresses, source or destination addresses or both source and destination addresses
        - Selected load balancing mode is applied to all EtherChannel links configured on the switch
        - Etherchannel load balancing is configured via:
              SW1(config)#port-channel load-balance ?
              dst-ip       Dst IP Addr
              dst-mac      Dst Mac Addr
              src-dst-ip   Src XOR Dst IP Addr
              src-dst-mac  Src XOR Dst Mac Addr
              src-ip       Src IP Addr
              src-mac      Src Mac Addr
       
        - "src-mac": packets are distributed across the ports in the channel based on source mac-addresses of the incoming packet
          - Packets from different host use differnt ports in the channel
          - Packets from the same source host use the same port in the channel
        - "dst-mac": packets are distributed across the ports in the channel based on the destination mac-addresses of the incoming packet
          - Packets to the same destination are forwarded over the same port in the channel
          - pakcets to different destinations are sent over differnet ports in the channel
        - "src-dst-mac": distributes traffic across ports in the channel based on both source and destination mac-addresses
        - Can be used when you are not sure whether source or destination mac-address forwarding may be better for a specific switch
        - "src-ip": packets are distributed across the ports in the channel based on source IP address of the incoming packet
          - Packets from different IP addresses use different ports
          - Packets from the same IP use the same port
        - "dst-ip": packets are distributed across the ports in the channel based on destination IP address of the incoming packet
          - Packets from the source IP addresses to different destination could use different ports
          - Packets from different source IP addresses to the same destination, are always sent on the same port in the channel
        - "src-dst-ip": Distributes packets based on both the source and destination IP addresses of the incoming packet.
            - Can be used if you are not clear whehter source IP or destination IP forwarding is better suited for this specific switch
        - EtherChannel ensures a switch uses all available bandwidth available
 
References:
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_52_se/configuration/guide/3560scg/swethchl.html#wpxref12539
       

No comments:

Post a Comment