Support Support Downloads Knowledge Base Service Request Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

Resolution Guide - EX - Troubleshoot Aggregated Ethernet Interface (LAG)

0

0

Article ID: KB19798 KB Last Updated: 04 Mar 2017Version: 7.0
Summary:

Verify LAG (Link Aggregation Group) of EX switch is UP, and troubleshoot it if it is not.

To verify a Physical Interface (non-aggregated) or a VLAN interface, refer to KB22217 - Resolution Guides - EX - Troubleshoot/Verify Interface.


Symptoms:

Goals:

  • Troubleshoot down Aggregated Ethernet Interface (LAG)

  • Verify Aggregated Ethernet Interface (LAG) is up

  • Below is an example of a LAG that is up.  This is what be verified and corrected in the step by step solution below.
    root@KE-1-4200# run show interfaces terse | match ae0     
    ge-0/0/5.0       up    up   aenet    --> ae0.0   <<<<< LAG Child Interface
    ge-0/0/6.0       up    up   aenet    --> ae0.0   <<<<< LAG Child Interface
    ae0              up    up                  <<<<< LAG Parent Interface
    ae0.0            up    up   eth-switch     <<<<< LAG Logical Interface

  1. LAG parent interface (ae0) and LAG logical interface (ae0.0) are Administratively Up
  2. LAG parent interface (ae0) and LAG logical interface (ae0.0) are Link Up
  3. Child interfaces (ge-0/0/5.0 and ge-0/0/6.0) are Administratviely Up
  4. Child interfaces (ge-0/0/5.0 and ge-0/0/6.0) are Link Up
  5. Correct family is assigned to the LAG logical (ae0.0) interface

Cause:

Solution:

Perform the following steps:


Step 1. Run the following command to view the status of the Aggregated Ethernet Interface:

show interfaces <ae interface> terse

Example:
root@KE-1-4200#run show interfaces ae0 terse 
Interface Admin Link Proto Local Remote
ae0 up down
ae0.0 up down eth-switch

What is the 'Admin' status of the ae interface (i.e. ae0 in the example)?



Step 2.  The ae interface is Administratively Down, which means the administrator of this switch disabled the interface.

This can be confirmed with the command:
show configuration interfaces <aeX interface> | display set

Example:
root@KE-1-4200# run show configuration interfaces ae0 | display set 
set interfaces ae0 disable
set interfaces ae0 unit 0 family ethernet-switching

Bring the interface Administratively Up by enabling the interface with the command:

delete interfaces <ae interface> disable

Important Note:  We strongly recommend that you check with the administrator before issuing this command, as it will alter the administrator's network topology.

Example:
root@KE-1-4200# delete interfaces ae0 disable

For more information, refer to http://www.juniper.net/techpubs/en_US/junos11.4/topics/usage-guidelines/interfaces-disabling-a-physical-interface.html

Continue with Step 3 (when the ae interface is Administratively Up).



Step 3.  Now observe the Aggregated Ethernet Interface Logical Interface line output (i.e. ae0.0).

Example:
root@KE-1-4200#run show interfaces ae0 terse 
Interface Admin Link Proto Local Remote
ae0 up down
ae0.0 up <<<<< down eth-swith

What is the 'Admin' status of the LAG Logical interface (i.e. ae0.0 in the example)?

  • Up - Continue to Step 4
  • Down - Bring the ae Logical Interface Administratively up with the command:

    root@KE-1-4200# delete interfaces ae0 unit 0 disable

    Important Note:  We strongly recommend that you check with the administrator before issuing this command, as it will alter the administrator's network topology.

    Continue with Step 4 (when the ae0.0 Logical interface is Administratively Up).


Step 4.  Run the following command to view all the Child Interface members associated with the Aggregated Ethernet Interface bundle:

show int terse | match <ae interface>

Note: This command is slightly different than the command used in the previous steps.

root@KE-1-4200# run show interfaces terse | match ae0     
ge-0/0/5.0 up down aenet --> ae0.0 <<<<<LAG Child Interface
ge-0/0/6.0
up up aenet --> ae0.0 <<<<<LAG Child Interface
ae0 up up
ae0.0 up up eth-switch

Are all the LAG Child Interface members of the Aggregated Ethernet Interface bundle listed?



Step 5.  Are the expected Child interfaces listed with the status of 'up up'? ('up up' means Administratively up and Link up)

