The JUNOS software enables link aggregation of SONET/SDH interfaces; this is similar to Ethernet link aggregation, but is not defined in a public standard. The JUNOS software balances traffic across the member links within an aggregated SONET/SDH bundle based on the Layer 3 information carried in the packet. This implementation uses the same load balancing algorithm used for per-packet load balancing. For information about per-packet load balancing, see the JUNOS Routing Protocols Configuration Guide.
You configure an aggregated SONET/SDH virtual link by specifying the link number as a physical device and then associating a set of physical interfaces that have the same speed. Channelized OC IQ and IQE PICs do not support SONET aggregation.
By default, no aggregated SONET/SDH interfaces are created. You must define the number of aggregated SONET/SDH interfaces by including the device-count statement at the [edit chassis aggregated-devices sonet] hierarchy level:
- [edit chassis aggregated-devices sonet]
- device-count number;
The maximum number of aggregated interfaces is 16. The aggregated SONET/SDH interfaces are numbered from as0 through as15. For more information, see the JUNOS Services Interfaces Configuration Guide.
![]() |
Note: SONET/SDH aggregation is proprietary to the JUNOS software and might not work with other software. |
To configure aggregated SONET/SDH interfaces, assign a number for the aggregated SONET/SDH interface asx at the [edit interfaces] hierarchy level:
- [edit interfaces]
- asx {
- ...
- }
The following example shows an aggregated SONET/SDH configuration:
- [edit interfaces]
- as0 {
-
-
aggregated-sonet-options {
-
minimum-links 1;
-
link-speed oc3;
- }
-
- unit 0 {
-
- family inet {
-
- address 10.2.11.1/32 {
- destination 10.2.11.3;
- }
- }
- }
- }
You also need to specify the constituent physical interfaces by including the aggregate statement at the [edit interfaces interface-name sonet-options] hierarchy level; for more information, see Configuring SONET/SDH Link Aggregation. You can optionally specify other physical properties that apply specifically to the aggregated SONET/SDH interfaces; for details, see Configuring SONET/SDH Physical Interface Properties. For a sample configuration, see Example: Configuring Aggregated SONET/SDH Interfaces.
To remove the configuration statements related to asx and set the aggregated SONET/SDH interface to down state, delete the interface from the configuration:
- [edit]
- user@host# delete interfaces asx
However, the aggregated SONET/SDH interface is not deleted until you delete the chassis aggregated-devices sonet device-count configuration statement.
You can configure the following aggregated SONET/SDH properties: