Verify LAG (Link Aggregation Group) of a Juniper Networks EX Series 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 [juniper.net].
Goals:
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
LAG parent interface (ae0) and LAG logical interface (ae0.0) are Administratively UpLAG parent interface (ae0) and LAG logical interface (ae0.0) are Link UpChild interfaces (ge-0/0/5.0 and ge-0/0/6.0) are Administratively UpChild interfaces (ge-0/0/5.0 and ge-0/0/6.0) are Link UpCorrect family is assigned to the LAG logical (ae0.0) interface
Perform the following steps:
Run the following command to view the status of the Aggregated Ethernet Interface:
root@switch> show interfaces <ae interface> terseExample:root@switch> show interfaces ae0 terse Interface Admin Link Proto Local Remoteae0 up down ae0.0 up down eth-switch
What is the 'Admin' status of the ae interface (i.e. ae0 in the example)?
root@switch> show interfaces ae0 terse error: device ae0 not found
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@switch# show interfaces ae0 | display set set interfaces ae0 disable set interfaces ae0 unit 0 family ethernet-switching
show configuration interfaces <aeX interface> | display set
root@switch# show 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@switch# delete interfaces ae0 disable For more information, refer to the technical documentation on Disabling a Physical Interface
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.
root@switch# delete interfaces ae0 disable
Continue with Step 3 (when the ae interface is Administratively Up).
Now observe the Aggregated Ethernet Interface Logical Interface line output (i.e. ae0.0).
Example: root@switch> show interfaces ae0 terse Interface Admin Link Proto Local Remote ae0 up down ae0.0 up <<<<< down eth-swith
root@switch> 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)?
root@switch# delete interfaces ae0 unit 0 disable
Run the following command to view all the Child Interface members associated with the Aggregated Ethernet Interface bundle:
root@switch> show interfaces terse | match <ae interface> Note: This command is slightly different than the command used in the previous steps. root@switch> 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 </span>ae0 up up ae0.0 up up eth-switch
root@switch> show interfaces terse | match <ae interface>
Note: This command is slightly different than the command used in the previous steps.
root@switch> 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 </span>ae0 up up ae0.0 up up eth-switch
Are all the LAG Child Interface members of the Aggregated Ethernet Interface bundle listed?
Are the expected Child interfaces listed with the status of 'up up'? ('up up' means Administratively up and Link up)
root@switch> 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 </span>ae0 up up ae0.0 up up eth-switch
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.
Run the following command again:
show interfaces <ae interface> terse Example: root@switch> show interfaces ae0 terse Interface Admin Link Proto Local Remote ae0 up down ae0.0 up down eth-switch <<<<<LAG Logical Interface </span>
show interfaces <ae interface> terse
Example:
root@switch> show interfaces ae0 terse Interface Admin Link Proto Local Remote ae0 up down ae0.0 up down eth-switch <<<<<LAG Logical Interface </span>
root@switch> show interfaces ae0 terse Interface Admin Link Proto Local Remote ae0 up down ae0.0 up down
<<<<<LAG Logical Interface </span>
What is the 'Link' status of the ae interface (i.e. ae0)?
Example: root@switch> show interfaces ae0 terse Interface Admin Link Proto Local Remote ae0 up down <<<<< ae0.0 up down eth-switch
root@switch> show interfaces ae0 terse Interface Admin Link Proto Local Remote ae0 up down <<<<< ae0.0 up down eth-switch
root@switch> 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
LAG parent interface (ae0) and LAG logical interface (ae0.0) are Administratively UpLAG parent interface (ae0) and LAG logical interface (ae0.0) are Link UpChild interfaces (ge-0/0/5.0 and ge-0/0/6.0) are Administratively UpChild interfaces (ge-0/0/5.0 and ge-0/0/6.0) are Link UpThe 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.
If you are having a problem with traffic not passing, then jump to Step 13 for some pointers.
Is this LAG interface a LACP (Link Aggregation Control Protocol)?
Run the following command to verify the LACP configuration between peers:
root@switch> show lacp interfaces
For an explanation of the fields below, refer to the documentation on show lacp interfaces.
Working Example:
root@switch> 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@switch> 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 all the physical child interfaces equal to 'Collecting distributing'? ('Collecting distributing' is the value you want to see.)
For the physical interface in question, is the LACP Activity state set to Passive for both the Actor and Partner?
For the physical interface in question, is the Periodic Interval the same for both the Actor and Partner?
root@switch> 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
If all the physical interfaces are 'Collecting distributing' and you are experiencing issues with your Aggregated Ethernet Interface, also perform the following checks:
If the problem is that traffic is not passing, investigate the following areas:
If it is still not resolved, contact your technical support representative.
2020-02-11: Article reviewed for accuracy; no changes required.2022-04-21: Updated links, verified ELS outputs are the same.