JunOS : Interface ge-0/0/0.0 not enabled for switching

By | May 25, 2014

You may end up with the following error trying to create a LACP (802.3ad) bonded interface on your Juniper device :

Error(s):
‘interface ge-0/0/0.0’

1) Interface ge-0/0/41.0 not enabled for switching
2) configuration check-out failed

This is probably due because you have a VLan interface set for these physical interfaces in your configuration such as :

set vlans v1 interface ge-0/0/0.0

Make sure to remove all VLans on the interfaces you are trying to aggregate first :

delete vlans <VLAN_ID> interface <INTERFACE_NAME>

Physical members interface of link aggregation should only have such statements :

set interfaces ge-0/0/0 ether-options 802.3ad ae0
set interfaces ge-0/0/1 ether-options 802.3ad ae0

A description statement may also be added :

set interfaces ge-0/0/0 description <INTERFACE_DESCRIPTION>
set interfaces ge-0/0/1 description <INTERFACE_DESCRIPTION>