root@KE-1-4200# run show interfaces terse | match ae0     
ge-0/0/5.0 up up aenet --> ae0.0 <<<<<LAG Child Interface
ge-0/0/6.0
up up aenet --> ae0.0 <<<<<LAG Child Interface
ae0 up up
ae0.0 up up eth-switch

  • Yes - Continue to Step 6
  • No -  At least one LAG Child interface should be Active (Up/Up) to bring an Aggregate interface UP, by default.  Confirm that at least one LAG child interface in the Aggregated Ethernet bundle is Physically Up (Link status Up).

    For each Child Interface that is not 'up up', follow the steps in the Resolution Guide - EX - Verify/Troubleshoot Physical Interface to troubleshoot and correct it.



Step 6.  Run the following command again:

show interfaces <ae interface> terse

Example:

root@KE-1-4200#run show interfaces ae0 terse 
Interface Admin Link Proto Local Remote
ae0 up down
ae0.0 up down
eth-switch <<<<<LAG Logical Interface
Is the correct Protocol family listed for the LAG Logical interface (i.e. ae0.0)?  (It should be 'eth-switch' for Layer 2 or 'inet' for Layer 3.)



Step 7.  What is the 'Link' status of the ae interface (i.e. ae0)?

Example:

root@KE-1-4200#run show interfaces ae0 terse 
Interface Admin Link Proto Local Remote
ae0 up down <<<<<
ae0.0 up down eth-switch


  • Up - End of Workflow.   Your Aggregated Ethernet Interface has been verified as Up.  For example:

    root@KE-1-4200# run show interfaces terse | match ae0     
    ge-0/0/5.0       up    up   aenet    --> ae0.0   <<<<< LAG Child Interface
    ge-0/0/6.0       up    up   aenet    --> ae0.0   <<<<< LAG Child Interface
    ae0              up    up                  <<<<< LAG Parent Interface
    ae0.0            up    up   eth-switch     <<<<< LAG Logical Interface

  1. LAG parent interface (ae0) and LAG logical interface (ae0.0) are Administratively Up
  2. LAG parent interface (ae0) and LAG logical interface (ae0.0) are Link Up
  3. Child interfaces (ge-0/0/5.0 and ge-0/0/6.0) are Administratively Up
  4. Child interfaces (ge-0/0/5.0 and ge-0/0/6.0) are Link Up
  5. Correct family is assigned to the LAG logical (ae0.0) interface
If you are having a problem with traffic not passing, then jump to Step 13 for some pointers.

  • Down - Check the Aggregated Ethernet Minimum Links value on the Aggregated Ethernet Interface with the command "show interfaces ae0 | display set ".   You can configure the minimum number of links that must be up for the bundle as a whole to be labeled up. By default, only one link must be up for the bundle to be labeled up. For more information, refer to http://www.juniper.net/techpubs/en_US/junos11.4/topics/task/configuration/802-3ad-minimum-links.html.  If the Administrator configured this parameter, then AE interface will not come-up until it satisfies the Minimum physical interface count.  
    Then continue to Step 8.



Step 8.   Is this LAG interface a LACP (Link Aggregation Control Protocol)?

  • No - If Aggregated Ethernet Interface is still not up, jump to Step 13 and contact your technical support representative.
  • Yes - Continue to Step 9



Step 9.  Run the following command to verify the LACP configuration between peers:

show lacp interfaces

For an explanation of the fields below, refer to http://www.juniper.net/techpubs/en_US/junos11.4/topics/reference/command-summary/show-lacp-interfaces-ex-series.html.

Working Example:
root@KE-2-3200# run show lacp interfaces             
Aggregated interface: ae0
    LACP state:       Role   Exp   Def  Dist  Col  Syn  Aggr  Timeout  Activity
      ge-0/0/5       Actor    No    No   Yes  Yes  Yes   Yes     Fast   Passive
      ge-0/0/5     Partner    No    No   Yes  Yes  Yes   Yes     Fast    Active
      ge-0/0/6       Actor    No    No   Yes  Yes  Yes   Yes     Fast   Passive
      ge-0/0/6     Partner    No    No   Yes  Yes  Yes   Yes     Fast    Active
    LACP protocol:        Receive State  Transmit State          Mux State 
      ge-0/0/5                  Current   Fast periodic Collecting distributing
      ge-0/0/6                  Current   Fast periodic Collecting distributing

