Hi Arix,
Two types of licenses are available on EX4300 switches: enhanced feature licenses (EFLs) and advanced feature licenses (AFLs).
To use the following features on EX4300 switches, you must install an AFL:
Border Gateway Protocol (BGP) and multiprotocol BGP (MBGP)
To use the following features on EX3200, EX4200, EX4500, EX4550, EX8200, EX9200 and EX9250 switches, you must install an advanced feature license (AFL):
Border Gateway Protocol (BGP) and multiprotocol BGP (MBGP)
You can check this link with the licenses for EX switches.