IPI-LDP-INTERFACE
Configure enable ldp ipv4
Use this attribute to enable LDP IPv4, on a specified interface. This command enables the transmission of Hello packets through the current interface, so that LDP adjacencies and LDP sessions can be created.
Attribute Name: enable-ldp-ipv4
Attribute Type: uint8
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-ldp-ipv4><!-- operation="delete"-->
</interface>
</interfaces>
</ldp>
Command Syntax
enable-ldp ipv4
Configure name
Use this attribute to enable LDP IPv4, on a specified interface. This command enables the transmission of Hello packets through the current interface, so that LDP adjacencies and LDP sessions can be created.
Attribute Name: enable-ldp-ipv4
Attribute Type: uint8
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-ldp-ipv4><!-- operation="delete"-->
</interface>
</interfaces>
</ldp>
Command Syntax
enable-ldp ipv4 no-igp-sync
Configure enable ldp ipv6
Use this attribute to enable LDP IPv6, on a specified interface. This command enables the transmission of Hello packets through the current interface, so that LDP adjacencies and LDP sessions can be created.
Attribute Name: enable-ldp-ipv6
Attribute Type: uint8
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</enable-ldp-ipv6><!-- operation="delete"-->
</interface>
</interfaces>
</ldp>
Command Syntax
enable-ldp ipv6 (igp-sync|no-igp-sync)
Configure multicast hello disable
Use this attribute to enable multicast hello exchange on specified interfaces enabled for LDP.
Attribute Name: multicast-hello-disable
Attribute Type: uint8
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
</multicast-hello-disable><!-- operation="delete"-->
</interface>
</interfaces>
</ldp>
Command Syntax
no ldp multicast-hellos
Configure maximum pdu length
Use this attribute to specify max pdu length
Attribute Name: maximum-pdu-length
Attribute Type: uint32
Default Value: 4096
Attribute Range: 256-65535
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<maximum-pdu-length>256</maximum-pdu-length> <!-- operation="delete"-->
</interface>
</interfaces>
</ldp>
Command Syntax
ldp max-pdu-length <256-65535>
Configure ldp igp sync delay interval
Use this attribute to configure a synchronization delay, that is, a delay for notifications of LDP convergence to the IGP protocol used, which can be either IS-IS or OSPF.
Attribute Name: ldp-igp-sync-delay-interval
Attribute Type: uint32
Attribute Range: 5-60
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<ldp-igp-sync-delay-interval>5</ldp-igp-sync-delay-interval> <!-- operation="delete"-->
</interface>
</interfaces>
</ldp>
Command Syntax
mpls ldp-igp sync-delay <5-60>
Configure hello interval
Use this attribute set the hello interval to send the hello messages to peers
Attribute Name: hello-interval
Attribute Type: uint16
Default Value: 5
Attribute Range: 1-21845
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<hello-timers>
<config>
<hello-interval>1</hello-interval> <!-- operation="delete"-->
</config>
</hello-timers>
</interface>
</interfaces>
</ldp>
Command Syntax
ldp hello-interval <1-21845>
Configure hello holdtime
Use this attribute set the hello hold time as the time out value that the router waits before rejecting an adjacency
Attribute Name: hello-holdtime
Attribute Type: uint16
Default Value: 15
Attribute Range: 3-65535
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<hello-timers>
<config>
<hello-holdtime>3</hello-holdtime> <!-- operation="delete"-->
</config>
</hello-timers>
</interface>
</interfaces>
</ldp>
Command Syntax
ldp hold-time <3-65535>
Configure keepalive interval
Use this attribute to set the global value for the interval after which keep-alive packets are sent out
Attribute Name: keepalive-interval
Attribute Type: uint16
Default Value: 10
Attribute Range: 1-21845
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<session-timers>
<config>
<keepalive-interval>1</keepalive-interval> <!-- operation="delete"-->
</config>
</session-timers>
</interface>
</interfaces>
</ldp>
Command Syntax
ldp keepalive-interval <1-21845>
Configure keepalive timeout
Use this attribute to set the time period for which an LSR must wait for successive keep-alive messages from LDP peers
Attribute Name: keepalive-timeout
Attribute Type: uint16
Default Value: 30
Attribute Range: 3-65535
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<session-timers>
<config>
<keepalive-timeout>3</keepalive-timeout> <!-- operation="delete"-->
</config>
</session-timers>
</interface>
</interfaces>
</ldp>
Command Syntax
ldp keepalive-timeout <3-65535>
Configure interface advertisement mode
Use this attribute to set the label advertisement mode for an interface to either downstream-ondemand (label is sent only when requested) or downstream-unsolicited (label is sent unrequested).
Attribute Name: interface-advertisement-mode
Attribute Type: enum (downstream-unsolicited|downstream-on-demand)
Default Value: downstream-unsolicited
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<label-management>
<config>
<interface-advertisement-mode>downstream-unsolicited</interface-advertisement-mode> <!-- operation="delete"-->
</config>
</label-management>
</interface>
</interfaces>
</ldp>
Command Syntax
ldp advertisement-mode (downstream-unsolicited|downstream-on-demand)
Configure interface retention mode
Use this attribute to set the retention mode to be used for all labels exchanged via the given interface. When an LSR receives a label binding for a particular FEC (Forwarding Equivalence Class) from another LSR that is not its next hop for that FEC, it might keep track of such bindings or discard them. Use the liberal parameter to retain all labels binding to FEC received from label distribution peers, even if the LSR is not the current next-hop. Use the conservative parameter to maintain only the label bindings for valid next-hops in a LSP. Liberal label retention mode allows for quicker adaptation to routing changes, whereas conservative label retention mode requires an LSR to maintain fewer labels.
Attribute Name: interface-retention-mode
Attribute Type: enum (liberal|conservative)
Default Value: liberal
Netconf edit-config payload
<ldp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-ldp">
<interfaces>
<interface>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<label-management>
<config>
<interface-retention-mode>liberal</interface-retention-mode> <!-- operation="delete"-->
</config>
</label-management>
</interface>
</interfaces>
</ldp>
Command Syntax
ldp label-retention-mode (liberal|conservative)