Skip to content
Search…
Search
Quick links
Unanswered topics
Active topics
Search
FAQ
Active topics
Active topics
Forum
Quick links
Unanswered topics
Active topics
Search
FAQ
Active topics
Active topics
Forum
Search…
Search
Register
Login
Remember me
MikroTik
Community discussions
Announcements
RouterOS
Beginner Basics
General
Forwarding Protocols
Wireless Networking
Scripting
Virtualization
Useful user articles
RouterOS beta
Other topics
The Dude
RouterBOARD hardware
The User Manager
SwOS
Training
Containers
3rd party tools
Home
Forum index
Search
Search found 3 matches
by
jayhern
Fri May 08, 2015 10:00 pm
Forum:
General
Topic:
Using Internal ID to reference original parameter
Replies:
1
Views:
1226
Re: Using Internal ID to reference original parameter
I found the syntax.
:foreach item in [/ip firewall address-list find where list="bogons"] do {
# String output can be parsed for id, address,disabled,dynamic, or list
:put [/ip firewall address-list get $item ];
}
Jump to post
by
jayhern
Fri May 08, 2015 8:51 pm
Forum:
General
Topic:
Using Internal ID to reference original parameter
Replies:
1
Views:
1226
Using Internal ID to reference original parameter
Can I get a value using the internal ID such as that used in this foreach loop?
:foreach IID in [/ip firewall address-list find list=bogons ] do {
:log [/ip firewall address-list get $IID list ]
}
I would like to be able to log the name of the list an action was performed on.
Jump to post
by
jayhern
Sun Jul 27, 2014 5:11 pm
Forum:
General
Topic:
Feature Request: OpenVPN [ovpn] udp tunnels
Replies:
249
Views:
143949
Re: Feature Request: OpenVPN [ovpn] udp tunnels
over 4 years and no comment from Mikrotik??
Jump to post
Sort by
All results
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Author
Post time
Forum
Topic title
Post subject
Ascending
Descending
Go to advanced search
Announcements
RouterOS
Beginner Basics
General
Forwarding Protocols
Wireless Networking
Scripting
Virtualization
Useful user articles
RouterOS beta
Other topics
The Dude
RouterBOARD hardware
The User Manager
SwOS
Training
Containers
3rd party tools
Home
Forum index
Search
×