You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

LDP Instance

MikroTik RouterOS implements Label Distribution Protocol (RFC 3036, RFC 5036 and RFC 7552) for IPv4 and IPv6 address families. LDP is a protocol that performs the set of procedures and exchange 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.


Sub-menu: /mpls

Properties

PropertyDescription
afi (ip | ipv6; Default: )For which address family routes to do label mapping.
comments (string; Default: )Short description of the entry
disabled (yes | no; Default: no)
distribute-for-default (yes | no; Default: no)Defines whether to map label for the default route.
hop-limit (integer[0..255]; Default: )Max hop limit used for loop detection. Works in combination with loop-detect property.
loop-detect (yes | no; Default: )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-idUnique label switching router's ID.
path-vector-limitMax path vector limit used for loop detection. Works in combination with loop-detect property.
transport-addressesSpecifies LDP session connections origin addresses and also advertise these addresses as transport address to LDP neighbors.
use-explicit-null (yes | no; Default: no)Whether to distribute explicit-null label bindings.
vrf (name; Default: main)Name of the VRF table this instance will operate on.


Interface

Sub-menu: /mpls ldp interface



PropertyDescription
afi (ip | ipv6; Default: )Address families that can be used by LDP transport.
accept-dynamic-neighbors (yes | no; Default:)Defines whether to discover neighbors dynamically or use only statically configured in LDP neighbors menu
comments (string; Default: )Short description of the entry
disabled (yes | no; Default: no)
hello-interval (string; Default: )The interval between hello packets that the router sends out on specified interface/s. Default value is 5s.
hold-time (string; Default: )Specifies the interval after which a neighbour discovered on the interface is declared as not reachable. Default value is 15s.
interface (string; Default: )Name of the interface or interface list where LDP will be listening.
transport-addresses (List of IPs; Default: )Used transport addresses if differs from LDP Instance settings.


Neighbors

Sub-menu: /mpls ldp neighbor


This

Accept Filter

Sub-menu: /mpls ldp accept-filter


This


Advertise Filter

Sub-menu: /mpls ldp advertise-filter


This

Local Mapping

Sub-menu: /mpls local-mapping


This sub-menu shows labels bound to the routes locally in the router. In this menu also static mappings can be configured if there is no intention to use LDP dynamically.


Properties

PropertyDescription
comments (string; Default: )Short description of the entry
disabled (yes | no; Default: no)
dst-address (IP/Mask; Default: )Destination prefix the label is assigned to.
label (integer[0..1048576] | alert | expl-null | expl-null6 | impl-null | none; Default: )Label number assigned to destination.
vrf (name; Default: main)Name of the VRF table this mapping belongs to.


Read-only Properties

PropertyDescription
adv-path ()
inactive (yes | no)Whether binding is active and can be selected as candidate for forwarding.
dynamic (yes | no)Whether entry was dynamically added
egress (yes | no)
gateway (yes | no)Whether destination is reachable through the gateway.
local (yes | no)Whether destination is locally reachable on the router
peers (IP:label_space)IP address and label space of the peer to which this entry was advertised.

Remote Mapping

Sub-menu: /mpls remote-mapping


Sub-menu shows label bindings for routes received from other routers. Static mapping can be configured if there is no intention to use LDP dynamically. This table is used to build Forwarding Table

Properties

PropertyDescription
comments (string; Default: )Short description of the entry
disabled (yes | no; Default: no)
dst-address (IP/Mask; Default: )Destination prefix the label is assigned to.
label (integer[0..1048576] | alert | expl-null | expl-null6 | impl-null | none; Default: )Label number assigned to destination.
nexthop (IP; Default:)
vrf (name; Default: main)Name of the VRF table this mapping belongs to.


Read-only Properties

PropertyDescription
inactive (yes | no)Whether binding is active and can be selected as candidate for forwarding.
dynamic (yes | no)Whether entry was dynamically added
path (string)
  • No labels