Manual:MPLS/LDP: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
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>
<br />
 


General LDP settings.
General LDP settings.


<b>Properties:</b>
 
'''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=<nowiki>yes | no</nowiki>
|type=yes {{!}} no
|default=no
|default=no
|desc=Defines whether to distribute label for default route or not.
|desc=Defines whether to distribute label for default route.
}}
}}


{{Mr-arg-table
{{Mr-arg-table
|arg=enabled
|arg=enabled
|type=<nowiki>yes | no</nowiki>
|type=yes {{!}} no
|default=yes
|default=yes
|desc=Starts LDP protocol.
|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=<nowiki>yes | no</nowiki>
|type=yes {{!}} no
|default=no
|default=no
|desc=Defines whether to run LSP loop detection or not. Will not work correctly if not enabled on all LSRs. Should be used only on non-TTL networks such as ATM.
|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 <b>0.0.0.0</b> highest IP address on the router is used.
|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 <b>0.0.0.0</b> highest IP address on the router is used.
|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=<nowiki>yes | no</nowiki>
|type=yes {{!}} no>
|default=no
|default=no
|desc=Whether to distribute explicit-null label bindings.
|desc=Whether to distribute explicit-null label bindings.
}}
}}
</table>


==Interface==
==Interface==

Latest revision as of 08:16, 14 November 2012

Version.png

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)

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 ]