Рет қаралды 6,775
proto - Protocol number.
addr - IP address of the packet(s), be it a destination or/and a source.
saddr - IP source address of the packet(s).
daddr - IP destination address of the packet(s).
port - Source or/and destination port in the packet(s).
sport - Source port of the packet(s).
dport - Destination port of the packet(s).
1:- diagnose debug disable (To disable debug)
2:- diagnose debug reset (Reset the filter)
3:- diagnose debug flow filter ( Show the active filter for the flow debug )
4:- diagnose debug flow filter addr X.X.X.X ( selet IP address for log)
5:- diagnose debug flow filter port 80 (Set port no )
6:- diagnose debug flow filter daddr (Set Destination IP)
7:- diagnose debug flow show function-name enable (Show function names responsible for each step in processing)
8:- diagnose debug flow show ipprobe enable
9:- diagnose debug flow trace start 100 ( Actually start the debug with optional number to limit number of packets traced.)
10:- diagnose debug enable (enable the debug)
11:- diagnose debug disable (To disable debug)
Not mendatory:
diagnose debug filter clear ( Remove any filtering of the debug output set)