Configuring Aggregated Ethernet Link Protection
To support JUNOS QoS features, aggregated Ethernet interfaces support link protection. On aggregated Ethernet interfaces, you designate a primary and backup link. Egress traffic passes only through the designated primary link. This includes transit traffic and locally generated traffic on the router. 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 by issuing the request interface revert aex operational command.
To enable link protection on aggregated Ethernet interfaces, include the link-protection statement at the [edit interfaces aex aggregated-ether-options] hierarchy level:
- [edit interfaces]
- aex {
-
- aggregated-ether-options {
- link-protection;
- }
- }
You also must specify a primary and a secondary, or backup, link. To configure a primary and a backup link, include the primary and backup statement at the [edit interfaces ge-fpc/pic/port gigether-options 802.3ad aex] hierarchy level or the [edit interfaces fe-fpc/pic/port fastether-options 802.3ad aex] hierarchy level:
- [edit interfaces]
- interface-name {
-
- (gigether-options | fastether-options) {
- 802.3ad aex (primary | backup);
- }
- }
To revert back to sending traffic to the primary designated link when traffic is passing through the designated backup link, issue the request interface revert aex operational mode command:
To disable link protection, issue the delete interfaces aex aggregated-ether-options link-protection command in configuration mode and commit the configuration:
For a sample configuration, see .
