[an error occurred while processing this directive][an error occurred while processing this directive]

Example: Configuring VLAN Shaping on Aggregated Interfaces

Virtual LAN (VLAN) shaping (per-unit scheduling) is supported on aggregated Ethernet interfaces when link protection is enabled on the aggregated Ethernet interface. When VLAN shaping is configured on aggregate Ethernet interfaces with link protection enabled, the shaping is applied to the active child link. To configure link protection on aggregated Ethernet interfaces, include the link-protection statement at the [edit interfaces aex aggregated-ether-options] hierarchy level. 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. You also can reverse traffic, from the designated backup link to the designated primary link. To revert back to sending traffic to the primary designated link when traffic is passing through the designated backup link, use the revert command. For example, request interfaces revert ae0. To configure a primary and a backup link, include the primary and backup statements at the [edit interfaces ge-fpc/pic/port gigether-options 802.3ad aex] hierarchy level or the [edit interfaces xe-fpc/pic/port fastether-options 802.3ad aex] hierarchy level. To disable link protection, delete the link-protection statement at [edit interfaces aex aggregated-ether-options link-protection] hierarchy level. To display the active, primary, and backup link for an aggregated Ethernet interface, use the operational mode command show interfaces redundancy aex.

Figure 1 shows how the flow of traffic changes from primary to backup when the primary link in an aggregate bundle fails.

Figure 1: Aggregated Ethernet Primary and Backup Links

Image g017449.gif

This example configures two Gigabit Ethernet interfaces (primary and backup) as an aggregated Ethernet bundle (ae0) and enables link protection so that a shaping rate can be applied.

[edit class-of-service]interface ae0 {shaping-rate 300m;}[edit interfaces]ge-1/0/0 {gigether-options {802.3ad ae0 primary;}}ge-1/0/1 {gigether-options {802.3ad ae0 backup;}}ae0 {aggregated-ether-options {lacp {periodic slow;}link-protection {enable;}}}

Published: 2010-04-15

[an error occurred while processing this directive]