EX4300s have four QSFP+ ports (rear panel) which may be used for stacking or as 40GbE. They also don't require an uplink module (EX-UM-xxx) and therefore have four SFP+ 1/10G ports (front panel) in the base model.
The newer software on EX4300 makes one shocking choice you need to be aware of. STP may be disabled in a factory-default configuration. That can produce accidental loops and other problems if you're not aware it's going to happen. Double-check the spanning-tree config (under protocols { ... }
) before connecting an EX4300 to a production network.
I believe EX4300 fixes the worst and dumbest ASIC limitation of EX4200, too; on EX4200, glean traffic that needs to be punted to the RE, but would be dropped by lo0 filter, is therefore dropped instead of resulting in an ARP who-has going out to the connected host.
If you're happy with EX4200 then keep on running them unless your organizational needs require you to replace end-of-life equipment. The differences between 4200 and 4300 are minimal for most legacy environments. For new installations, definitely choose the 4300.