Difference between revisions of "How to perform firewall flow filter debugging"

From Tech-Wiki
Jump to: navigation, search
(Created page with "Category:Juniper Networks The debug buffer is a circular buffer, once the buffer has reached the size limit, the oldest data will be overwritten. The buffer size is configur...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Juniper Networks]]
+
[[Category:Juniper_Networks]]
  
The debug buffer is a circular buffer, once the buffer has reached the size limit, the oldest data will be overwritten. The buffer size is configurable. To change the size, use the following commands:
+
The debug buffer is a circular buffer, once the buffer has reached the size limit, the oldest data will be overwritten.<br />The buffer size is configurable.<br />
 +
To change the size, use the following commands:
 
  set db size 4096
 
  set db size 4096
 
  set console dbuf
 
  set console dbuf

Latest revision as of 03:31, 8 August 2016


The debug buffer is a circular buffer, once the buffer has reached the size limit, the oldest data will be overwritten.
The buffer size is configurable.
To change the size, use the following commands:

set db size 4096
set console dbuf
clear db

To set-up the flow filter:

get ffilter
set ffilter src-ip / dst-ip ... (see the CLI-help for more ffilter options) (same row = AND, more rows = OR)
debug flow basic

Reproduce the issue. The timestamp resolution of the output is in tenths of a second. Stop the ffilter and then display the output with the following commands:

undebug all
get dbuf stream or get dbuf stream > tftp <host> <name-of-file>