router/mpls/ldp

Configures MPLS LDP.

Resource URIs

URI Description
<base_URI>/config/running/router/mpls/ldp Configures MPLS LDP.

Following are the supported URIs.

GET URIs Description
<base_URI>/config/running/router/mpls/ldp Configures MPLS LDP.
<base_URI>/config/running/router/mpls/ldp/load-sharing Number of load-sharing paths.
<base_URI>/config/running/router/mpls/ldp/hello-interval-link Global link hello interval.
<base_URI>/config/running/router/mpls/ldp/hello-interval-target Target interval in seconds. Range is 1-32767. Default is 15.
<base_URI>/config/running/router/mpls/ldp/hello-timeout-link IDP time out in seconds. Range is 2-65535. Default is 15.
<base_URI>/config/running/router/mpls/ldp/hello-timeout-target IDP target time out in seconds. Range is 2-65535. Default is 45.
<base_URI>/config/running/router/mpls/ldp/ka-interval Keep alive interval.
<base_URI>/config/running/router/mpls/ldp/ka-int-count Ka Interval in seconds. Range is 1-65535. Default is 6.
<base_URI>/config/running/router/mpls/ldp/ka-timeout Keep alive timeout.
<base_URI>/config/running/router/mpls/ldp/filter-fec-in Apply filtering on inbound FECs.
<base_URI>/config/running/router/mpls/ldp/filter-fec-out Apply filtering on inbound FECs.
<base_URI>/config/running/router/mpls/ldp/advertise-fec Prefix-list specifying controls on destination prefixes.
<base_URI>/config/running/router/mpls/ldp/fec-128-for-auto-discovered Use LDP FEC 128 for auto-discovered VPLS peers.
<base_URI>/config/running/router/mpls/ldp/lsr-id LDP LSR ID.
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip}/filter-fec-out Apply filtering on outbound FECs.
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip}/key Enable TCP-MD5 authentication.
<base_URI>/config/running/router/mpls/ldp/rx-label-silence-timer Receive label silence time.
<base_URI>/config/running/router/mpls/ldp/graceful-restart Enter MPLS LDP GR Config mode.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/helper-only Helper only mode.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/max-neighbor-reconnect-time Maximum time to wait for neighbor to reconnect.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/max-neighbor-recovery-time Maximum time to wait for neighbor to recover.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/reconnect-time Session reconnect time.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/recovery-time Recovery time.
<base_URI>/config/running/router/mpls/ldp/eol Enter MPLS LDP EOL Config mode.
<base_URI>/config/running/router/mpls/ldp/eol/tx-label-silence-timer Transmit label silence timer.
<base_URI>/config/running/router/mpls/ldp/eol/notification-timer Notification timer.
<base_URI>/config/running/router/mpls/ldp/tunnel-metric LDP tunnel metric value.
<base_URI>/config/running/router/mpls/ldp/label-withdrawal-delay LDP Label Withdrawal Delay.
POST URIs Payload Description
<base_URI>/config/running/router/mpls <ldp /> Configures MPLS protocol.
<base_URI>/config/running/router/mpls/ldp <session><ldp-session-ip>{req_val}</ldp-session-ip></session> Define LDP Session.
<base_URI>/config/running/router/mpls/ldp <targeted-peer><ldp-targeted-peer-ip>{req_val}</ldp-targeted-peer-ip></targeted-peer> IP address of the targeted peer.
<base_URI>/config/running/router/mpls/ldp <graceful-restart /> Enter MPLS LDP GR Config mode.
<base_URI>/config/running/router/mpls/ldp <eol /> Enter MPLS LDP EOL Config mode.
PATCH URIs Payload Description
<base_URI>/config/running/router/mpls/ldp/load-sharing <load-sharing>{uint32}</load-sharing> Number of load-sharing paths.
<base_URI>/config/running/router/mpls/ldp/hello-interval-link <hello-interval-link>{uint32}</hello-interval-link> Target interval in seconds. Range is 1-32767. Default is 15.
<base_URI>/config/running/router/mpls/ldp/hello-interval-target <hello-interval-target>{uint32}</hello-interval-target> IDP time out in seconds. Range is 2-65535. Default is 15.
<base_URI>/config/running/router/mpls/ldp/hello-timeout-link <hello-timeout-link>{uint32}</hello-timeout-link> IDP target time out in seconds. Range is 2-65535. Default is 45.
<base_URI>/config/running/router/mpls/ldp/hello-timeout-target <hello-timeout-target>{uint32}</hello-timeout-target> Keep alive interval.
<base_URI>/config/running/router/mpls/ldp/ka-interval <ka-interval>{uint32}</ka-interval> Ka Interval in seconds. Range is 1-65535. Default is 6.
<base_URI>/config/running/router/mpls/ldp/ka-int-count <ka-int-count>{uint32}</ka-int-count> Ka interval count in seconds. Range is 1-65535. Default is 6.
<base_URI>/config/running/router/mpls/ldp/ka-timeout <ka-timeout>{uint32}</ka-timeout> Ka interval time out in seconds. Rang is 1-65535.
<base_URI>/config/running/router/mpls/ldp/filter-fec-in <filter-fec-in>{string}</filter-fec-in> Apply filtering on inbound FECs.
<base_URI>/config/running/router/mpls/ldp/filter-fec-out <filter-fec-out>{string}</filter-fec-out> Apply filtering on outbound FECs.
<base_URI>/config/running/router/mpls/ldp/advertise-fec <advertise-fec>{string}</advertise-fec> Prefix-list specifying controls on destination prefixes.
<base_URI>/config/running/router/mpls/ldp/fec-128-for-auto-discovered <fec-128-for-auto-discovered /> Use LDP FEC 128 for auto-discovered VPLS peers.
<base_URI>/config/running/router/mpls/ldp/lsr-id <lsr-id>{inet:ipv4-address}</lsr-id> Set IP address to be used as LSR id for LDP.
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip} <session><filter-fec-out>{string}</filter-fec-out></session> Apply filtering on outbound FECs.
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip} <session><key>{string}</key></session> Enable TCP-MD5 authentication.
<base_URI>/config/running/router/mpls/ldp/rx-label-silence-timer <rx-label-silence-timer>{uint32}</rx-label-silence-timer> Receive label silence time.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/helper-only <helper-only /> Helper only mode.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/max-neighbor-reconnect-time <max-neighbor-reconnect-time>{uint32}</max-neighbor-reconnect-time> Maximum time to wait for neighbor to reconnect.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/max-neighbor-recovery-time <max-neighbor-recovery-time>{uint32}</max-neighbor-recovery-time> Maximum time to wait for neighbor to recover.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/reconnect-time <reconnect-time>{uint32}</reconnect-time> Session reconnect time.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/recovery-time <recovery-time>{uint32}</recovery-time> Recovery time.
<base_URI>/config/running/router/mpls/ldp/eol/tx-label-silence-timer <tx-label-silence-timer>{uint32}</tx-label-silence-timer> Transmit label silence timer.
<base_URI>/config/running/router/mpls/ldp/eol/notification-timer <notification-timer>{uint32}</notification-timer> Notification timer.
<base_URI>/config/running/router/mpls/ldp/tunnel-metric <tunnel-metric>{uint32}</tunnel-metric> DP tunnel metric value.
<base_URI>/config/running/router/mpls/ldp/label-withdrawal-delay <label-withdrawal-delay>{uint32}</label-withdrawal-delay> LDP Label Withdrawal Delay.
PUT URIs Payload Description
<base_URI>/config/running/router/mpls/ldp/load-sharing <load-sharing>{uint32}</load-sharing> Number of load-sharing paths.
<base_URI>/config/running/router/mpls/ldp/hello-interval-link <hello-interval-link>{uint32}</hello-interval-link> IDP interval in seconds. Range is 1-32767. Ddefault is 5.
<base_URI>/config/running/router/mpls/ldp/hello-interval-target <hello-interval-target>{uint32}</hello-interval-target> Target interval in seconds. Range is 1-32767. Default is 15.
<base_URI>/config/running/router/mpls/ldp/hello-timeout-link <hello-timeout-link>{uint32}</hello-timeout-link> Time out interval in seconds. Range is 2-65535. Default is 15.
<base_URI>/config/running/router/mpls/ldp/hello-timeout-target <hello-timeout-target>{uint32}</hello-timeout-target> Targeted time out in seconds. Range is 2-65535. Default is 45.
<base_URI>/config/running/router/mpls/ldp/ka-interval <ka-interval>{uint32}</ka-interval> Ka Interval in seconds. Range is 1-65535. Default is 6.
<base_URI>/config/running/router/mpls/ldp/ka-int-count <ka-int-count>{uint32}</ka-int-count> Ka interval count in seconds. Range is 1-65535. Default is 6.
<base_URI>/config/running/router/mpls/ldp/ka-timeout <ka-timeout>{uint32}</ka-timeout> Ka interval time out in seconds. Rang is 1-65535.
<base_URI>/config/running/router/mpls/ldp/filter-fec-in <filter-fec-in>{string}</filter-fec-in> Apply filtering on inbound FECs.
<base_URI>/config/running/router/mpls/ldp/filter-fec-out <filter-fec-out>{string}</filter-fec-out> Apply filtering on outbound FECs.
<base_URI>/config/running/router/mpls/ldp/advertise-fec <advertise-fec>{string}</advertise-fec> Prefix-list specifying controls on destination prefixes.
<base_URI>/config/running/router/mpls/ldp/fec-128-for-auto-discovered <fec-128-for-auto-discovered /> Use LDP FEC 128 for auto-discovered VPLS peers.
<base_URI>/config/running/router/mpls/ldp/lsr-id <lsr-id>{inet:ipv4-address}</lsr-id> Set IP address to be used as LSR id for LDP.
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip}/filter-fec-out <filter-fec-out>{string}</filter-fec-out> Apply filtering on outbound FECs.
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip}/key <key>{string}</key> Enable TCP-MD5 authentication.
<base_URI>/config/running/router/mpls/ldp/rx-label-silence-timer <rx-label-silence-timer>{uint32}</rx-label-silence-timer> Receive label silence time.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/helper-only <helper-only /> Helper only mode.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/max-neighbor-reconnect-time <max-neighbor-reconnect-time>{uint32}</max-neighbor-reconnect-time> Maximum time to wait for neighbor to reconnect.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/max-neighbor-recovery-time <max-neighbor-recovery-time>{uint32}</max-neighbor-recovery-time> Maximum time to wait for neighbor to recover.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/reconnect-time <reconnect-time>{uint32}</reconnect-time> Session reconnect time.
<base_URI>/config/running/router/mpls/ldp/graceful-restart/recovery-time <recovery-time>{uint32}</recovery-time> Recovery time.
<base_URI>/config/running/router/mpls/ldp/eol/tx-label-silence-timer <tx-label-silence-timer>{uint32}</tx-label-silence-timer> Transmit label silence timer.
<base_URI>/config/running/router/mpls/ldp/eol/notification-timer <notification-timer>{uint32}</notification-timer> Notification timer.
<base_URI>/config/running/router/mpls/ldp/tunnel-metric <tunnel-metric>{uint32}</tunnel-metric> DP tunnel metric value.
<base_URI>/config/running/router/mpls/ldp/label-withdrawal-delay <label-withdrawal-delay>{uint32}</label-withdrawal-delay> LDP Label Withdrawal Delay.
DELETE URIs
<base_URI>/config/running/router/mpls/ldp
<base_URI>/config/running/router/mpls/ldp/load-sharing
<base_URI>/config/running/router/mpls/ldp/hello-interval-link
<base_URI>/config/running/router/mpls/ldp/hello-interval-target
<base_URI>/config/running/router/mpls/ldp/hello-timeout-link
<base_URI>/config/running/router/mpls/ldp/hello-timeout-target
<base_URI>/config/running/router/mpls/ldp/ka-interval
<base_URI>/config/running/router/mpls/ldp/ka-int-count
<base_URI>/config/running/router/mpls/ldp/ka-timeout
<base_URI>/config/running/router/mpls/ldp/filter-fec-in
<base_URI>/config/running/router/mpls/ldp/filter-fec-out
<base_URI>/config/running/router/mpls/ldp/advertise-fec
<base_URI>/config/running/router/mpls/ldp/fec-128-for-auto-discovered
<base_URI>/config/running/router/mpls/ldp/lsr-id
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip}
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip}/filter-fec-out
<base_URI>/config/running/router/mpls/ldp/session/{ldp-session-ip}/key
<base_URI>/config/running/router/mpls/ldp/targeted-peer/{ldp-targeted-peer-ip}
<base_URI>/config/running/router/mpls/ldp/rx-label-silence-timer
<base_URI>/config/running/router/mpls/ldp/graceful-restart
<base_URI>/config/running/router/mpls/ldp/graceful-restart/helper-only
<base_URI>/config/running/router/mpls/ldp/graceful-restart/max-neighbor-reconnect-time
<base_URI>/config/running/router/mpls/ldp/graceful-restart/max-neighbor-recovery-time
<base_URI>/config/running/router/mpls/ldp/graceful-restart/reconnect-time
<base_URI>/config/running/router/mpls/ldp/graceful-restart/recovery-time
<base_URI>/config/running/router/mpls/ldp/eol
<base_URI>/config/running/router/mpls/ldp/eol/tx-label-silence-timer
<base_URI>/config/running/router/mpls/ldp/eol/notification-timer
<base_URI>/config/running/router/mpls/ldp/tunnel-metric
<base_URI>/config/running/router/mpls/ldp/label-withdrawal-delay

Parameters

ldp-session-ip
efine LDP peer ip address.
ldp-targeted-peer-ip
Peer IP Address.
load-sharing
Number of load-sharing paths.
hello-interval-link
In seconds {1-32767, default 5}.
hello-interval-target
In seconds {1-32767, default 15}.
hello-timeout-link
In seconds {2-65535, default 15}.
hello-timeout-target
In seconds {2-65535, default 45}.
ka-interval
In seconds {1-65535 default 6}.
ka-int-count
In seconds {1-65535 default 6}.
ka-timeout
In seconds {1-65535}.
filter-fec-in
Apply filtering on inbound FECs.
filter-fec-out
Apply filtering on inbound FECs.
advertise-fec
In seconds {1-65535}.
lsr-id
IP address to be used as LSR id for LDP.
filter-fec-out
Apply filtering on outbound FECs.
rx-label-silence-timer
Receive label silence time {100-60000 ms}. The default is 1000.
key
Enable TCP-MD5 authentication.
rx-label-silence-timer
Receive label silence time {100-60000 ms}. The default value is 1000.
max-neighbor-reconnect-time
Maximum time to wait for neighbor to reconnect {60-300 sec}. The default value is 120.
max-neighbor-recovery-time
Maximum time to wait for neighbor to recover {60-3600 sec}. The default value is 120.
reconnect-time
Session reconnect time {60-300 sec}. The default value is 120.
recovery-time
Recovery time {60-3600 sec}. The default value is 120.
tx-label-silence-timer
Transmit label silence timer {100-60000 msec}.The default value is 1000.
notification-timer
Notification timer {100-120000 msec}. The default value is 60000.
tunnel-metric
LDP tunnel metric value {1-65535; default 0}.
label-withdrawal-delay
The range is from 0 to 300. The default value is 60.

Usage Guidelines

GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Examples

URI

The following example uses the GET option.

http://host:80/rest/config/running/router/mpls/ldp

None

<ldp xmlns="urn:brocade.com:mgmt:brocade-mpls" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/router/mpls/ldp">
</ldp>

URI

The following example uses the POST option to configure an LDP.

http://host:80/rest/config/running/router/mpls

<ldp />

None

URI

The following example uses the DELETE option to remove the LDP configuration.

http://host:80/rest/config/running/router/mpls/ldp

None

None