Packet Load Balancing over One to Many Links
When the Virtual Wire is deployed as legacy packet broker, moving packets from production to an analyzer tool, it requires load balancing feature because you can monitor 10Gb links with 1Gb tools.
Netvisor load balances the traffic by distributing the traffic load to different tool ports or appliances in order to scale the monitoring.)
This also provides redundancy in the monitoring technology.
When the member port goes down, traffic on the port is switched to remaining member ports and evenly distributed.
To configure load balancing, use the following steps:
1. First configure a trunk on the desired ports. In this case, ports 15 and 16 are configured as a trunk:
CLI network-admin@Leaf1 > trunk-create name lb_trunk ports 15,16
Created trunk lb_trunk, id 128
 
2. Create the port association on the switch:
CLI network-admin@Leaf1 > port-association-create name pa1 master-ports 1 slave-ports 128 virtual-wire bidir
3. Display the configuration:
CLI network-admin@Leaf1 > port-association-show
switch name master-ports slave-ports policy virtual-wire bidir
----------- ---- ------------ ----------- ----------- ------------ -----
vw-switch-1 pa1 1 128 all-masters true true
CLI network-admin@Leaf1 > port-show port 1,16,16
switch port vnet hostname status config trunk
----------- ---- ---- -------- ------ --------- --------
vw-switch-1 1 40g,jumbo
vw-switch-1 16 trunk 10g,jumbo lb_trunk
CLI network-admin@Leaf1 > vflow-show
switch name scope type in-port ether-type dst-ip proto
----------- ----------------------- ----- ------ ------- ---------- --------- -----
vw-switch-1 Internal-Keepalive      local system         ipv4       239.4.9.7 udp
vw-switch-1 VIRT_WIRE_MAS_SLV       local system 1                               
vw-switch-1 VIRT_WIRE_SLV_MAS       local system 128                             
 
tcp-flags flow-class precedence action action-to-ports-value enable
--------- ---------- ---------- ----------- --------------------- ------
          control 14 to-cpu                            enable
                     14         to-port     128                   enable
                     14         to-port     1                     enable
 
table-name
-------------------
                   
L1-Virtual-Wire-1-0
L1-Virtual-Wire-1-0