How to do packet capture in SRX? All commands at once.
How to do packet capture in SRX? All commands at once.
If you would to understand them then click here
>configure
set security flow traceoptions file capin
show | compare
commit check
commit
run clear log capin (3-4 times)
Ask the user to initiate the traffic, then you can check with below command:
run show log capin
Delete security flow traceoptions
If you would to understand them then click here
>configure
set security flow traceoptions file capin
set
security flow traceoptions file size 2m
set
security flow traceoptions flag basic-datapath
set
security flow traceoptions packet-filter p1 source-prefix 192.168.1.5
set
security flow traceoptions packet-filter p1 destination-prefix 8.8.8.8
For return traffic
set
security flow traceoptions packet-filter p2 source-prefix 8.8.8.8
set security flow traceoptions packet-filter p2
destination-prefix 192.168.1.5show | compare
commit check
commit
run clear log capin (3-4 times)
Ask the user to initiate the traffic, then you can check with below command:
run show log capin
Delete security flow traceoptions
0 comments:
Post a Comment