Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 
Diyaa3791
Contributor

Hello PhoneBoy,

Thank you for your help and I am very sorry for my late reply. I did find a command from the script you referenced.

more $FWDIR/conf/objects.C |grep -A 500 -B 1  ':type (gateway)'| sed -n '/gateway/,/:ipaddr (/p' | grep 'ipaddr (' | sed 's/^[ \t]*//' | sed 's/\:ipaddr (//' |sed 's/)//'

 

 

(1)
Who rated this post