Link Protection of Aggregated Ethernet Interfaces
SUMMARY Learn how to provide link protection for aggregated Ethernet Interfaces and configure the minimum number of links in an aggregated Ethernet interfaces bundle.
Aggregated Ethernet Link Protection
You can configure link protection for aggregated Ethernet interfaces to provide QoS on the links during operation.
On aggregated Ethernet interfaces, you designate a primary and backup link to support link protection. Egress traffic passes only through the designated primary link. This includes transit traffic and locally generated traffic on the router or switch. When the primary link fails, traffic is routed through the backup link. Because some traffic loss is unavoidable, egress traffic is not automatically routed back to the primary link when the primary link is reestablished. Instead, you manually control when traffic should be diverted back to the primary link from the designated backup link.
ACX7000 Series Routers support revertive mode of link protection. You can enable auto-revertive operation using the following command:
set interfaces ae1 aggregated-ether-options link-protection
revertive
- Configure Link Protection for Aggregated Ethernet Interfaces
- Configure Primary and Backup Links for Link Aggregated Ethernet Interfaces
- Revert Traffic on Aggregate Ethernet Interfaces to a Primary Link When Traffic is Passing Through a Backup Link
- Disable Link Protection for Aggregated Ethernet Interfaces
Configure Link Protection for Aggregated Ethernet Interfaces
Aggregated Ethernet interfaces support link protection to ensure QoS on the interface.
To configure link protection:
See Also
Configure Primary and Backup Links for Link Aggregated Ethernet Interfaces
To configure link protection in Junos OS, you must specify a primary and a secondary, or backup, link.
To configure a primary link and a backup link:
Configure the primary logical interface.
[edit interfaces interface-name] user@host# set (fastether-options | gigether-options) 802.3ad aex primary
Configure the backup logical interface.
[edit interfaces interface-name] user@host# set (fastether-options | gigether-options) 802.3ad aex backup
To configure link protection in Junos Evolved, you must specify a primary and a secondary, or backup, link.
To configure a primary link and a backup link:
Configure the primary logical interface.
[edit interfaces interface-name] user@host# set (ether-options) 802.3ad aex primary
Configure the backup logical interface.
[edit interfaces interface-name] user@host# set (ether-options) 802.3ad aex backup
Revert Traffic on Aggregate Ethernet Interfaces to a Primary Link When Traffic is Passing Through a Backup Link
On aggregated Ethernet interfaces, you designate a primary and backup link to support link protection. Egress traffic passes only through the designated primary link. This includes transit traffic and locally generated traffic on the router or switch. When the primary link fails, traffic is routed through the backup link. Because some traffic loss is unavoidable, egress traffic is not automatically routed back to the primary link when the primary link is reestablished. Instead, you manually control when traffic should be diverted back to the primary link from the designated backup link.
To manually control when traffic should be diverted back to the primary link from the designated backup link, enter the following operational command:
user@host> request interface revert aex
See Also
Disable Link Protection for Aggregated Ethernet Interfaces
To disable link protection, issue the delete interfaces aex
aggregated-ether-options link-protection
configuration command.
user@host# delete interfaces aex aggregated-ether-options link-protection
See Also
Configure Aggregated Ethernet Minimum Links
On aggregated Ethernet interfaces, you can configure the minimum
number of links that must be up for the bundle as a whole to be labeled up
. By default, only one link must be up for the bundle to
be labeled up
.
To configure the minimum number of links:
On MX Series routers, when Link Aggregation Control Protocol (LACP) is enabled on a link aggregation group (LAG) interface along with minimum links configuration, the bundle is considered to be up when the following two conditions are met:
The specified minimum number of links are up.
The links are in collecting distributing state–that is, collecting and distributing states are merged together to form a combined state (coupled control) for the aggregated port. Because independent control is not possible, the coupled control state machine does not wait for the partner to signal that collection has started before enabling both collection and distribution.
If the number of links configured in an aggregated Ethernet
interface is less than the minimum link value configured under the aggregated-ether-options
statement, the configuration commit
fails and an error message is displayed.
See Also
Example: Configure Aggregated Ethernet Link Protection
The following configuration enables link protection on the ae0
interface, and specifies the ge-1/0/0
interface
as the primary link and ge-1/0/1
as the secondary link.
[edit interfaces] ae0 { aggregated-ether-options { link-protection; } } [edit interfaces] ge-1/0/0 { gigether-options { 802.3ad ae0 primary; } } [edit interfaces] ge-1/0/1 { gigether-options { 802.3ad ae0 backup; } }