Learn how to configure aggregated Ethernet interfaces. Includes a sample
configuration as well.
-
Specify the number of aggregated Ethernet bundles you want on your device. If you
specify the
device-count
value as 2, you can configure two aggregated
bundles.
[edit chassis aggregated-devices ethernet]
user@host# set device-count number
-
Specify that you want to configure the LAG interface.
user@host# edit interfaces interface-name
-
Configure the aex.
[edit interfaces interface-name]
user@host# set ether-options 802.3ad aex
-
Specify the link speed for the aggregated Ethernet links. When you specify the speed,
all the interfaces that make up the aggregated Ethernet bundle have the same speed. You
can also configure the member links of an aggregated Ethernet bundle with mixed rates for
efficient bandwidth utilization. See link-speed (Aggregated Ethernet).
[edit interfaces]
user@host# set aex aggregated-ether-options link-speed speed
-
Specify the minimum number of links for the aex—that is, the defined bundle— to be
labeled up. By default, only one link must be up for the bundle to be labeled
up.
[edit interfaces]
user@host# set aex aggregated-ether-options minimum-links number
You cannot use the minimum link in aggregated Ethernet with mixed speed. You cannot
configure the minimum number of links and the minimum bandwidth at the same time.
-
(Optional) Specify the minimum bandwidth for the aggregated Ethernet links. You cannot
configure link protection with minimum bandwidth.
[edit interfaces]
user@host# set aex aggregated-ether-options minimum-bandwidth
-
Configure tagged aggregated Ethernet. Specify the
vlan-tagging
statement at the [edit interfaces aex]
hierarchy level.
[edit interfaces]
user@host# set aex vlan-tagging unit 0 vlan-id vlan-id
You can include this statement at the following hierarchy levels:
-
Configure untagged aggregated Ethernet.
[edit interfaces]
user@host# set aex unit 0 family inet address ip-address
-
You can configure only one logical interface (unit 0) on the port. The logical unit
0 is used to send and receive LACP or marker protocol data units (PDUs) to and from
the individual links.
-
You cannot include the vlan-id
statement in the configuration of
the logical interface.
-
(Optional) Configure your device to collect multicast statistics for the aggregated
Ethernet interface.
[edit interfaces]
user@host# set aex multicast-statistics
-
Verify and commit the configuration.
[edit interfaces]
user@host# run show configuration
user@host# commit
-
(Optional) Delete an aggregated Ethernet Interface.
[edit]
user@host# delete interfaces aex
Check the following guidelines while configuring aggregated Ethernet interfaces:
In general, aggregated Ethernet bundles support the features available on all supported
interfaces that can become a member link within the bundle. As an exception, GbE IQ features
and some newer GbE features are not supported in aggregated Ethernet bundles.
GbE IQ and SFP interfaces can be member links, but IQ- and SFP-specific features are not
supported on the aggregated Ethernet bundle even if all the member links individually
support those features.
Before you commit an aggregated Ethernet configuration, ensure that link mode is not
configured on any member interface of the aggregated Ethernet bundle; otherwise, the
configuration commit check fails.
Sample Aggregated Ethernet Interfaces Configuration
Aggregated Ethernet interfaces can use interfaces from different FPCs, DPCs, or PICs. The
following configuration is sufficient to get an aggregated Gigabit Ethernet interface up and
running.
[edit chassis]
aggregated-devices {
ethernet {
device-count 15;
}
}
[edit interfaces]
ge-1/3/0 {
gigether-options {
802.3ad ae0;
}
}
ge-2/0/1 {
gigether-options {
802.3ad ae0;
}
}
ae0 {
aggregated-ether-options {
link-speed 1g;
minimum-links 1;
}
}
vlan-tagging;
unit 0 {
vlan-id 1;
family inet {
address 10.0.0.1/24;
}
}
unit 1 {
vlan-id 1024;
family inet {
address 10.0.0.2/24;
}
}
unit 2 {
vlan-id 1025;
family inet {
address 10.0.0.3/24;
}
}
unit 3 {
vlan-id 4094;
family inet {
address 10.0.0.4/24;
}
}
}