Non-working Example:
root@KE-1-4200# run show lacp interfaces    
Aggregated interface: ae0
    LACP state:       Role   Exp   Def  Dist  Col  Syn  Aggr  Timeout  Activity
      ge-0/0/5       Actor    No    No   Yes  Yes  Yes   Yes     Fast    Active
      ge-0/0/5     Partner    No    No   Yes  Yes  Yes   Yes     Slow   Passive
      ge-0/0/6       Actor    No   Yes    No   No   No   Yes     Fast    Active
      ge-0/0/6     Partner    No   Yes    No   No   No   Yes     Fast   Passive
    LACP protocol:        Receive State  Transmit State          Mux State 
      ge-0/0/5                  Current   Slow periodic    Collecting distributing
      ge-0/0/6            Port disabled     No periodic           Detached

Is the Mux State for the all the physical child interfaces equal to 'Collecting distributing'?   ('Collecting distributing' is the value you want to see.)

  • No - Continue to Step 10
  • Yes - Your Aggregated Ethernet Interface has been Verified as Up.  If traffic is not passing, continue to Step 13 for some pointers.



Step 10.  For the physical interface in question, is the LACP Activity state set to Passive for both the Actor and Partner?


Non-working Example:
root@KE-1-4200# run show lacp interfaces    
Aggregated interface: ae0
    LACP state:       Role   Exp   Def  Dist  Col  Syn  Aggr  Timeout  Activity
      ge-0/0/5       Actor    No    No   Yes  Yes  Yes   Yes     Fast    Active
      ge-0/0/5     Partner    No    No   Yes  Yes  Yes   Yes     Slow   Passive
      ge-0/0/6       Actor    No   Yes    No   No   No   Yes     Fast    Active
      ge-0/0/6     Partner    No   Yes    No   No   No   Yes     Fast   Passive
    LACP protocol:        Receive State  Transmit State          Mux State 
      ge-0/0/5                  Current   Slow periodic    Collecting distributing
      ge-0/0/6            Port disabled     No periodic           Detached

  • Yes - By default LACP Interfaces will be Passive interfaces. Passive means that it will not initiate LACPD until it receives LACPD from his Peer. Hence at least one end should be configured as 'Active' to initiate LACPD.  Both sides can be configured as 'Active', but both sides cannot be set to 'Passive'.  Correct the configuration on one end.  For more information, refer to Configuring Aggregated Ethernet LACP.

  • No - Continue to Step 11


Step 11.  For the physical interface in question, is the Periodic Interval the same for both the Actor and Partner? 

Non-working Example:
root@KE-1-4200# run show lacp interfaces 
Aggregated interface: ae0
    LACP state:       Role   Exp   Def  Dist  Col  Syn  Aggr  Timeout  Activity
      ge-0/0/5       Actor    No    No   Yes  Yes  Yes   Yes     Fast    Active  <<<<<
      ge-0/0/5     Partner    No    No   Yes  Yes  Yes   Yes     Slow   Passive  <<<<<
      ge-0/0/6       Actor    No    No   Yes  Yes  Yes   Yes     Fast    Active
      ge-0/0/6     Partner    No    No   Yes  Yes  Yes   Yes     Slow   Passive
    LACP protocol:        Receive State  Transmit State          Mux State 
      ge-0/0/5                  Current   Slow periodic Collecting distributing
      ge-0/0/6                  Current   Slow periodic Collecting distributing
It is strongly recommended that both sides be configured with the same LACP Periodic interval Configuration. By default the LACP interfaces are set Fast-Periodic Intervals (LACPD will be sent every second).  For more information on this parameter, refer to Understanding Periodic interval.  

  • Yes - Continue to Step 12
  • No - Configure both sides the same.  Then continue to Step 12.
 

Step 12.  If all the physical interfaces are 'Collecting distributing' and you are experiencing issues with your Aggregated Ethernet Interface, also perform the following checks:

  • Verify the EX Child interfaces are connected to the correct Child Interfaces at the Far-end (Peer).
    • show interfaces ae0 extensive - To check the Partner's MAC address.  When LACPD is negotiated, the LACP interface will display the learned Partner's MAC address.
  • Verify the Partner's MAC address are in same OUI Range to make sure it is connected to the same device/chassis.
OUI Look-up Tool
http://standards.ieee.org/develop/regauth/oui/public.html



Step 13.  If the problem is that traffic is not passing, investigate the following areas:

Also, reference Troubleshooting Interface - Chapter 5, p.121 in the Junos for EX Series Ethernet Switches Technical Documentation.

If still not resolved, contact your technical support representative.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Security Alerts and Vulnerabilities

Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search