Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/lagg.4
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
.Ic laggport Ar child-iface | .Ic laggport Ar child-iface | ||||
option and removed using the | option and removed using the | ||||
.Ic -laggport Ar child-iface | .Ic -laggport Ar child-iface | ||||
option. | option. | ||||
.Pp | .Pp | ||||
The driver currently supports the aggregation protocols | The driver currently supports the aggregation protocols | ||||
.Ic failover | .Ic failover | ||||
(the default), | (the default), | ||||
.Ic fec , | |||||
.Ic lacp , | .Ic lacp , | ||||
.Ic loadbalance , | .Ic loadbalance , | ||||
.Ic roundrobin , | .Ic roundrobin , | ||||
.Ic broadcast , | |||||
and | and | ||||
.Ic none . | .Ic none . | ||||
The protocols determine which ports are used for outgoing traffic | The protocols determine which ports are used for outgoing traffic | ||||
and whether a specific port accepts incoming traffic. | and whether a specific port accepts incoming traffic. | ||||
The interface link state is used to validate if the port is active or | The interface link state is used to validate if the port is active or | ||||
not. | not. | ||||
.Bl -tag -width loadbalance | .Bl -tag -width loadbalance | ||||
.It Ic failover | .It Ic failover | ||||
Sends traffic only through the active port. | Sends traffic only through the active port. | ||||
If the master port becomes unavailable, | If the master port becomes unavailable, | ||||
the next active port is used. | the next active port is used. | ||||
The first interface added is the master port; | The first interface added is the master port; | ||||
any interfaces added after that are used as failover devices. | any interfaces added after that are used as failover devices. | ||||
.Pp | .Pp | ||||
By default, received traffic is only accepted when they are received | By default, received traffic is only accepted when they are received | ||||
through the active port. | through the active port. | ||||
This constraint can be relaxed by setting the | This constraint can be relaxed by setting the | ||||
.Va net.link.lagg.failover_rx_all | .Va net.link.lagg.failover_rx_all | ||||
.Xr sysctl 8 | .Xr sysctl 8 | ||||
variable to a nonzero value, | variable to a nonzero value, | ||||
which is useful for certain bridged network setups. | which is useful for certain bridged network setups. | ||||
.It Ic fec | |||||
Supports Cisco EtherChannel. | |||||
This is an alias for | |||||
.Ic loadbalance | |||||
mode. | |||||
.It Ic lacp | .It Ic lacp | ||||
Supports the IEEE 802.1AX (formerly 802.3ad) Link Aggregation Control Protocol | Supports the IEEE 802.1AX (formerly 802.3ad) Link Aggregation Control Protocol | ||||
(LACP) and the Marker Protocol. | (LACP) and the Marker Protocol. | ||||
LACP will negotiate a set of aggregable links with the peer in to one or more | LACP will negotiate a set of aggregable links with the peer in to one or more | ||||
Link Aggregated Groups. | Link Aggregated Groups. | ||||
Each LAG is composed of ports of the same speed, set to full-duplex operation. | Each LAG is composed of ports of the same speed, set to full-duplex operation. | ||||
The traffic will be balanced across the ports in the LAG with the greatest | The traffic will be balanced across the ports in the LAG with the greatest | ||||
total speed, in most cases there will only be one LAG which contains all ports. | total speed, in most cases there will only be one LAG which contains all ports. | ||||
In the event of changes in physical connectivity, Link Aggregation will quickly | In the event of changes in physical connectivity, Link Aggregation will quickly | ||||
converge to a new configuration. | converge to a new configuration. | ||||
.It Ic loadbalance | .It Ic loadbalance | ||||
Balances outgoing traffic across the active ports based on hashed | Balances outgoing traffic across the active ports based on hashed | ||||
protocol header information and accepts incoming traffic from | protocol header information and accepts incoming traffic from | ||||
any active port. | any active port. | ||||
This is a static setup and does not negotiate aggregation with the peer or | This is a static setup and does not negotiate aggregation with the peer or | ||||
exchange frames to monitor the link. | exchange frames to monitor the link. | ||||
The hash includes the Ethernet source and destination address, and, if | The hash includes the Ethernet source and destination address, and, if | ||||
available, the VLAN tag, and the IP source and destination address. | available, the VLAN tag, and the IP source and destination address. | ||||
.It Ic roundrobin | .It Ic roundrobin | ||||
Distributes outgoing traffic using a round-robin scheduler | Distributes outgoing traffic using a round-robin scheduler | ||||
through all active ports and accepts incoming traffic from | through all active ports and accepts incoming traffic from | ||||
any active port. | any active port. | ||||
.It Ic broadcast | |||||
Sends frames to all ports of the LAG and receives frames on any port of the LAG. | |||||
.It Ic none | .It Ic none | ||||
This protocol is intended to do nothing: it disables any traffic without | This protocol is intended to do nothing: it disables any traffic without | ||||
disabling the | disabling the | ||||
.Nm | .Nm | ||||
interface itself. | interface itself. | ||||
.El | .El | ||||
.Pp | .Pp | ||||
Each | Each | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |