Link - Aggregation 2016 Sep
Link - Aggregation 2016 Sep
aggregation/bonding
and load balancing
with SAF products
CONTENTS
1. About LAG in Ethernet terminology .............................................................. 2
2. Link aggregation types with SAF products ................................................... 3
3. Table of aggregation types available with SAF products .............................. 4
4. Options and considerations for link aggregation .......................................... 5
5. Built-in configuration examples ................................................................... 8
5.1 CFIP Lumina ................................................................................................................................ 8
5.2 CFIP PhoeniX .............................................................................................................................. 9
5.3 Sample configuration with CFIP Phoenix M ........................................................................... 11
5.4 Integra, Integra S ....................................................................................................................... 11
Link aggregation, load balancing, and link bonding are computer networking umbrella terms.
They describe various methods of aggregating multiple network connections in parallel links to
increase throughput beyond what a single connection could sustain, as well as provide
redundancy in case one of the links fails.
From the network point of view the, link bonding is a single physical channel. Link bonding is
Layer 1 aggregation of frames, which is delivered as a single physical link to Layer 2, whereas
Ethernet aggregation (mostly Layer 2) and load balancing (Layer 3) are methods for combining
two or more Ethernet paths.
Link aggregation – Layer 2 aggregation is based on IEEE 802.3ad with MAC address hashing.
Some implementations also allow Layer 3 aggregation based on hashing of IP address/ports.
Load balancing – Traffic segmentation based on pre-defined traffic path configuration, usually
implemented in routers or Layer 3 switches. Traffic segmentation can be defined by VLANs, IP
addresses, ports, etc, depending on options in the device. Load balancing can be applied on
Layer 2 switches based on pre-defined paths per VLAN.
CFIP Lumina, PhoeniX and Marathon all support built-in Ethernet link aggregation. SAF Tehnika
has designed a proprietary microwave Ethernet link aggregation mechanism. It was designed
along the guidelines of the 802.3ad protocol and complies with its provisions. While the main
enhancement specifically for microwave radio link aggregation is a proprietary control protocol,
it takes into account specific properties of the microwave link such as: link capacity, received
signal level, radial MSE, LDPC stress etc.
The Integra and Integra S radios support link bonding which works on Layer 1 and aggregates
two parallel links capacity utilizing a single Ethernet connection e.g. single MAC to MAC or IP to
IP connection may be used.
o CFIP Phoenix M 2+0 utilizes link bonding, the method which can perform the
link aggregation with one pair of MAC addresses.
This type of aggregation is based at the modem level which uses frame
aggregation (link bonding).
o With the Integra or Integra S radios you can setup 2+0 link bonding using
various interconnection schemes. Please refer to Installation Manual.
o With the CFIP Lumina - you can setup a 2+0 configuration using at least one
pair of four port external switches and these switches are not involved in link
aggregation.
o With the CFIP PhoeniX/Marathon radios, you can setup 2+0, 3+0 and 4+0
configuration. Basic external switches are required for interconnecting
management traffic.
o With the CFIP Lumina radio, you can setup n+0 configuration using external
switches to achieve link aggregation or routers to achieve load balancing. *
o With the Integra, Integra S, Integra W and Integra WS radios you can setup n+0
configuration using external switches to achieve link aggregation or routers to
achieve load balancing. *
o With the CFIP PhoeniX/Marathon radios you can setup n+0 configuration using
external switches to achieve link aggregation or routers to achieve load
balancing. *
o With the CFIP-106/108 FODU and SAF Freemile radios you can setup n+0 load
balancing with external switches. Note: this will be load balancing, not link
aggregation.
Aggregation type
Product name Layer 1 Layer 2 Layer 3
Internal External Internal External Internal External
Integra and Integra S X X* - X - X
Integra W and Intergra WS - X* - X - X
CFIP Lumina 2 LAN ports - X* X X - X
CFIP Lumina 1 LAN port - X* - X - X
CFIP Phoenix M X X* X X - X
CFIP PhoeniX - X* X X - X
CFIP Marathon - X* X X - X
SAF Freemile 17/24 - X* - X - X
SAF Freemile 5.8GE - X* - X - X
Layer 1 - Link bonding, any devices (router, switch, PC) can be connected;
Layer 2 - Link aggregation like LACP or load balancing by VLANs. Available with both Layer 2
and Layer 3 switches
Layer 3 - Load balancing - IP based. Available with routers and some Layer 3 switches.
There are other types of load balancing or aggregation based on higher layers of OSI.
Couplers and splitters are passive devices for dividing a microwave signal, which allows
combining the signal of one radio with another radio into a single path and provides a single
polarized coupling. The microwave signal can be divided into various proportions, for example
1:6 (asymmetrical) or 3:3 (symmetrical).
An OMT or Orthomode transducer is a passive device for filtering polarization from/to circular
waveguide paths.
A standard SAF radio adapted coupler and OMT can be combined to connect 4 radios to a single
antenna.
Multiple radios can be connected to an antenna by using circulators and filters, which can be
used either indoor (for all-indoor application) or outdoor. Frequency channel branching systems
can allow connecting multiple radios to single antenna with minimal attenuation.
Alternatively, a 4+0 system can be attached to any dual-polarization antenna with standard
flanges by using external stand-alone couplers and waveguides.
In many cases the target capacity is 1Gbps, which is built from multiple parallel links. Below is a
table for different options of achieving close to 1Gbps capacity with CFIP product series
equipment.
With the CFIP PhoeniX M system there is possibility to build radio links with mixed payload.
Please contact SAF representative to get more details on capacity and link options.
With the CFIP Lumina, the link aggregation in 2+0 mode allows utilizing up to 732 Mbps
Ethernet Layer 2 throughput (256QAM @ 56MHz) by using independent frequency pair for each
link. Link aggregation of 2+0 traffic distribution between two links is based upon source and
destination MAC addresses of Ethernet packets. Link aggregation (2+0) requires multiple MAC
to MAC address pair connections as a path since each connection is chosen based upon
Ethernet frame’s source and destination MAC addresses. A sufficient diversity of MAC
addresses is required to achieve maximum aggregate throughput. The CFIP Lumina 2+0 link
aggregation features link and power redundancy. If link loses synchronization or any unit fails
traffic will be rerouted to the active link.
Necessary equipment:
Two CFIP Lumina links. Each CFIP Lumina FODU should have two Ethernet ports
(optical or electrical)
Two Gigabit Ethernet switches.
In order to connect radios to single antenna you can use coupler or OMT. Alternatively,
you can use two separate antennas (please see Chapter 4).
Up to 732 Mbps
Physical layer protection:
o Protection of hardware failure
o Radio protection
o Modem protection
o Ethernet protection
If the modulation of one link is downshifted, modulation on the other link will be aligned to the
same configuration.
The CFIP Phoenix has built-in link aggregation of 2+0, 3+0 and 4+0 modes. The modes allow the
utilization of up to 1Gbps Ethernet Layer 2 throughput (256QAM @ 56MHz) by using
independent frequency pair for each link.
Optional CFIP PhoeniX IDU (P/N S0GIP*11) is equipped with the power protection port. It
provides redundancy for the internal power board, external power supply and power cables.
Necessary equipment:
CFIP ODU can utilize adapted mounting and hybrid combiner. A hybrid combiner consists of a
built-in OMT with couplers attached to each polarization.
The Integra/Integra-S’s 2+0 aggregation (link bonding) provides ACM-aware bonding. The ACM-
aware bonding of the user available capacities take two parallel links, and each will use an
individual frequency pair. Traffic is split per-frame over two links on the modem level.
If any (master or slave) link synchronization goes down, switching to a working link is hitless.
Two Integra or Integra-S FODUs are required. In the case of the Integra-S OMT, a dual-polarized
antenna or coupler can be used.
Scheme 1
Advantages: An external switch is not required; optical cables used only for
interconnection between both Integra/Integra-S FODUs; only two cables
installed between Integra/Integra-S FODUs and indoor facility.
Advantages: Only a single optical cable required; only two cables installed
between Integra/Integra-S FODUs and indoor facility.
Following are some examples showing how to implement link aggregation, or load balance,
using external switches and routers and ensure stable management access to CFIP products.
6.1 Link aggregation using external switches via LACP (or PAgP) protocol with
MAC or IP address hashing on CISCO switches.
After the switch CRC hash calculation, based on its chosen method SA-DA, SA or DA, the switch
will send packets using a chosen path. Along with traffic, the CFIP management packets can be
routed along paths where the requested CFIP unit doesn’t exist. This may cause inaccessibility
to CFIP management. To avoid this problem, it is recommend that a two a port CFIP Lumina or
CFIP PhoeniX, where you can separate data traffic from management traffic using VLANs, is
used.
Below is an interconnection example for 2+0 Lumina with 2 Ethernet ports and external
managed switches.
Note: Traffic is tagged on external switches. VLAN100 is management and VLAN200 is data
traffic. VLAN1 will pass untagged traffic which is required for communication between external
switches. You also can use Lumina radios built-in switch to tag Ethernet traffic (data and
management traffic).
The link between two CISCO switches is considered working from the switch perspective when
the port condition is “UP”. In case of synchronization loss in the Lumina link which connects
two switches, Ethernet ports will be still in the “UP” state and switches will consider that the link
is working, thereby continuing to send the traffic which will be dropped on the Lumina device.
LACP protocol can detect broken the link even if Ethernet port is “UP” and redirect all traffic to
another path, however, this procedure might take more than 1 minute with slow LACP.
Aggregation restoration is more or less dependent on external switches in the case of radio
sync loss.
The link state propagation configuration is available in Configuration -> Ethernet configuration
Web GUI page.
Explanation:
LAN auto recovery* (0..600) sec – synchronization loss timeout after which port is reenabled even
if link synchronization is still lost, otherwise timeout is ignored.
SyncLoss keepalive timeout (0..10) sec – LAN port shutdown timeout after synchronization loss
and synchronization recovery events.
LSP startup timeout (0..3600) sec – LSP activity timeout after management CPU start up and
configuration script execution. During this period synchronization events are ignored.
SNMP traps – SNMP trap will be sent if enabled.
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 200
switchport mode trunk
!
Explanation:
Interfaces ge0/1 - 0/2 are used to trunk aggregated traffic to other peer thru Lumina
radios.
Interface ge0/3 – is network cloud (lots of SA-DA MACs)
Interface ge0/4 – is for management PC
Interfaces ge0/5 – 0/6 are used to trunk management data to Lumina.
There is no limitation to the number of aggregated parallel links, it depends on the number of
external switches.
The same configuration of Lumina radios and switches should be used in case of link
aggregation, which is based on IP hashing. You will need to add “port-channel load-balance src-
dst-ip” in to CISCO global configuration.
By default, CISCO switches are using a proprietary PVST protocol. This protocol works very well
without special “fine tuning” of STP (Spanning-Tree Protocol). Other brands have MSTP
(Multiple Spanning-Tree protocol) which requires “fine tuning” for correct STP behavior.
Important properties are: setup region name and revision, instances per VLAN, BPDU filter must
be applied on aggregated port (not physical interface), correct port priority and path costs for
aggregated ports.
Configuration of MSTP:
Instance 0 (MST00) is enabled by default. This instance contains all untagged service packets
for correct communication between external switches.
Please check the status of STP after successful configuration, the aggregation port must be in
“forwarding” state.
You need to check STP behavior on the external switches after correct configuration. The
aggregation port must be in “forwarding” state.
Another method is to use routers and load balancing between nodes. On CISCO routers there
are two ways:
per-packet – load balancing allows the router to send data packets over successive
equal-cost paths without regard to individual destination hosts or user sessions. Path
utilization is good, but packets destined for a given destination host might take different
paths and might arrive out of order.
per-destination - load balancing allows the router to use multiple, equal-cost paths to
achieve load sharing. Packets for a given source-destination host pair are guaranteed to
take the same path, even if multiple, equal-cost paths are available. Traffic for different
source-destination host pairs tend to take different paths.
The “per-packet” method which can be used to load balance with one source IP and destination
IP will be explained further on.
This is interconnection example for 2+0 Lumina with one or two Ethernet ports and CISCO routers.
Router Nr.1:
!
ip cef
ip cef load-sharing algorithm original
!
interface FastEthernet0/0
ip address 192.168.20.2 255.255.255.0
ip load-sharing per-packet
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.30.2 255.255.255.0
ip load-sharing per-packet
duplex auto
speed auto
!
interface FastEthernet0/1/0
switchport access vlan 20
!
interface Vlan20
ip address 192.168.205.1 255.255.255.0
!
!
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0 192.168.20.1
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1 192.168.30.1
ip route 192.168.205.0 255.255.255.0 FastEthernet0/0 192.168.20.1
ip route 192.168.205.0 255.255.255.0 FastEthernet0/1 192.168.30.1
ip route 192.168.205.0 255.255.255.0 Vlan20
!
Router Nr.2:
!
ip cef
ip cef load-sharing algorithm original
!
!
interface FastEthernet0/0
ip address 192.168.20.1 255.255.255.0
ip load-sharing per-packet
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.30.1 255.255.255.0
ip load-sharing per-packet
duplex auto
speed auto
!
CEF switching (Layer3) requires higher performance of equipment than Layer2 link aggregation
methods. Please check the CISCO routers CEF performance by this URL:
http://www.cisco.com/web/partners/downloads/765/tools/quickreference/routerperformance.
pdf
Load balancing with VLANs can be configured on any CFIP device or Integra S/W with one
Ethernet port and any switch which has VLANs and Spanning-tree per VLAN (PVST, MSTP).
Load balance also provides protection in case of one link fail.
VLAN 200 will be blocked on interface Fa0/17 and VLAN will be blocked on interface Fa0/18 by
STP in such configuration. VLAN 300 will pass through link “1” and VLAN 200 will pass through
link “2”. Also management VLAN will be blocked to avoid loop and all CFIP devices will be
accessible.
After the CISCO switch CRC hash calculation, based on chosen method SA-DA, SA or DA (or IPs),
the switch will send packets using one or another physical port, which is included in the Port-
Channel interface (virtual interface which contains bunch on physical interfaces). Along with
traffic, the Integra S management packet can be routed to one or another path where the
requested radio unit doesn’t exist, this may cause the inaccessibility of radio’s management. To
avoid this problem, we recommend using two ports of radios where you can separate data
traffic from management traffic using VLANs.
For example: PoE ports (electrical) at each radio will be used for device management with power
only and LAN2 (fiber ports) will be used as LACP ports.
As all management ports will be connected to the same broadcast domain, Ethernet loop will
occur. To avoid loop, STP will block one of the management ports in CISCO switch, if STP is
enabled. Which port will be disabled depends on STP configuration. Of course it is not
necessary to connect all management ports to CISCO, but it will additional protection to the
management ports in case if one (or more) unit failure.
Note: Ethernet loop will not occur on LACP (Port-Channel) ports.
LAN1 LAN1
Gi0/1 Trunk Trunk Gi0/1
LAN2
RADIO 1 WAN RADIO 2 LAN2
Gi0/5 Access Gi0/5
Access
Switch B
Switch A
Port-Channel 1
Port-Channel 1
Gi0/3 Gi0/3
Channel-Group 1 Channel-Group 1
LACP Virtual Port LACP Virtual Port
Gi0/4 Gi0/4
LAN2 LAN2
Gi0/6 Access Gi0/6
Access
LAN1
RADIO 3 WAN RADIO 4 LAN1
Gi0/2 Gi0/2
Trunk Trunk
Disabled
by STP
LACP path 1 MNG
MNG MNG MNG (Optional)
LACP path 2
VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 32769
Address 108c.cf8d.7800
Cost 3
Port 56 (Port-channel1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0200
Spanning tree enabled protocol rstp
Root ID Priority 32968
Address 108c.cf8d.7800
Cost 4
Port 1 (GigabitEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Partner's information:
interface Port-channel1
port-type nni
!
interface GigabitEthernet0/1
port-type nni
switchport trunk allowed vlan 200
switchport mode trunk
media-type rj45
!
interface GigabitEthernet0/2
port-type nni
switchport trunk allowed vlan 200
switchport mode trunk
media-type rj45
!
interface GigabitEthernet0/3
port-type nni
channel-group 1 mode active
!
interface GigabitEthernet0/4
port-type nni
channel-group 1 mode active
!
Partner's information:
tw3-main#show spanning-tree
VLAN0001
Spanning tree enabled protocol rstp
Root ID Priority 32769
Address 108c.cf8d.7800
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
LAN1 – The management port to be used as the trunk for management VLAN200.
LAN2 – LACP port as access for LACP BPDUs with traffic.
Note: D – VLAN disabled, T – port is in trunk mode (tagged), U – port is in access mode
(untagged).
Since the Integra-W internal switch is not configurable, it is not possible to separate
management traffic with VLANs within the radio link. It is recommend using Out of Band
management software where two ports of radios are used – MNG port for management, LAN
port for traffic. In the following scenario both Integra-W MNG and LAN ports are connected to
the CISCO 3750g switches.
The Integra-W link with out-band management implements two Ethernet connections – one for
management traffic and the second for user traffic. Since user traffic and management circuits
are parallel, an Ethernet loop will occur. To avoid the loop, management on WAN interfaces has
to be disabled by entering this command in CLI “modem management 0”. Thereby management
RADIO 1 RADIO 2
Access Access
WAN WAN
LAN LAN
Gi0/5 Gi0/5
Trunk Trunk Switch B
Switch A
Port-Channel 1
Gi0/1
Port-Channel 1
Gi0/1
Trunk Trunk
Channel-Group 1 Channel-Group 1
LACP Virtual Port LACP Virtual Port
Gi0/2 Gi0/2
Trunk Trunk
Gi0/6 LAN LAN Gi0/6
RADIO 3 RADIO 4
Access Access
WAN WAN
Gi0/4 MNG MNG Gi0/4
Access Access
Logical scheme and CISCO (Catalyst 3750G) configuration example with management on WAN interfaces disabled and
VLANs enabled
In the following example, the Source XOR Destination MAC addresses method is used.
Note: Ethernet loop will not occur on LACP (Port-Channel) ports.
Another important thing to be taken into account is the monitoring status of the Ethernet link.
The link between two CISCO switches is considered working from the switch perspective when
the port condition is “UP”. In case of synchronization loss in the Integra-W link which connects
two switches, Ethernet ports will be still in “UP” state and switches will consider that the link is
working, thereby continuing to send the traffic which will be dropped on the Integra-W device.
LACP protocol can detect broken link even if Ethernet port is “UP” and redirect all traffic to
another path. However, this procedure might take more than 1 minute with slow LACP.
Aggregation restoring is more or less depended on external switches in case of radio sync loss.
!
port-channel load-balance src-dst-mac
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
interface Port-channel1
description Integra Link
!
interface GigabitEthernet2/0/1
channel-group 1 mode active
!
interface GigabitEthernet2/0/2
channel-group 1 mode active
!
interface GigabitEthernet2/0/3
description Management Radio
!
interface GigabitEthernet2/0/4
description Management Radio
!
interface GigabitEthernet2/0/5
description Traffic + Mng
Note: This scenario is meant for untagged traffic. VLANs are not configured on the CISCO
switch interfaces. All incoming traffic passes the link and management traffic is not isolated in
separate VLANs within the network.
!
port-channel load-balance src-dst-mac
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
interface Port-channel1
description Integra Link
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-200,990
switchport mode trunk
!
interface GigabitEthernet2/0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-200,990
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet2/0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-200,990
switchport mode trunk
channel-group 1 mode active
!
interface GigabitEthernet2/0/3
description Management Radio
switchport access vlan 990
switchport mode access
!
interface GigabitEthernet2/0/4
description Management Radio
switchport access vlan 990
switchport mode access
!
interface GigabitEthernet2/0/5
description Traffic + Mng
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,101-200,990
switchport mode trunk
!
Partner's information:
Note: Traffic is tagged on external switches. VLAN990 is management and VLANs 101-200 are
data traffic. VLAN1 will pass untagged traffic which is required for communication between
external switches. Since Integra-W does not support VLANs, management traffic has to arrive
untagged to the Integra-W management port. Therefore, the Integra-W management port is
connected to CISCO Access port with management VLAN configured on it. Also you can use
CISCO external switch to tag Ethernet traffic (data and management traffic) on specific
interfaces.
Explanation:
Interfaces ge2/0/1 – 2/0/2 are used to trunk aggregated traffic to other peer thru
Integra-W radios.
Interface ge2/0/3 – is network cloud (lots of SA-DA MACs).
Interface ge2/0/4 – is for management PC.
Interfaces ge2/0/5 – 2/0/6 are used for management data to Integra-W.
SAF Tehnika, JSC has no liability for typing errors in this document or damages of any kind that result from the use of
this document.
To get up to date information about features explained in this document, please contact SAF representative.