Routing

Expand all | Collapse all

How to check DRAM and Flash on EX-4300

Jump to Best Answer
  • 1.  How to check DRAM and Flash on EX-4300

    Posted 10-10-2018 21:24

    Hi everyone!

     

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

    Memory
    •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
    memory
    fpc0:
    --------------------------------------------------------------------------
    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?


  • 2.  RE: How to check DRAM and Flash on EX-4300
    Best Answer

     
    Posted 10-11-2018 01:21

    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)


  • 3.  RE: How to check DRAM and Flash on EX-4300

    Posted 10-11-2018 19:28

    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?

     

    Regards,

     



  • 4.  RE: How to check DRAM and Flash on EX-4300

    Posted 04-25-2020 01:11

    Yep, it's ok for flash memory operation. I have no idea why Juniper does not show flash in output of "show chassis hardware", but this info we can get in cli:
    Flash:

    ex4200-24f> show system boot-messages | match da0
    da0 at umass-sim0 bus 0 target 0 lun 0
    da0: <ST ST72682 2.10> Removable Direct Access SCSI-2 device
    da0: 40.000MB/s transfers
    da0: 1000MB (2048000 512 byte sectors: 64H 32S/T 1000C) <<<<<< 1G
    Trying to mount root from ufs:/dev/da0s2a

    RE Memory:

    ex4200-24f> show chassis routing-engine
    Routing Engine status:
    Slot 0:
    Current state Master
    Election priority Master (default)
    Temperature 43 degrees C / 109 degrees F
    CPU temperature 43 degrees C / 109 degrees F
    DRAM 1024 MB                   <<<<<<<<< 1G
    Memory utilization 33 percent
    CPU utilization:
    <skip>