Community discussions

MikroTik App
 
mycket
just joined
Topic Author
Posts: 6
Joined: Tue Sep 07, 2010 11:39 pm

Get sa-src-address

Mon Oct 04, 2010 11:24 am

Hello,

I cant figure out how to read the sa-src-address and src-address from a IPSec Policy.

/ip ipsec policy print shows everything. But i only need the src-addresses to compare them with others.
Can anyone help?

Thanks
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Get sa-src-address

Mon Oct 04, 2010 12:18 pm

:local saSrc [/ip ipsec policy get [find comment="myComment"] sa-src-address ];
 
mycket
just joined
Topic Author
Posts: 6
Joined: Tue Sep 07, 2010 11:39 pm

Re: Get sa-src-address

Mon Oct 04, 2010 3:29 pm

It works :D

Thanks for your help

Who is online

Users browsing this forum: No registered users and 52 guests