[Sidewinder] Command to export objects, rules, proxies, groups, and etc

Sidewinder moderated discussion list sidewinder at adeptech.com
Mon Jan 11 13:52:39 EST 2010


To get everything he asked for on a 6.x sidewinder;
% cf proxy query > filename1
% cf acl query > filename2
% cf ipfilter query > filename3
% cf appfilter query > filename4

I do this regularly (most recently this past weekend!) for Disaster Recovery tests where the hardware is different in the DR location and thus config backups don't really work.  (When using this methodology to import the policy on the other sidewinder, you'll have to edit some of the duplicate default stuff out - cf will barf on the stuff that already exists.)

You'll have to manually massage the files if you want them in a pretty excel/csv format.  Otherwise, if you're just looking for active rules and/or network objects in tab-delimited format, the cf acl export works great.

spike

-----Original Message-----
From: sidewinder-bounces at adeptech.com [mailto:sidewinder-bounces at adeptech.com] On Behalf Of Sidewinder moderated discussion list
Sent: Thursday, January 07, 2010 5:09 PM
To: sidewinder at adeptech.com
Subject: Re: [Sidewinder] Command to export objects, rules, proxies, groups, and etc

In sw 7 use cf policy:

cf policy export [type=<rule|net_object>]

-Kyle

>>> On 1/7/2010 at 15:28, in message <00d401ca8fe8$ac725880$05570980$@com>,
Sidewinder moderated discussion list <sidewinder at adeptech.com> wrote: 
> I'm running 70100 and when I do a man cf_acl I don't see a export command??
> 
> -----Original Message-----
> From: sidewinder-bounces at adeptech.com
> [mailto:sidewinder-bounces at adeptech.com] On Behalf Of Sidewinder moderated
> discussion list
> Sent: Thursday, January 07, 2010 12:31 PM
> To: sidewinder at adeptech.com
> Subject: Re: [Sidewinder] Command to export objects, rules, proxies, groups,
> and etc
> 
> excerpt from "man cf_acl":
> 
> cf acl export [type=<active_rules|net_objects>]
> 
> 
> So, run:
> cf acl export active_rules > act_rules.csv
> cf acl export net_objects > net_objects.csv
> 
> 
> -Kyle
> 
>>>> On 1/7/2010 at 09:35, in message
> <7C88E864838F4E4FA45F5D14F596D1440C83AF06 at useagan1500p.GLOBAL.ECOLAB.CORP>,
> Sidewinder moderated discussion list <sidewinder at adeptech.com> wrote: 
>> Hello All-
>> I am running Sidewinder 6.1.2.06. I have been looking for command to
>> export objects, proxy and IP filter rules, proxies, groups, and etc to
>> text file/s or CSV file.
>> 
>> I would appreciate if someone can help me out.
>> 
>> Thanks a lot
>> 
>> Bo Ghobadi
>> 
>> 
>> 
>> CONFIDENTIALITY NOTICE: 
>> This e-mail communication and any attachments may contain proprietary and 
>> privileged information for the use of the designated recipients named
> above. 
>> Any unauthorized review, use, disclosure or distribution is prohibited. 
>> If you are not the intended recipient, please contact the sender by reply 
>> e-mail and destroy all copies of the original message.
>> 
>> _______________________________________________
>> Sidewinder mailing list
>> Sidewinder at adeptech.com
>> http://mail.adeptech.com/mailman/listinfo/sidewinder
> 
> 
> This email message is for the sole use of the intended recipient(s)
> and may contain confidential and privileged information. Any
> unauthorized review, use, disclosure or distribution is prohibited. If
> you are not the intended recipient, please contact the sender by reply
> email and delete the original message.
> _______________________________________________
> Sidewinder mailing list
> Sidewinder at adeptech.com
> http://mail.adeptech.com/mailman/listinfo/sidewinder
> 
> _______________________________________________
> Sidewinder mailing list
> Sidewinder at adeptech.com
> http://mail.adeptech.com/mailman/listinfo/sidewinder


_______________________________________________
Sidewinder mailing list
Sidewinder at adeptech.com
http://mail.adeptech.com/mailman/listinfo/sidewinder
NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.



More information about the Sidewinder mailing list