Configuring Event-History Buffers for MSDP
These examples demonstrate how to configure the size of the event history buffers. The options are small, medium, large, and disabled. The default is small.
Configuring CLI Log Event-History Buffers For MSDP
Configuring CLI Log Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"size": "medium",
"type": "cli"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list>
<type>cli</type>
<size>medium</size>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
ip msdp event-history cli size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
size | msdp:Size (scalar:Uint32) | configures buffer size in text/kb | RANGE: [0 , 4] DEFAULT: 3 |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 CLI Log Event-History Buffers For MSDP
Deleting CLI Log Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"status": "deleted",
"type": "cli"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list xc:operation="delete">
<type>cli</type>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
no ip msdp event-history cli size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 Event-History Buffers For MSDP
Configuring Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"size": "medium",
"type": "events"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list>
<type>events</type>
<size>medium</size>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
ip msdp event-history events size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
size | msdp:Size (scalar:Uint32) | configures buffer size in text/kb | RANGE: [0 , 4] DEFAULT: 3 |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 Event-History Buffers For MSDP
Deleting Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"status": "deleted",
"type": "events"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list xc:operation="delete">
<type>events</type>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
no ip msdp event-history events size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 Internal Log Event-History Buffers For MSDP
Configuring Internal Log Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"size": "medium",
"type": "msdpInternal"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list>
<type>msdpInternal</type>
<size>medium</size>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
ip msdp event-history msdp-internal size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
size | msdp:Size (scalar:Uint32) | configures buffer size in text/kb | RANGE: [0 , 4] DEFAULT: 3 |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 Internal Log Event-History Buffers For MSDP
Deleting Internal Log Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"status": "deleted",
"type": "msdpInternal"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list xc:operation="delete">
<type>msdpInternal</type>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
no ip msdp event-history msdp-internal size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 Route Log Event-History Buffers For MSDP
Configuring Route Log Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"size": "medium",
"type": "routes"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list>
<type>routes</type>
<size>medium</size>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
ip msdp event-history routes size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
size | msdp:Size (scalar:Uint32) | configures buffer size in text/kb | RANGE: [0 , 4] DEFAULT: 3 |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 Route Log Event-History Buffers For MSDP
Deleting Route Log Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"status": "deleted",
"type": "routes"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list xc:operation="delete">
<type>routes</type>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
no ip msdp event-history routes size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 TCP Log Event-History Buffers For MSDP
Configuring TCP Log Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"size": "medium",
"type": "tcp"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list>
<type>tcp</type>
<size>medium</size>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
ip msdp event-history tcp size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
size | msdp:Size (scalar:Uint32) | configures buffer size in text/kb | RANGE: [0 , 4] DEFAULT: 3 |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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 TCP Log Event-History Buffers For MSDP
Deleting TCP Log Event-History Buffers For MSDP
POST http://<mgmt0_IP>/api/mo/sys/msdp/inst.json
{
"msdpInst": {
"children": [
{
"msdpDom": {
"attributes": {
"name": "default"
},
"children": [
{
"msdpEventHistory": {
"attributes": {
"status": "deleted",
"type": "tcp"
}}}]}}]}}
{
imdata": []
}
<System>
<msdp-items>
<inst-items>
<dom-items>
<Dom-list>
<name>default</name>
<eventHist-items>
<EventHistory-list xc:operation="delete">
<type>tcp</type>
</EventHistory-list>
</eventHist-items>
</Dom-list>
</dom-items>
</inst-items>
</msdp-items>
</System>
Note: This example was added in Release 7.0(3)I7(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.
no ip msdp event-history tcp size medium
Note: The property information for this example was added in Release 9.3(3).
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 |
---|---|
msdpInst | sys/msdp/inst |
msdpDom | sys/msdp/inst/dom-{name} |
msdpEventHistory | sys/msdp/inst/dom-{name}/eventHist-{type} |
msdpDom Properties
The following table contains information about the msdpDom 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 |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
msdpEventHistory Properties
The following table contains information about the msdpEventHistory 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 |
---|---|---|---|
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
type | msdp:EhType (scalar:Enum8) | configures type of event history | SELECTION: 0 - cli 1 - events 2 - msdpInternal 3 - routes 4 - tcp |
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: