Difference between revisions of "Manual:Interface/List"

From MikroTik Wiki
Jump to: navigation, search
(Created page with "==Summary== <p id="shbox"><b>Sub-menu:</b> <code>/interface list</code> </p> <br /> <p> Allows to define set of interfaces for easier interface management in firewalls. </p>")
 
Line 1: Line 1:
 +
__TOC__
 +
 
==Summary==
 
==Summary==
 +
 +
Allows to define set of interfaces for easier interface management in different interface based configuration sections such as Neighbor discovery, Firewall, Bridge.
 +
 +
==Lists==
 +
 
<p id="shbox"><b>Sub-menu:</b> <code>/interface list</code>
 
<p id="shbox"><b>Sub-menu:</b> <code>/interface list</code>
 
</p>
 
</p>
<br />
 
  
<p>
+
 
Allows to define set of interfaces for easier interface management in firewalls.
+
This menu contains information about all interface lists available on the router. There are three predefined lists - <var>all</var> (contains all interfaces), <var>none</var> (contains no interfaces) and <var>dynamic</var> (contains dynamic interfaces). It is also possible to create additional interface lists.
 +
 
 +
{{Mr-arg-table-h
 +
|prop=Property
 +
|desc=Description
 +
}}
 +
 
 +
{{Mr-arg-ro-table
 +
|arg=name
 +
|type=string
 +
|desc=Name of the interface list
 +
}}
 +
 
 +
{{Mr-arg-ro-table
 +
|arg=include
 +
|type=string
 +
|desc=Defines interface list which members are included in the list. It is possible to add multiple lists separated by commas
 +
}}
 +
 
 +
{{Mr-arg-ro-table-end
 +
|arg=exclude
 +
|type=string
 +
|desc=Defines interface list which members are excluded from the list. It is possible to add multiple lists separated by commas
 +
}}
 +
 
 +
 
 +
Members are added to the interface list in the following order:
 +
#<var>include</var> members are added to the interface list
 +
#<var>exclude</var> members are removed from the list
 +
#Statically configured members are added to the list
 +
 
 +
 
 +
==Members==
 +
 
 +
<p id="shbox"><b>Sub-menu:</b> <code>/interface list member</code>
 
</p>
 
</p>
 +
 +
 +
This sub-menu contains information about statically configured interface members to each interface list. Note that dynamically added interfaces by <var>include</var> statement are not represented in this sub-menu.
 +
 +
{{Mr-arg-table-h
 +
|prop=Property
 +
|desc=Description
 +
}}
 +
 +
{{Mr-arg-ro-table
 +
|arg=interface
 +
|type=string
 +
|desc=Name of the interface
 +
}}
 +
 +
{{Mr-arg-ro-table-end
 +
|arg=list
 +
|type=string
 +
|desc=Name of the interface list
 +
}}

Revision as of 15:28, 12 February 2018

Summary

Allows to define set of interfaces for easier interface management in different interface based configuration sections such as Neighbor discovery, Firewall, Bridge.

Lists

Sub-menu: /interface list


This menu contains information about all interface lists available on the router. There are three predefined lists - all (contains all interfaces), none (contains no interfaces) and dynamic (contains dynamic interfaces). It is also possible to create additional interface lists.

Property Description
name (string) Name of the interface list
include (string) Defines interface list which members are included in the list. It is possible to add multiple lists separated by commas
exclude (string) Defines interface list which members are excluded from the list. It is possible to add multiple lists separated by commas


Members are added to the interface list in the following order:

  1. include members are added to the interface list
  2. exclude members are removed from the list
  3. Statically configured members are added to the list


Members

Sub-menu: /interface list member


This sub-menu contains information about statically configured interface members to each interface list. Note that dynamically added interfaces by include statement are not represented in this sub-menu.

Property Description
interface (string) Name of the interface
list (string) Name of the interface list