Evil_TTL> show | s

Juniper SRX CPU Troubleshooting

Category:Juniper -> Security

show security monitoring fpc 10     
node0
:
--------------------------------------------------------------------------
FPC 10
  PIC 0
    CPU utilization          
:    %
    
Memory utilization       :   64 %
    
Current flow session     34915
    Current flow session IPv4
34915
    Current flow session IPv6
:    0
    Max flow session         
524288
    Current CP session       
104841
    Current CP session   IPv4
104841
    Current CP session   IPv6
:    0
    Max CP session           
2359296
  PIC 1
    CPU utilization          
:    %
    
Memory utilization       :   65 %
    
Current flow session     69862
    Current flow session IPv4
69862
    Current flow session IPv6
:    0
    Max flow session         
1048576
    Current CP session       
:    0
    Current CP session   IPv4
:    0
    Current CP session   IPv6
:    0
    Max CP session           
:    0
Total Session Creation Per Second 
(for last 96 seconds on average): 1413
IPv4  Session Creation Per Second 
(for last 96 seconds on average): 1413
IPv6  Session Creation Per Second 
(for last 96 seconds on average):    0

node1
:
--------------------------------------------------------------------------
FPC 10
  PIC 0
    CPU utilization          
:    %
    
Memory utilization       :   64 %
    
Current flow session     36533
    Current flow session IPv4
36533
    Current flow session IPv6
:    0
    Max flow session         
524288
    Current CP session       
106493
    Current CP session   IPv4
106493
    Current CP session   IPv6
:    0
    Max CP session           
2359296
  PIC 1
    CPU utilization          
:    %
    
Memory utilization       :   65 %
    
Current flow session     69919
    Current flow session IPv4
69919
    Current flow session IPv6
:    0
    Max flow session         
1048576
    Current CP session       
:    0
    Current CP session   IPv4
:    0
    Current CP session   IPv6
:    0
    Max CP session           
:    0
Total Session Creation Per Second 
(for last 96 seconds on average):    0
IPv4  Session Creation Per Second 
(for last 96 seconds on average):    0
IPv6  Session Creation Per Second 
(for last 96 seconds on average):    0

{primary
:node0} 
monitor interface traffic
                               Seconds
2                   Time15:14:32

Interface    Link     Input bytes        (bps)      Output bytes        (bps)
 
gr-0/0/0      Up               0          (0)                 0          (0)
 
ip-0/0/0      Up               0          (0)                 0          (0)
 
lt-0/0/0      Up               0          (0)                 0          (0)
 
xe-0/0/0      Up1454856953585957  (438360808)  1439973460509269  (433769224)
 
xe-0/1/0    Down               0          (0)                 0          (0)
 
xe-0/2/0    Down               0          (0)                 0          (0)
 
xe-0/3/0      Up     83160471982       (7984)    14732460605134   (15066448)
 
xe-1/0/0      Up 259070233449464       (8144)   256661796879024       (6832)
 
xe-1/1/0    Down               0          (0)                 0          (0)
 
xe-1/2/0    Down               0          (0)                 0          (0)
 
xe-1/3/0      Up    156758996463       (2272)        9226945438       (2272)
 
ge-5/1/0    Down               0          (0)                 0          (0)
 
ge-5/1/1    Down               0          (0)                 0          (0)
...
Bytes=bClear=cDelta=dPackets=pQuit=or ESCRate=rUp=^UDown=^

Sum up bps values and get current imax (small packets) utilisation.

For example:

2,200,000,000bps 2.2Gbps imax 

Compare how close the value is to the maximum throughput supported by SPC card(s). SPC throughput datasheets are not publicly available, they can be shared by Juniper representative only.


For firewall SPU utilisation (Service Processing Units - These processors perform the majority of the packet processing on the firewall). e.g. 43 seconds ago the SPU was at 86% utilisation

show security monitoring performance spu

fpc  0  pic  0
Last 60 seconds
:
 
0:  68   1:  69   2:  70   3:  67   4:  66   5:  67
 6
:  69   7:  68   8:  64   9:  70  10:  66  11:  68
12
:  70  13:  69  14:  71  15:  65  16:  76  17:  79
18
:  70  19:  73  20:  70  21:  75  22:  74  23:  75
24
:  72  25:  68  26:  77  27:  70  28:  80  29:  80
30
:  87  31:  85  32:  86  33:  85  34:  83  35:  85
36
:  87  37:  85  38:  81  39:  76  40:  79  41:  82
42
:  82  43:  86  44:  85  45:  84  46:  82  47:  79
48
:  70  49:  70  50:  69  51:  71  52:  68  53:  68
54
:  69  55:  68  56:  71  57:  68  58:  68  59:  70 


For Routing Engine (Control Plane) CPU usage:

show chassis routing-engine
  
 start shell
  top 
-

For Packet Forwarding Engine (Data Plane) CPU usage:

show chassis forwarding
show security monitoring fpc 0
show security monitoring performance spu 
By privilege15