SRX

last person joined: 16 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  SRX 210 packet rate for time interval

    Posted 10-23-2015 02:12

    Hi all,

     

    There are some commands to see the packet rate at that moment, like sh int xxx queue.

     

    What i really want is to see what it was like for some seconds or minutes, like a table or graph on the srx.

     

    like :

     

    Seconds       PPS

    0-1                 1000

    1-2                 800

     

    or:

    Minutes:

    0-10              10000000

    10-20            800000

     

     

    is this possible ?



  • 2.  RE: SRX 210 packet rate for time interval
    Best Answer

    Posted 10-23-2015 02:21

    Hello,

    It is possible but not with a single CLI command, some extra effort is required.

    There are SNMP OIDs which reflect PPS on interface, walk the IfJnxTable to see them.

    Then download STG http://leonidvm.chat.ru and poll these OIDs from Your PC/laptop, You will see a nice graph.

    STG does not require installation and works on my Win7 laptop just fine.

    HTH

    Thanks
    Alex

     



  • 3.  RE: SRX 210 packet rate for time interval

    Posted 10-23-2015 11:58

    thx!

     

    30 mins later, i did set it up as how i want it!!!

     

    For the people who will search for this:

     

    Enable SNMP first:

     

    set snmp name SRX_name
    set snmp community XXXXX authorization read-write
    set snmp community XXXXX clients 192.168.0.0/18 --> set up the addresses
    set interfaces xxxxx traps

     

    Then i search for the Mib you want like in : http://www.juniper.net/techpubs/en_US/junos12.3/topics/reference/mibs/mib-jnx-if-extensions.txt

     

     

     

    then the next step would be, in this case for packet rate for interface fe-0/0/6.0 :

     

    serdar@SRX210# run show snmp mib walk ascii ifIn1SecPkts

    ............ifIn1SecPkts.536 = 0
    ifIn1SecPkts.537 = 5811
    ifIn1SecPkts.538 = 0

     

     

    serdar@SRX210# run show snmp mib walk 1 | match fe-0/0/6
    ifDescr.515   = fe-0/0/6
    ifDescr.537   = fe-0/0/6.0

     

     

    serdar@SRX210# run show snmp mib walk ifIn1SecPkts | display xml | match 537
                <name>ifIn1SecPkts.537</name>
                    <index-value>537</index-value>
                <oid>1.3.6.1.4.1.2636.3.3.1.1.3.537</oid>

    [edit]
    serdar@SRX210# run show snmp mib walk ifOut1SecPkts | display xml | match 537
                <name>ifOut1SecPkts.537</name>
                    <index-value>537</index-value>
                <oid>1.3.6.1.4.1.2636.3.3.1.1.6.537</oid>