Configuring LDP Graceful Restart
Configuring LDP Graceful Restart
Configuring LDP Graceful Restart
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mplsldpLDP": {
"attributes": {
"adminSt": "enabled"
},
"children": [
{
"mplsldpGr": {
"attributes": {
"graceful": "yes"
}}}]}}]}}
{
imdata:[]
}
<System>
<ldp-items>
<adminSt>enabled</adminSt>
<gr-items>
<graceful>true</graceful>
</gr-items>
</ldp-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
mpls ldp configuration
graceful-restart
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mplsldpLDP | sys/ldp |
mplsldpGr | sys/ldp/gr |
mplsldpLDP Properties
The following table contains information about the mplsldpLDP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | nw:AdminSt (scalar:Enum8) | The administrative state of the object or policy. | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
mplsldpGr Properties
The following table contains information about the mplsldpGr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
graceful | scalar:Bool | The graceful property configures LDP graceful restart | SELECTION: true or false DEFAULT: true |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting LDP Graceful Restart
Deleting LDP Graceful Restart
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mplsldpLDP": {
"attributes": {
"adminSt": "enabled"
},
"children": [
{
"mplsldpGr": {
"attributes": {
"graceful": "no"
}}}]}}]}}
{
imdata:[]
}
<System>
<ldp-items>
<adminSt>enabled</adminSt>
<gr-items>
<graceful>false</graceful>
</gr-items>
</ldp-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
mpls ldp configuration
no graceful-restart
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mplsldpLDP | sys/ldp |
mplsldpGr | sys/ldp/gr |
mplsldpLDP Properties
The following table contains information about the mplsldpLDP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | nw:AdminSt (scalar:Enum8) | The administrative state of the object or policy. | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
mplsldpGr Properties
The following table contains information about the mplsldpGr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
graceful | scalar:Bool | The graceful property configures LDP graceful restart | SELECTION: true or false DEFAULT: true |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring Forwarding State Holding Time
Configuring Forwarding State Holding Time
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mplsldpLDP": {
"attributes": {
"adminSt": "enabled"
},
"children": [
{
"mplsldpGr": {
"attributes": {
"forwardingHoldtime": "130"
}}}]}}]}}
{
imdata:[]
}
<System>
<ldp-items>
<adminSt>enabled</adminSt>
<gr-items>
<forwardingHoldtime>130</forwardingHoldtime>
</gr-items>
</ldp-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
mpls ldp configuration
graceful-restart timers forwarding-holding 130
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mplsldpLDP | sys/ldp |
mplsldpGr | sys/ldp/gr |
mplsldpLDP Properties
The following table contains information about the mplsldpLDP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | nw:AdminSt (scalar:Enum8) | The administrative state of the object or policy. | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
mplsldpGr Properties
The following table contains information about the mplsldpGr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
forwardingHoldtime | mplsldp:FwdHoldTime (scalar:Uint16) | LDP forwarding state holding time. Specifies the amount of time the MPLS forwarding state should be preserved after the control plane restarts. | RANGE: [30 , 600] DEFAULT: 120 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting Forwarding State Holding Time
Deleting Forwarding State Holding Time
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mplsldpLDP": {
"attributes": {
"adminSt": "enabled"
},
"children": [
{
"mplsldpGr": {
"attributes": {
"forwardingHoldtime": "120"
}}}]}}]}}
{
imdata:[]
}
<System>
<ldp-items>
<adminSt>enabled</adminSt>
<gr-items>
<forwardingHoldtime>120</forwardingHoldtime>
</gr-items>
</ldp-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
mpls ldp configuration
no graceful-restart timers forwarding-holding 130
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mplsldpLDP | sys/ldp |
mplsldpGr | sys/ldp/gr |
mplsldpLDP Properties
The following table contains information about the mplsldpLDP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | nw:AdminSt (scalar:Enum8) | The administrative state of the object or policy. | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
mplsldpGr Properties
The following table contains information about the mplsldpGr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
forwardingHoldtime | mplsldp:FwdHoldTime (scalar:Uint16) | LDP forwarding state holding time. Specifies the amount of time the MPLS forwarding state should be preserved after the control plane restarts. | RANGE: [30 , 600] DEFAULT: 120 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Maximum Recovery Time
Configuring the Maximum Recovery Time
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mplsldpLDP": {
"attributes": {
"adminSt": "enabled"
},
"children": [
{
"mplsldpGr": {
"attributes": {
"recoveryTime": "130"
}}}]}}]}}
{
imdata:[]
}
<System>
<ldp-items>
<adminSt>enabled</adminSt>
<gr-items>
<recoveryTime>130</recoveryTime>
</gr-items>
</ldp-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
mpls ldp configuration
graceful-restart timers max-recovery 130
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mplsldpLDP | sys/ldp |
mplsldpGr | sys/ldp/gr |
mplsldpLDP Properties
The following table contains information about the mplsldpLDP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | nw:AdminSt (scalar:Enum8) | The administrative state of the object or policy. | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
mplsldpGr Properties
The following table contains information about the mplsldpGr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
recoveryTime | mplsldp:RecoveryTime (scalar:Uint16) | LDP maximum recovery time. Specifies the amount of time a router should hold stale label-FEC bindings after an LDP session has been reestablished. | RANGE: [15 , 600] DEFAULT: 120 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Maximum Recovery Time
Deleting the Maximum Recovery Time
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mplsldpLDP": {
"attributes": {
"adminSt": "enabled"
},
"children": [
{
"mplsldpGr": {
"attributes": {
"recoveryTime": "120"
}}}]}}]}}
{
imdata:[]
}
<System>
<ldp-items>
<adminSt>enabled</adminSt>
<gr-items>
<recoveryTime>120</recoveryTime>
</gr-items>
</ldp-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
mpls ldp configuration
no graceful-restart timers max-recovery 130
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mplsldpLDP | sys/ldp |
mplsldpGr | sys/ldp/gr |
mplsldpLDP Properties
The following table contains information about the mplsldpLDP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | nw:AdminSt (scalar:Enum8) | The administrative state of the object or policy. | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
mplsldpGr Properties
The following table contains information about the mplsldpGr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
recoveryTime | mplsldp:RecoveryTime (scalar:Uint16) | LDP maximum recovery time. Specifies the amount of time a router should hold stale label-FEC bindings after an LDP session has been reestablished. | RANGE: [15 , 600] DEFAULT: 120 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring the Neighbor-Liveness Time
Configuring the Neighbor-Liveness Time
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mplsldpLDP": {
"attributes": {
"adminSt": "enabled"
},
"children": [
{
"mplsldpGr": {
"attributes": {
"neighborLivenessTime": "130"
}}}]}}]}}
{
imdata:[]
}
<System>
<ldp-items>
<adminSt>enabled</adminSt>
<gr-items>
<neighborLivenessTime>130</neighborLivenessTime>
</gr-items>
</ldp-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
mpls ldp configuration
graceful-restart timers neighbor-liveness 130
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mplsldpLDP | sys/ldp |
mplsldpGr | sys/ldp/gr |
mplsldpLDP Properties
The following table contains information about the mplsldpLDP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | nw:AdminSt (scalar:Enum8) | The administrative state of the object or policy. | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
mplsldpGr Properties
The following table contains information about the mplsldpGr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
neighborLivenessTime | mplsldp:NbrLiveTime (scalar:Uint16) | LDP Neighbor-Liveness time. Specifies the amount of time a router should wait for an LDP session to be reestablished. | RANGE: [5 , 300] DEFAULT: 120 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting the Neighbor-Liveness Time
Deleting the Neighbor-Liveness Time
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"mplsldpLDP": {
"attributes": {
"adminSt": "enabled"
},
"children": [
{
"mplsldpGr": {
"attributes": {
"neighborLivenessTime": "120"
}}}]}}]}}
{
imdata:[]
}
<System>
<ldp-items>
<adminSt>enabled</adminSt>
<gr-items>
<neighborLivenessTime>120</neighborLivenessTime>
</gr-items>
</ldp-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
mpls ldp configuration
no graceful-restart timers neighbor-liveness 130
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
mplsldpLDP | sys/ldp |
mplsldpGr | sys/ldp/gr |
mplsldpLDP Properties
The following table contains information about the mplsldpLDP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminSt | nw:AdminSt (scalar:Enum8) | The administrative state of the object or policy. | SELECTION: 1 - enabled 2 - disabled DEFAULT: enabled |
mplsldpGr Properties
The following table contains information about the mplsldpGr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
neighborLivenessTime | mplsldp:NbrLiveTime (scalar:Uint16) | LDP Neighbor-Liveness time. Specifies the amount of time a router should wait for an LDP session to be reestablished. | RANGE: [5 , 300] DEFAULT: 120 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: