How to check DRAM and Flash on EX-4300

[ Edited ]
‎10-10-2018 09:24 PM

Hi everyone!


 I bought a switch EX-4300-24T-TAA, in datasheet i read about hardware specifications of EX-4300 is:

•DRAM: 8 GB with Error Correcting Code (ECC) on EX4300-48MP, 4 GB with ECC on EX4300-32F and
EX4300-32F-DC; 2 GB with ECC on all other EX4300 switches
•Flash: 64 GB on EX4300-48MP, 4 GB on EX4300-32F and EX4300-32F-DC; 2 GB on all other EX4300 switches
But when I check on the real device with some commands, the result is not show flash information, results below:
root> show chassis hardware detail
Hardware inventory:
Item             Version  Part number  Serial number     Description
Chassis                                PG37181139      EX4300-24T
Routing Engine 0 REV 34   650-0446   PG37181139      EX4300-24T
FPC 0            REV 34   650-0446   PG37181139      EX4300-24T
  CPU                     BUILTIN      BUILTIN           FPC CPU
  PIC 0          REV 34   BUILTIN      BUILTIN           24x 10/100/1000 Base-T
  PIC 1          REV 34   BUILTIN      BUILTIN           4x 40GE QSFP+
Power Supply 0   REV 03   740-0473   1EDE81888       JPSU-350-AC-AFO-A
Power Supply 1   REV 03   740-0473   1EDE83142       JPSU-350-AC-AFO-A
Fan Tray 0                                               Fan Module, Airflow Out (AFO)
Fan Tray 1                                               Fan Module, Airflow Out (AFO)
show system memory
System memory usage distribution:
       Total memory: 1945600 Kbytes (100%)
    Reserved memory:   38572 Kbytes (  1%)
       Wired memory:   95044 Kbytes (  4%)
      Active memory:  610960 Kbytes ( 31%)
    Inactive memory:   62468 Kbytes (  3%)
       Cache memory:  288760 Kbytes ( 14%)
        Free memory:  849172 Kbytes ( 43%)
Memory disk resident memory:  231536 Kbytes
How can I check about DRAM and FLASH?
Accepted by topic author nghiatd246
‎10-11-2018 07:27 PM

Re: How to check DRAM and Flash on EX-4300

‎10-11-2018 01:21 AM

You have found the memory correctly as your EX4300-24T only has 2GB RAM. Regarding flash I'm not sure how to do it via the Junos cli.

But I know you can go into the unix shell and look in dmesg.boot for these numbers.


Example below is from a SRX300 (8G flash, 4G RAM) but can be used the same way on your EX4300.


user@fw> start shell
% grep da0 /var/run/dmesg.boot
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <ATP ATP CG eUSB 1100> Fixed Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 7672MB (15712256 512 byte sectors: 255H 63S/T 978C)
Trying to mount root from ufs:/dev/da0s2a

% grep "real memory" /var/run/dmesg.boot
real memory  = 4294967296 (4194304K bytes)
Best regards,

Jonas Hauge Jensen
Systems Engineer, SEC Datacom A/S (Denmark)

Re: How to check DRAM and Flash on EX-4300

‎10-11-2018 07:27 PM

Hi jonashauge!


Thanks for your support!

 I've already showed that information! So, I want to ask additional question:

 With SRX-345 and SRX-340... I used command: "show chassis hardware detail" and the result is include da0 information with description is "NAND FLASH", it's clear information about FLASH.

 Show why, with EX-4300 we have to grep da0 information from system boot-message? Is this ok for flash memory operation?