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.
is this possible ?
Go to Solution.
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.
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_nameset snmp community XXXXX authorization read-writeset snmp community XXXXX clients 192.168.0.0/18 --> set up the addressesset 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 = 0ifIn1SecPkts.537 = 5811ifIn1SecPkts.538 = 0
serdar@SRX210# run show snmp mib walk 1 | match fe-0/0/6ifDescr.515 = fe-0/0/6ifDescr.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>220.127.116.11.4.1.2618.104.22.168.1.3.537</oid>serdar@SRX210# run show snmp mib walk ifOut1SecPkts | display xml | match 537 <name>ifOut1SecPkts.537</name> <index-value>537</index-value> <oid>22.214.171.124.4.1.26126.96.36.199.1.6.537</oid>