Manual:MPLS/LDP

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