You want to enable an Ethernet Link Aggregation Group (LAG) on an EX Series switch.
Which commands enable this?
A.
[edit chassis]
user@switch# set aggregated-devices ethernet device-count 1
[edit interfaces]
user@switch# set ae1 aggregated-ether-options minimum-links 1
user@switch# set ae1 aggregated-ether-options link-speed 10g
user@switch# set ae1 unit 0 family inet address 192.168.1.0/24
user@switch# set xe-0/1/0 ether-options 802.3ad ae1
user@switch# set xe-1/1/0 ether-options 802.3ad ae1
B.
[edit chassis]
user@switch# set chassis aggregated-devices ethernet device-count 2
[edit interfaces]
user@switch# set interface ae0 aggregated-ether-options minimum-links 1
user@switch# set interface ae0 aggregated-ether-options link-speed 10g
user@switch# set interface ae0 unit 0 family inet address 192.168.1.0/24
user@switch# set interface xe-0/1/0 ether-options 802.3ad ae0 fast
user@switch# set interface xe-1/1/0 ether-options 802.3ad ae0 fast
C.
[edit chassis]
user@switch# set chassis aggregated-devices ethernet device-count 1
[edit interfaces]
user@switch# set interface ae0 aggregated-ether-options minimum-links 1
user@switch# set interface ae0 aggregated-ether-options link-speed 10g
user@switch# set interface ae0 unit 0 family inet address 192.168.1.0/24
user@switch# set interface xe-0/1/0 ether-options 802.3ad ae0 fast
user@switch# set interface xe-1/1/0 ether-options 802.3ad ae0 fast
D.
[edit chassis]
user@switch# set aggregated-devices ethernet device-count 2
[edit interfaces]
user@switch# set ae1 aggregated-ether-options minimum-links 1
user@switch# set ae1 aggregated-ether-options link-speed 10g
user@switch# set ae1 unit 0 family inet address 192.168.1.0/24
user@switch# set xe-0/1/0 ether-options 802.3ad ae1
user@switch# set xe-1/1/0 ether-options 802.3ad ae1
Explanation:
I think in D is “interfaces” missing
[edit chassis]
user@switch# set aggregated-devices ethernet device-count 2
[edit interfaces]
user@switch# set interfaces ae1 aggregated-ether-options minimum-links 1
user@switch# set interfaces ae1 aggregated-ether-options link-speed 10g
user@switch# set interfaces ae1 unit 0 family inet address 192.168.1.0/24
user@switch# set interfaces xe-0/1/0 ether-options 802.3ad ae1
user@switch# set interfaces xe-1/1/0 ether-options 802.3ad ae1
You are already in the [edit interface] hierarchy so no need to use “interface” keyword;
[edit interfaces] <<<<< Notice here.
user@switch# set ae1 aggregated-ether-options minimum-links 1
user@switch# set ae1 aggregated-ether-options link-speed 10g
user@switch# set ae1 unit 0 family inet address 192.168.1.0/24
user@switch# set xe-0/1/0 ether-options 802.3ad ae1
user@switch# set xe-1/1/0 ether-options 802.3ad ae1
Agree with Spearhead