Aggregated Ethernet Interfaces Overview
Learn about aggregated Ethernet interfaces, how to configure an aggregated Ethernet interface, LACP, and other supported features.
You can group or bundle multiple Ethernet interfaces together to form a single link layer interface known as the aggregated Ethernet interface (aex) or a link aggregation group (LAG). The IEEE 802.3ad standard defines link aggregation of Ethernet interfaces and provides a method by which you can group or bundle multiple Ethernet interfaces. Bundling multiple interfaces together enables you to increase the supported bandwidth. The device treats the aggregated Ethernet interface or LAG as a single link instead of a combination of multiple links.
Benefits
-
Increased bandwidth and cost effectiveness—The aggregated link provides higher bandwidth than the bandwidth provided by each individual link without requiring new equipment.
-
Increased resiliency and availability—If any of the physical links goes down, the traffic is reassigned to another member link.
-
Load balancing—The aggregated Ethernet bundle balances the load between its member links if a link fails.
Use Feature Explorer to confirm platform and release support for specific features.
Review the Platform-Specific Maximum Interfaces Per LAG Behavior section for notes related to your platform.
Guidelines to Configure Aggregated Ethernet Interfaces
Consider the following guidelines as you configure an aggregated Ethernet interface.
-
For Junos OS Evolved, if you add a new member interface to the aggregated Ethernet bundle, a link flap event is generated. The physical interface is deleted as a regular interface and then added back as a member. During this time, the details of the physical interface are lost.
-
Use the
gigether-options
statement to configure aggregated Ethernet interfaces on the member link interfaces.
Configure Aggregated Ethernet Interfaces
Follow these steps to configure aggregated Ethernet interfaces on your routing device.
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 the members you want to include within the aggregated Ethernet bundle and add the member individually. Aggregated interfaces are numbered from ae0 through ae4092.
[edit interfaces ] user@host# set interface-name gigether-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 a combination of rates—that is, mixed
rates—for efficient bandwidth
utilization.
[edit interfaces] user@host# set aex aggregated-ether-options link-speed speed
Specify the minimum number of links for the aggregated Ethernet interface (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 configure the minimum number of links and the minimum bandwidth at the same time. They are mutually exclusive.
(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
Specify an interface family and the IP address for the aggregated Ethernet bundle. Aggregated Ethernet interfaces can be VLAN-tagged or untagged.
[edit interfaces] user@host# set aex vlan-tagging unit 0 vlan-id vlan-id
Untagged Interface
[edit interfaces] user@host# set aex unit 0 family inet address ip-address
(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
See Also
Enhanced Link Aggregation Group
When you associate a physical interface with an aggregated Ethernet interface, the physical child links are also associated with the parent aggregated Ethernet interface to form a link aggregation group (LAG). So, one child next hop is created for each member link of an aggregated Ethernet interface for each VLAN interface. For example, an aggregate next hop for an aggregated Ethernet interface with 16 member links leads to the creation of 17 next hops per VLAN.
When you configure enhanced LAG, child next hops are not created for member links
and, as a result, a higher number of next hops can be supported. To configure
enhanced LAG, you must configure the device’s network services mode as
enhanced-ip
. This feature is not supported if the device’s
network services mode is set to operate in the enhanced-ethernet
mode. This feature is enabled by default if the network services mode on the device
is configured as enhanced-mode
.
Benefits
-
Reduction in memory and CPU usage to support aggregated Ethernet interfaces.
-
Improvement in system performance and scaling numbers.
Mixed-Rate Aggregated Ethernet Interfaces
On Juniper Networks devices, you can configure the member links of an aggregated Ethernet bundle to operate at different link speeds (also known as rates). The configured aggregated Ethernet bundle is known as a mixed-rate aggregated Ethernet bundle. When you configure the member links of an aggregated Ethernet bundle in LAN mode as well as WAN mode for 10-Gigabit Ethernet interfaces, the configuration is known as mixed-mode configuration.
Benefits
-
Efficient bandwidth utilization—When you configure the member links with different link speeds, the bandwidth is efficiently and completed used.
-
Load balancing—Balances the load between member links within an aggregated Ethernet bundle if a link fails.
- Guidelines to Configure Mixed-Rate Aggregated Ethernet Links
- Configure Mixed-Rate Aggregated Ethernet Interfaces
Guidelines to Configure Mixed-Rate Aggregated Ethernet Links
Consider the following guidelines as you configure a mixed-rate aggregated Ethernet bundle:
-
You can configure a maximum of 64 member links to form a mixed aggregated Ethernet bundle.
-
When you mix a 10-Gigabit Ethernet interface in LAN mode and a 10-Gigabit Ethernet interface in WAN mode in the same aggregated bundle on the routers, it is not considered a mixed-rate aggregate. To mix the interfaces having the same speed but different framing options, you need not use the
mixed
statement at the[edit interfaces interface-name aggregated-ether-options link-speed]
hierarchy level. -
Mixed-rate aggregated Ethernet links can interoperate with non-Juniper Networks aggregated Ethernet member links provided that mixed-rate aggregated Ethernet load balancing is configured at egress.
-
After you configure a mixed-rate aggregated Ethernet link on a 100-Gigabit Ethernet PIC with CFP, changing aggregated Ethernet link protection or LACP link protection configurations results in aggregated Ethernet link flapping. Also, changing the configuration of a mixed aggregated Ethernet link can result in aggregated Ethernet link flapping.
-
Packets are dropped when the total throughput of the hash flow exiting a member link (or the throughput of multiple hash flows exiting a single member link) exceeds the link speed of the member link. This can happen when the egress member link changes because of a link failure and the hash flow switches to a member link of speed that is less than the total throughput of the hash flow.
-
Mixed-rate aggregated Ethernet links do not support rate-based CoS components such as scheduler, shaper, and policer. However, the default CoS settings are supported on the mixed-rate aggregated Ethernet links.
-
Load balancing of the egress traffic across the member links of a mixed-rate aggregated Ethernet link is proportional to the rates of the member links. Egress multicast load balancing is not supported on mixed aggregated Ethernet interfaces.
-
Mixed-rate aggregated Ethernet interface do not support aggregated Ethernet link protection, link protection on a 1:1 model, and LACP link protection.
Configure Mixed-Rate Aggregated Ethernet Interfaces
Follow these steps to configure mixed-rate aggregated Ethernet interfaces on your routing device.
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 the members you want to include within the aggregated Ethernet bundle and add the member individually. Aggregated interfaces are numbered from ae0 through ae4092.
[edit interfaces ] user@host# set interface-name gigether-options 802.3ad aex
- Specify the link speed for the aggregated Ethernet links. When you
specify the speed as mixed, you can configure the member links of an
aggregated Ethernet bundle with a combination of rates—that is, mixed
rates—for efficient bandwidth
utilization.
[edit interfaces] user@host# set aex aggregated-ether-options link-speed mixed
Specify the minimum bandwidth for the aggregated Ethernet links.
[edit interfaces] user@host# set aex aggregated-ether-options minimum-bandwidth
Verify and commit the configuration.
[edit interfaces] user@host# run show configuration user@host# commit
See Also
Link Aggregation Control Protocol
Link Aggregation Control Protocol (LACP), defined in IEEE 802.3ad, is a monitoring protocol that detects link-layer failure within a network. You can use LACP to monitor the local and remote ends of member links in a LAG.
By default, LACP is not configured on aggregated Ethernet interfaces. Ethernet links do not exchange information about the state of the link. When you configure LACP, the transmitting link (also known as actor) initiates transmission of LACP packets to the receiving link (also known as partner). The actor is the local interface in a LACP exchange. The partner is the remote interface in a LACP exchange.
When you configure LACP, you must select one of the following transmission modes for each end of the LAG:
-
Active-To initiate transmission of LACP packets and response to LACP packets, you must configure LACP in active mode. If either the actor or partner is active, they exchange LACP packets.
-
Passive-No exchange of LACP packets. This is the default transmission mode.
Benefits
-
Link monitoring—LACP detects invalid configurations on the local end as well as the remote end of the link.
-
Link resiliency and redundancy—If a link fails, LACP ensures that traffic continues to flow on the remaining links.
Guidelines to Configure LACP
Consider the following guidelines when you configure LACP:
-
When you configure LACP on multiple different physical interfaces, only features that are supported across all of the linked devices are supported in the resulting link aggregation group (LAG) bundle. For example, different PICs can support a different number of forwarding classes.When you link ports of a 16-forwarding-class PIC with an 8-forwarding-class PIC using link aggregation, the resulting LAG bundle supports up to 8 forwarding classes. Similarly, linking together a PIC that supports weighted random early detection (WRED) with a PIC that does not support it results in a LAG bundle that does not support WRED.
-
If you configure, the LACP system identifier (by using the
system-id systemid
statement) to be all zeros (00:00:00:00:00:00), the commit operation throws an error. -
If the aggregated Ethernet bundle is up, you can enable a device to handle packets on a member link, irrespective of the LACP state. This is done using the accept-data statement. But, this method doesn't comply with the packet processing that is defined in the IEEE 802.3ax standard. According to this standard, the packets should be dropped, but they are processed instead because you configured the
accept-data
statement.
Configure LACP
Follow these steps to configure LACP on an aggregated Ethernet interfaces on your routing device.
Specify the LACP transmission mode - active or passive
[edit interfaces interface-name aggregated-ether-options] user@host# set lacp active user@host# set lacp passive
Specify the interval at which the interfaces send LACP packets. When you configure different intervals for the active and passive interfaces, the actor transmits the packets at the rate that is configured on the partner’s interface.
[edit interfaces interface-name aggregated-ether-options lacp] user@host# set periodic interval
Configure the LACP system ID. The user-defined system identifier in LACP enables two ports from two different devices to act as though they were part of the same aggregate group. The system identifier is a 48-bit (6-byte) globally unique field. It is used in combination with a 16-bit system-priority value, which results in a unique LACP system identifier.
[edit interfaces interface-name aggregated-ether-options lacp] user@host# set system-id system-id
Configure the LACP system priority at the Aggregated Ethernet interface level. This system priority takes precedence over the priority value that is configured at the global
[edit chassis]
level. The device with numerically lower value (higher priority value) becomes the controlling device. If both devices have the same LACP system priority value, the device MAC address determines which device is in control.[edit interfaces interface-name aggregated-ether-options lacp] user@host# set system-priority system-priority
(Optional) Configure the LACP administrative key.
[edit interfaces interface-name aggregated-ether-options lacp] user@host# set admin-key number
Specify the time period, in seconds, for which LACP maintains the state of a member link as expired. To prevent excessive flapping of a LAG member link, you can configure LACP to prevent the transition of an interface from down to up for a specified interval.
[edit interfaces interface-name aggregated-ether-options lacp] user@host# set hold-time timer-value
Configure the device to process packets received on a member link irrespective of the LACP state if the aggregated interface status is up.
[edit interfaces interface-name aggregated-ether-options lacp] user@host# set accept-data
Verify and commit the configuration.
[edit interfaces interface-name aggregated-ether-options lacp] user@host# run show configuration user@host# commit
See Also
Targeted Distribution Across Aggregated Ethernet Member Links
Aggregated Ethernet bundles use a hash-based algorithm to distribute traffic over multiple links. Traffic destined through a logical interface of a bundle can exit through any of the member links that are based on the hashing algorithm. Egress policy is distributed between individual member interface schedulers or policers that are instantiated in each Packet Forwarding Engine hosting a member link. Distributed egress policy enforcement relies on traffic load balancing and so is not always accurate.
Targeted distribution provides a mechanism to direct traffic through specified links of an aggregated Ethernet bundle. You can also use targeted distribution to assign roles to member links to handle link failure scenarios. Targeted distribution ensures accurate policy enforcement that is not distributed for a given logical interface. Targeted distribution is applicable to both Layer 2 and Layer 3 interfaces, irrespective of the family configured for the logical interface. The outbound traffic of a Layer 3 host is distributed among all the member links of an aggregated Ethernet bundle. Targeted distribution is implemented only for the transit traffic.
You can form distribution lists consisting of member links of the aggregated Ethernet interfaces and you can assign roles to these lists, as follows:
-
Primary distribution list: You can configure the member links that will be part of the primary distribution list. Traffic is load-balanced among all the member links in the primary list. If all links within the primary list are up, traffic is forwarded on those links. If some of the links within a primary list fail, the remaining links carry traffic.
-
Backup distribution list: You can configure the member links that will be part of the backup distribution list. If all links within the primary list go down, only then the links in the backup list start carrying traffic. If some of links within the backup list fail, the remaining links in the backup list carry traffic.
-
Standby distribution list: All remaining links are added to the defined standby list. If all the links within the primary list and the backup list go down, only then the links in the standby list start carrying traffic. When the links in the primary distribution list come back online, they resume carrying traffic.
Benefits
-
Accurate policy enforcement—Policy enforcement is not distributed and is, therefore, accurate.
-
Load balancing—With targeted distribution, you can load-balance the traffic between the aggregated Ethernet bundle member links.
Configure Targeted Distribution Across Aggregated Ethernet Member Links
This example shows how to configure primary and backup targeted distribution lists for aggregated Ethernet member links. Member links are assigned membership to the distribution lists. Logical interfaces of the aggregated Ethernet bundle are then assigned membership to the primary list and the backup list.
Configuration
CLI Quick Configuration
To quickly configure this example, copy the following commands, paste them
into a text file, remove any line breaks, change any details necessary to
match your network configuration, copy and paste the commands into the CLI
at the [edit]
hierarchy level, and then enter
commit
from configuration mode.
[edit groups GR-AE-ACCESS-DISTRIBUTION] user@host# set interfaces <ae*> unit <*[1 3 5 7 9]> description “matched-odd” targeted-distribution primary-list dl2 user@host# set interfaces <ae*> unit <*[1 3 5 7 9]> description “matched-odd” targeted-distribution backup-list dl1 user@host# set interfaces <ae*> unit <*[0 2 4 6 8]> description “matched-even” targeted-distribution primary-list dl1 user@host# set interfaces <ae*> unit <*[0 2 4 6 8]> description “matched-even” targeted-distribution backup-list dl2 user@host# set interfaces <ae*> apply-groups GR-AE-ACCESS-DISTRIBUTION user@host# set interfaces <ae*> flexible-vlan-tagging encapsulation flexible-ethernet-services unit 101 vlan-id 101 family inet address 10.1.0.1/16 user@host# set interfaces <ae*> flexible-vlan-tagging encapsulation flexible-ethernet-services unit 102 vlan-id 102 family inet address 10.2.0.1/16 user@host# set interfaces <ae*> flexible-vlan-tagging encapsulation flexible-ethernet-services unit 103 vlan-id 103 family inet address 10.3.0.1/16 user@host# set interfaces <ae*> flexible-vlan-tagging encapsulation flexible-ethernet-services unit 104 vlan-id 104 family inet address 10.4.0.1/16
Step-by-Step Procedure
To configure targeted distribution:
-
Create a global apply group and specify the primary list and the backup list.
[edit groups GR-AE-ACCESS-DISTRIBUTION] user@host# set interfaces <ae*> unit <*[1 3 5 7 9]> description “matched-odd” targeted-distribution primary-list dl2 user@host# set interfaces <ae*> unit <*[1 3 5 7 9]> description “matched-odd” targeted-distribution backup-list dl1 user@host# set interfaces <ae*> unit <*[0 2 4 6 8]> description “matched-even” targeted-distribution primary-list dl1 user@host# set interfaces <ae*> unit <*[0 2 4 6 8]> description “matched-even” targeted-distribution backup-list dl2
-
Attach the defined apply group
to the aggregated Ethernet interface.
[edit] user@host# set interfaces ae10 apply-groups GR-AE-ACCESS-DISTRIBUTION
-
Create the logical interfaces and configure its parameters.
[edit] user@host# set interfaces ae10 apply-groups GR-AE-ACCESS-DISTRIBUTION user@host# set interfaces ae10 flexible-vlan-tagging encapsulation flexible-ethernet-services set unit 101 vlan-id 101 family inet address 10.1.0.1/16 user@host# set interfaces ae10 flexible-vlan-tagging encapsulation flexible-ethernet-services unit 102 vlan-id 102 family inet address 10.2.0.1/16 user@host# set interfaces ae10 flexible-vlan-tagging encapsulation flexible-ethernet-services unit 103 vlan-id 103 family inet address 10.3.0.1/16 user@host# set interfaces ae10 flexible-vlan-tagging encapsulation flexible-ethernet-services unit 104 vlan-id 104 family inet address 10.4.0.1/16
Results
From configuration mode, confirm your configuration by using the
show
command. If the output does not display the
intended configuration, repeat the configuration instructions in this
example to correct it.
user@host# show groups GR-AE-ACCESS-DISTRIBUTION interfaces { <ae*> { unit "<*[1 3 5 7 9]>" { description "matched odd"; targeted-distribution { primary-list dl2; backup-list dl1; } } unit "<*[0 2 4 6 8]>" { description "matched even"; targeted-distribution { primary-list dl1; backup-list dl2; } } } }
user@host# show interfaces ae10 apply-groups apply-groups GR-AE-ACCESS-DISTRIBUTION;
user@host# show interfaces ae10 apply-groups GR-AE-ACCESS-DISTRIBUTION; flexible-vlan-tagging; encapsulation flexible-ethernet-services; unit 101 { vlan-id 101; family inet { address 10.1.0.1/16 { } } } unit 102 { vlan-id 102; family inet { address 10.2.0.1/16 { } } } unit 103 { vlan-id 103; family inet { address 10.3.0.1/16 { } } } unit 104 { vlan-id 104; family inet { address 10.4.0.1/16 { } } }
Requirements
This example uses the following software and hardware components:
-
Junos OS Release 16.1 and later releases
-
One MX Series 5G Universal Routing Platform
Overview
Targeted distribution provides a mechanism to direct traffic through specified links of an aggregated Ethernet bundle, and also assigns roles to member links to handle link failure scenarios. You can configure targeted distribution to load-balance the traffic between the aggregated Ethernet bundle member links. You can map a logical interface to a single link only for the outgoing traffic.
This example uses the apply-groups
configuration for specifying
the distribution lists for the logical interfaces of the aggregated Ethernet
member links. You can use the apply-groups
statement to inherit
the Junos OS configuration statements from a configuration group. The
apply-groups
configuration statement in the example shows
the odd-numbered member links of the aggregated Ethernet bundle being assigned
the primary list dl2 and even-numbered member links being assigned primary list
dl1.
The aggregated Ethernet interface used in this example is ae10 with units 101, 102, 103, and 104. The physical interface ge-0/0/3 is specified as distribution list dl1 and ge-0/0/4 as dl2. The distribution list dl1 is assigned as the primary list for those logical interface unit numbers of the aggregated Ethernet bundle ending in an odd number. Alternatively, the distribution list dl2 is the primary list for those ending in an even number.
To configure targeted distribution, you must:
-
Create a global apply group.
-
Assign each member of the aggregated Ethernet interface to a different distribution list.
-
Attach the apply group to the aggregated Ethernet interface.
-
Create the logical interfaces. The apply group automatically assigns the distribution lists to each member of the aggregated Ethernet bundle as required.
Verification
Verify Targeted Distribution of Logical Interfaces
Purpose
Verify that the logical interfaces are assigned to the distribution lists.
Action
To verify that the logical interfaces are assigned to the distribution
lists, enter the show interfaces detail or extensive
command.
The show interfaces detail or extensive
command output
shows the logical interfaces ending in an odd number being assigned to
the distribution list dl1
(ge-0/0/3
) and those ending in an even number being
assigned to the distribution list dl2
(ge-0/0/4
) by default. If there is a failure of
either of those interfaces, the logical interfaces switch to the
interfaces in the backup list or continue to use the active member
interface. For example, on the aggregated Ethernet bundle
ae10.101
, the primary interface shown is
ge-0/0/4
and on the aggregated Ethernet
bundle ae10.102
, the primary interface is
ge-0/0/3
, and similarly for the other logical
interfaces.
user@host# run show interfaces extensive ae10 Physical interface: ae10, Enabled, Physical link is Up Interface index: 129, SNMP ifIndex: 612, Generation: 132 Link-level type: Flexible-Ethernet, MTU: 9000, Speed: 2Gbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Disabled Pad to minimum frame size: Disabled Minimum links needed: 1, Minimum bandwidth needed: 1bps Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Current address: 00:05:86:1e:70:c1, Hardware address: 00:05:86:1e:70:c1 Last flapped : 2016-08-30 16:15:28 PDT (00:43:15 ago) Statistics last cleared: Never Traffic statistics: Input bytes : 0 0 bps Output bytes : 77194 200 bps Input packets: 0 0 pps Output packets: 300 0 pps IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Dropped traffic statistics due to STP State: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Input errors: Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0 Output errors: Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0 Ingress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 0 0 0 1 0 0 0 2 0 0 0 3 0 0 0 Egress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 0 0 0 1 0 0 0 2 0 0 0 3 0 0 0 Queue number: Mapped forwarding classes 0 best-effort 1 expedited-forwarding 2 assured-forwarding 3 network-control Logical interface ae10.101 (Index 345) (SNMP ifIndex 617) (Generation 154) Description: matched odd Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.101 ] Encapsulation: ENET2 Statistics Packets pps Bytes bps Bundle: Input : 0 0 0 0 Output: 2 0 92 0 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 0 Adaptive Updates: 0 Link: ge-0/0/3.101 Input : 0 0 0 0 Output: 2 0 92 0 ge-0/0/4.101 Input : 0 0 0 0 Output: 0 0 0 0 Aggregate member links: 2 Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx ge-0/0/3.101 0 0 0 0 ge-0/0/4.101 0 0 0 0 List-Type Status Primary Active Interfaces: ge-0/0/4 Up List-Type Status Backup Waiting Interfaces: ge-0/0/3 Up List-Type Status Standby Down Protocol inet, MTU: 8978, Generation: 198, Route table: 0 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Preferred Is-Primary Destination: 10.1.0.1/15, Local: 10.1.0.2, Broadcast: 10.1.0.3, Generation: 154 Protocol multiservice, MTU: Unlimited, Generation: 199, Route table: 0 Policer: Input: __default_arp_policer__ Logical interface ae10.102 (Index 344) (SNMP ifIndex 615) (Generation 153) Description: matched even Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.102 ] Encapsulation: ENET2 Statistics Packets pps Bytes bps Bundle: Input : 0 0 0 0 Output: 4 0 296 0 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 0 Adaptive Updates: 0 Link: ge-0/0/3.102 Input : 0 0 0 0 Output: 4 0 296 0 ge-0/0/4.102 Input : 0 0 0 0 Output: 0 0 0 0 Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx ge-0/0/3.102 0 0 0 0 ge-0/0/4.102 0 0 0 0 List-Type Status Primary Active Interfaces: ge-0/0/3 Up List-Type Status Backup Waiting Interfaces: ge-0/0/4 Up List-Type Status Standby Down Protocol inet, MTU: 8978, Generation: 196, Route table: 0 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Preferred Is-Primary Destination: 10.2.0.1 , Local: 10.2.0.1, Broadcast: 10.2.0.3, Generation: 152 Protocol multiservice, MTU: Unlimited, Generation: 197, Route table: 0 Policer: Input: __default_arp_policer__ Logical interface ae10.103 (Index 343) (SNMP ifIndex 614) (Generation 152) Description: matched odd Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.103 ] Encapsulation: ENET2 Statistics Packets pps Bytes bps Bundle: Input : 0 0 0 0 Output: 3 0 194 0 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 0 Adaptive Updates: 0 Link: ge-0/0/3.103 Input : 0 0 0 0 Output: 3 0 194 0 ge-0/0/4.103 Input : 0 0 0 0 Output: 0 0 0 0 Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx ge-0/0/3.103 0 0 0 0 ge-0/0/4.103 0 0 0 0 List-Type Status Primary Active Interfaces: ge-0/0/4 Up List-Type Status Backup Waiting Interfaces: ge-0/0/3 Up List-Type Status Standby Down Protocol inet, MTU: 8978, Generation: 194, Route table: 0 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Preferred Is-Primary Destination: 10.3.0.0/15, Local: 10.3.0.1, Broadcast: 10.3.0.3, Generation: 150 Protocol multiservice, MTU: Unlimited, Generation: 195, Route table: 0 Policer: Input: __default_arp_policer__ Logical interface ae10.104 (Index 342) (SNMP ifIndex 616) (Generation 151) Description: matched even Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.104 ] Encapsulation: ENET2 Statistics Packets pps Bytes bps Bundle: Input : 0 0 0 0 Output: 2 0 92 0 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 0 Adaptive Updates: 0 Link: ge-0/0/3.104 Input : 0 0 0 0 Output: 2 0 92 0 ge-0/0/4.104 Input : 0 0 0 0 Output: 0 0 0 0 Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx ge-0/0/3.104 0 0 0 0 ge-0/0/4.104 0 0 0 0 List-Type Status Primary Active Interfaces: ge-0/0/3 Up List-Type Status Backup Waiting Interfaces: ge-0/0/4 Up List-Type Status Standby Down Protocol inet, MTU: 8978, Generation: 192, Route table: 0 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Preferred Is-Primary Destination: 10.4.0.0/16, Local: 10.4.0.1, Broadcast: 10.4.0.3, Generation: 148 Protocol multiservice, MTU: Unlimited, Generation: 193, Route table: 0 Policer: Input: __default_arp_policer__ Logical interface ae10.32767 (Index 341) (SNMP ifIndex 613) (Generation 150) Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ] Encapsulation: ENET2 Statistics Packets pps Bytes bps Bundle: Input : 0 0 0 0 Output: 0 0 0 0 Adaptive Statistics: Adaptive Adjusts: 0 Adaptive Scans : 0 Adaptive Updates: 0 Link: ge-0/0/3.32767 Input : 0 0 0 0 Output: 95 0 38039 0 ge-0/0/4.32767 Input : 0 0 0 0 Output: 95 0 38039 0 Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx ge-0/0/3.32767 0 0 0 0 ge-0/0/4.32767 0 0 0 0 Protocol multiservice, MTU: Unlimited, Generation: 191, Route table: 0 Flags: None Policer: Input: __default_arp_policer__
MAC Address on Aggregated Ethernet Interfaces
You can configure source MAC address and destination MAC address-based accounting for MAC addresses that are dynamically learned on aggregated Ethernet interfaces.
By default, dynamic learning of source and destination MAC addresses on aggregated Ethernet interfaces is disabled. When you enable this feature, you can configure source and destination MAC address-based accounting on the routed interfaces on MX Series routers with DPCs and MPCs. Also, when you enable dynamic learning of MAC addresses, the MAC-filter settings for each member link of the aggregated Ethernet bundle is updated. The limit on the maximum number of MAC addresses that can be learned from an interface does not apply to this dynamic learning of MAC addresses functionality.
Destination MAC-based accounting is supported only for MAC addresses dynamically learned at the ingress interface, including each individual child or member link of the aggregated Ethernet bundle. MPCs do not support destination MAC address learning. Dynamic learning of MAC addresses can be supported on only the aggregated Ethernet interface or on selective individual member links. MAC learning support on the bundle depends on the capability of individual member links. If a link in the bundle does not contain the capability to support MAC learning or accounting, it is disabled on the aggregated Ethernet bundle.
The MAC data for the aggregated bundle is displayed after collecting data from individual child links. On DPCs, these packets are accounted in the egress direction (Output Packet/Byte count), whereas on MPCs, these packets are not accounted because DMAC learning is not supported. This difference in behavior also occurs between child links on DPCs and MPCs. Because this feature to enable dynamic learning is related to collecting MAC database statistics from child links that are based on the command that is issued from the CLI, there is an impact on the time it takes to display the data on the console based on the size of the MAC database and the number of child links spread across different FPCs.
Benefits
Compute Statistics—Enables you to compute MAC Address statistics for dynamically learned MAC addresses.
Platform-Specific Maximum Interfaces Per LAG Behavior
Use Feature Explorer to confirm platform and release support for specific features.
Use the following table to review platform-specific behavior for your platform:
Platform |
Difference |
---|---|
ACX Series |
ACX Series routers that support LAG, support a maximum of 255 interfaces per LAG. |
MX Series |
MX Series routers that support LAG, support a maximum of 64 interfaces per LAG. |
PTX Series |
PTX Series routers that support LAG, support a maximum of 64 interfaces per LAG. |