Pure LACP
Configuring Aggregated Ethernet Device with LAG and LACP (CLI)
1.Configure the number of ae/LAG interface that you need to create.
[edit]
User@host# set chassis aggregated-devices ethernet device-count 5
2. Add port to ae/LAG
[edit]
User@host# set interfaces ge-2/0/1 gigether-options 802.3ad ae0
User@host# set interfaces ge-2/0/2 gigether-options 802.3ad ae0
3. Configure LACP for ae/LAG
[edit]
User@host# set interfaces ae0 aggregated-ether-options lacp active
4. Configure family Ethernet-switching for ae/LAG
[edit]
User@host# set interfaces ae0 unit 0 family ethernet-switching
5. Configure VLAN
[edit]
User@host# set vlans vlan20 vlan-id 20
6. Add ae to VLAN
[edit]
User@host# set vlans vlan20 interface ae0
7. Check the configuration by entering show vlans and show interfaces commands
User@host# show vlans
Vlan20 {
Vlan-id 20
Interface {
Ae0.0
}
}
User@host# show interfaces
Ge-2/0/1 {
Gigether-options {
802.3ad ae0
}
}
Ge-2/0/2 {
Gigether-options {
802.3ad ae0
}
}
Ae0 {
Aggregated-ether-options {
Lacp {
Active
}
}
Unit 0 {
Family ethernet-switching
}
}
8. If you are done configuring the device, commit the configuration.
[edit]
User@host# commit
Verification
User@host# run show lacp interfaces
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
Ge-2/0/1 Actor No No Yes Yes Yes Yes Fast Active
Ge-2/0/1 Partner No No Yes Yes Yes Yes Fast Active
Ge-2/0/2 Actor No No Yes Yes Yes Yes Fast Active
Ge-2/0/2 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
User@host# run show vlans
Name Tag Interfaces
Default 1 None
Vlan20 20 ae0.0
From the configuration mode, enter show interfaces (interface name) command to view
The status of ge-2/0/1 and ge-2/0/2 interfaces.
User@host# run show interfaces ge-2/0/1 terse
Interface Admin Link Proto Local Remote
Ge-2/0/1 up up
Ge-2/0/1.0 up up aenet-- > ae0.0
User@host# run show interfaces ge-2/0/2 terse
Interface Admin Link Proto Local Remote
Ge-2/0/2 up up
Ge-2/0/2.0 up up aenet-- > ae0.0
Run show inter ter | match ae