Configuring 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.
![]() | Note: Link protection is not supported on MX80. |
Configuring Link Protection for Aggregated Ethernet Interfaces
Aggregated Ethernet interfaces support link protection to ensure QoS on the interface.
To configure link protection:
- Specify that you want to configure the options for an
aggregated Ethernet interface.user@host# edit interfaces aex aggregated-ether-options
- Configure the link protection mode.[edit interfaces aex aggregated-ether-options]user@host# set link-protection
Configuring Primary and Backup Links for Link Aggregated Ethernet Interfaces
To configure link protection, 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
Reverting Traffic 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:
Disabling Link Protection for Aggregated Ethernet Interfaces
To disable link protection, issue the delete interface revert aex configuration command.