# Multiprotocol Label Switching - Label Distribution Protocol (MPLS LDP)

# URL

frinx-openconfig-network-instance:network-instances/network-instance=default/mpls/signaling-protocols/ldp

# OPENCONFIG YANG

YANG models

extensions to MPLS YANG model

{
    "ldp": {
        "global": {
            "config": {
                "frinx-mpls-ldp-extension:enabled": true|false
            }
        },
        "interface-attributes": {
            "interface": [
                {
                    "interface-id": "",
                    "config": {
                        "interface-id": ""
                    }
                }
            ]
        }
    }
}

# OS Configuration Commands

# Cisco IOS XR 5.3.4

# CLI

mpls ldp
 interface 
  • "enabled" MUST be set to true when any ldp-configuration is pushed
  • "enabled" set to false, will ignore any additional configuration in the PUT request and will result in 'no mpls ldp'
# Unit

Link to github : xr-unit