Manual:MPLS/LDP: Difference between revisions
mNo edit summary |
|||
Line 12: | Line 12: | ||
==General== | ==General== | ||
<p id="shbox"><b>Sub-menu:</b> <code>/mpls ldp</code></p> | <p id="shbox"><b>Sub-menu:</b> <code>/mpls ldp</code></p> | ||
General LDP settings. | General LDP settings. | ||
'''Properties''' | |||
{{Mr-arg-table-h | {{Mr-arg-table-h | ||
|prop=Property | |prop=Property | ||
Line 24: | Line 26: | ||
{{Mr-arg-table | {{Mr-arg-table | ||
|arg=distribute-for-default-route | |arg=distribute-for-default-route | ||
|type= | |type=yes {{!}} no | ||
|default=no | |default=no | ||
|desc=Defines whether to distribute label for default route | |desc=Defines whether to distribute label for default route. | ||
}} | }} | ||
{{Mr-arg-table | {{Mr-arg-table | ||
|arg=enabled | |arg=enabled | ||
|type= | |type=yes {{!}} no | ||
|default=yes | |default=yes | ||
|desc= | |desc=Disable or enable LDP protocol. | ||
}} | }} | ||
{{Mr-arg-table | {{Mr-arg-table | ||
|arg=hoplimit | |arg=hoplimit | ||
|type=integer | |type=integer [0..4294967295] | ||
|default=255 | |default=255 | ||
|desc=Max hop limit used for loop detection. | |desc=Max hop limit used for loop detection. Works in combination with '''loop-detect''' property. | ||
}} | }} | ||
{{Mr-arg-table | {{Mr-arg-table | ||
|arg=loop-detect | |arg=loop-detect | ||
|type= | |type=yes {{!}} no | ||
|default=no | |default=no | ||
|desc=Defines whether to run LSP loop detection | |desc=Defines whether to run LSP loop detection. Will not work correctly if not enabled on all LSRs. Should be used only on non-TTL networks such as ATM. | ||
}} | }} | ||
Line 54: | Line 56: | ||
|type=IP | |type=IP | ||
|default=0.0.0.0 | |default=0.0.0.0 | ||
|desc=Unique label switching router's ID. If set to | |desc=Unique label switching router's ID. If set to '''0.0.0.0''' highest IP address on the router is used. | ||
}} | }} | ||
{{Mr-arg-table | {{Mr-arg-table | ||
|arg=path-vector-limit | |arg=path-vector-limit | ||
|type=integer | |type=integer[0..4294967295] | ||
|default=255 | |default=255 | ||
|desc=Max path vector limit used for loop detection. | |desc=Max path vector limit used for loop detection. Works in combination with '''loop-detect''' property. | ||
}} | }} | ||
Line 68: | Line 70: | ||
|type=IP | |type=IP | ||
|default=0.0.0.0 | |default=0.0.0.0 | ||
|desc=Specifies LDP session connections origin address and also advertise this address as transport address to LDP neighbors. If set to | |desc=Specifies LDP session connections origin address and also advertise this address as transport address to LDP neighbors. If set to '''0.0.0.0''' highest IP address on the router is used. | ||
}} | }} | ||
{{Mr-arg-table | {{Mr-arg-table-end | ||
|arg=use-explicit-null | |arg=use-explicit-null | ||
|type= | |type=yes {{!}} no> | ||
|default=no | |default=no | ||
|desc=Whether to distribute explicit-null label bindings. | |desc=Whether to distribute explicit-null label bindings. | ||
}} | }} | ||
==Interface== | ==Interface== |
Latest revision as of 10:16, 14 November 2012
Applies to RouterOS: v3, v4 +
Summary
MikroTik RouterOS implements Label Distribution Protocol (RFC 3036, RFC 5036) for IPv4. LDP is a protocol defined for distributing labels. It is the set of procedures and messages by which Label Switched Routers (LSRs) establish Label Switched Paths (LSPs) through a network by mapping network-layer routing information directly to data-link layer switched paths.
General
Sub-menu: /mpls ldp
General LDP settings.
Properties
Property | Description |
---|---|
distribute-for-default-route (yes | no; Default: no) | Defines whether to distribute label for default route. |
enabled (yes | no; Default: yes) | Disable or enable LDP protocol. |
hoplimit (integer [0..4294967295]; Default: 255) | Max hop limit used for loop detection. Works in combination with loop-detect property. |
loop-detect (yes | no; Default: no) | Defines whether to run LSP loop detection. Will not work correctly if not enabled on all LSRs. Should be used only on non-TTL networks such as ATM. |
lsr-id (IP; Default: 0.0.0.0) | Unique label switching router's ID. If set to 0.0.0.0 highest IP address on the router is used. |
path-vector-limit (integer[0..4294967295]; Default: 255) | Max path vector limit used for loop detection. Works in combination with loop-detect property. |
transport-address (IP; Default: 0.0.0.0) | Specifies LDP session connections origin address and also advertise this address as transport address to LDP neighbors. If set to 0.0.0.0 highest IP address on the router is used. |
use-explicit-null (yes | no>; Default: no) | Whether to distribute explicit-null label bindings. |
Interface
Sub-menu: /mpls ldp interface
List of interfaces that connects Label Switching routers.
Properties:
Property | Description |
---|---|
accept-dynamic-neighbors (yes | no; Default: yes) | Defines whether to discover neighbors dynamically or use only statically configured in LDP neighbors menu |
comment (string; Default: ) | Short description of the item |
disabled (yes | no; Default: no) | Defines whether item is ignored or used |
hello-interval (time; Default: 5s) | The interval between hello packets that the router sends out this interface. |
hold-time (time; Default: 15s) | Specifies the interval after which a neighbor is declared as not reachable. |
transport-address (IP; Default: 0.0.0.0) | Used transport address if differs from general settings. If set to 0.0.0.0 transport address from general settings is used. |
interface (string; Default: ) | Name of the interface on which to run LDP |
Neighbors
Sub-menu: /mpls ldp neighbor
Properties
Property | Description |
---|---|
comment (string; Default: ) | Short description of the item |
disabled (yes | no; Default: no) | Defines whether item is ignored or used |
send-targeted (yes | no; Default: yes) | Specifies whether to send targeted hellos, used for targeted (not directly connected) LDP sessions. |
transport (IP; Default: ) | Transport address used by remote neighbor. |
Read-only properties
Property | Description |
---|---|
addresses (IP[,IP[,...]]) | List of all IP addresses on LDP neighbor |
dynamic (yes | no) | Shows whether item is dynamically created |
local-transport (IP) | Transport address used to send messages to the neighbor. |
operational (yes | no) | Shows whether item is running |
peer (LSR-ID:integer) | Shows remote neighbor's LSR ID and label space. |
sending-targeted-hello (yes | no) | Shows whether targeted hellos are sent to the neighbor. |
vpls (yes | no) | Shows whether the neighbor is used for VPLS tunnel. |
Accept Filters
Sub-menu: /mpls ldp accept-filter
List of label bindings which should be accepted from LDP neighbors.
Properties:
Property | Description |
---|---|
accept (yes | no; Default: yes) | Whether to accept label bindings from the neighbors for specified prefix. |
comment (string; Default: ) | Short description of the item |
disabled (yes | no; Default: no) | Defines whether item is ignored or used |
neighbor (all | IP; Default: all) | Neighbor to which this filter applies. |
prefix (IP/Mask; Default: 0.0.0.0/0) |
Advertise Filters
Sub-menu: /mpls ldp advertise-filter
List of label bindings which should be advertised to LDP neighbors.
Properties:
Property | Description |
---|---|
accept (yes | no; Default: yes) | Whether to advertise label bindings to the neighbors for specified prefix. |
comment (string; Default: ) | Short description of the item |
disabled (yes | no; Default: no) | Defines whether item is ignored or used |
neighbor (all | IP; Default: all) | Neighbor to which this filter applies. |
prefix (IP/Mask; Default: 0.0.0.0/0) |
[ Top | Back to Content ]