Configuring the Event History Buffer Size

Configuring the Event History Buffer Size for Adjacency Formation Logs

Configuring the Event History Buffer Size for Adjacency Formation Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "adj",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>adj</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history adjacency size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-adj
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for Adjacency Formation Logs

Deleting the Event History Buffer Size for Adjacency Formation Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "adj",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>adj</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history adjacency size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-adj
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for LSA Flooding Logs

Configuring the Event History Buffer Size for LSA Flooding Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "lsa-flood",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>lsa-flood</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history flooding size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-lsa-flood
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for LSA Flooding Logs

Deleting the Event History Buffer Size for LSA Flooding Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "lsa-flood",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>lsa-flood</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history flooding size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-lsa-flood
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for HA and GR Logs

Configuring the Event History Buffer Size for HA and GR Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "ha",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>ha</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history ha size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-ha
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for HA and GR Logs

Deleting the Event History Buffer Size for HA and GR Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "ha",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>ha</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history ha size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-ha
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for HELLO Logs

Configuring the Event History Buffer Size for HELLO Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "hello",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>hello</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history hello size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-hello
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for HELLO Logs

Deleting the Event History Buffer Size for HELLO Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "hello",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>hello</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history hello size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-hello
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for LDP Logs

Configuring the Event History Buffer Size for LDP Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "ldp",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>ldp</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history ldp size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-ldp
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for LDP Logs

Deleting the Event History Buffer Size for LDP Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "ldp",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>ldp</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history ldp size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-ldp
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for LSA Logs

Configuring the Event History Buffer Size for LSA Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "lsa",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>lsa</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history lsa size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-lsa
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for LSA Logs

Deleting the Event History Buffer Size for LSA Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "lsa",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>lsa</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history lsa size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-lsa
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for DME OBJECTSTORE Logs

Configuring the Event History Buffer Size for DME OBJECTSTORE Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "cli",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>cli</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history objstore size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-cli
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for DME OBJECTSTORE Logs

Deleting the Event History Buffer Size for DME OBJECTSTORE Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "cli",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>cli</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history objstore size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-cli
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for Redistribution Logs

Configuring the Event History Buffer Size for Redistribution Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "redist",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>redist</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history redistribution size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-redist
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for Redistribution Logs

Deleting the Event History Buffer Size for Redistribution Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "redist",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>redist</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history redistribution size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-redist
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for Segment Routing Logs

Configuring the Event History Buffer Size for Segment Routing Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "segrt",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>segrt</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history segrt size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-segrt
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for Segment Routing Logs

Deleting the Event History Buffer Size for Segment Routing Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "segrt",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>segrt</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history segrt size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-segrt
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Configuring the Event History Buffer Size for SPF TRIGGER Logs

Configuring the Event History Buffer Size for SPF TRIGGER Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "spf-trigger",
                        "logSize": "large",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>spf-trigger</eventType>
            <logSize>large</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  ip ospf event-history spf-trigger size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-spf-trigger
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

Deleting the Event History Buffer Size for SPF TRIGGER Logs

Deleting the Event History Buffer Size for SPF TRIGGER Logs
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "ospfEntity": {
          "children": [
            {
              "ospfInst": {
                "attributes": {
                  "name": "Test_1"
                },
                "children": [
                  {
                    "ospfEventLogs": {
                      "attributes": {
                        "eventType": "spf-trigger",
                        "logSize": "small",
                        "logSizeKBytes": "0"
                      }
                    }
                  },
                  {
                    "ospfDom": {
                      "attributes": {
                        "name": "default"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <ospf-items>
    <inst-items>
      <Inst-list>
        <name>Test_1</name>
        <evtlogs-items>
          <EventLogs-list>
            <eventType>spf-trigger</eventType>
            <logSize>small</logSize>
            <logSizeKBytes>0</logSizeKBytes>
          </EventLogs-list>
        </evtlogs-items>
        <dom-items>
          <Dom-list>
            <name>default</name>
          </Dom-list>
        </dom-items>
      </Inst-list>
    </inst-items>
  </ospf-items>
</System>

Note: This example was added in Release 9.3(1).


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.

router ospf Test_1
  no ip ospf event-history spf-trigger size large


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.

MODN
topSystem sys
ospfEntity sys/ospf
ospfInst sys/ospf/inst-Test_1
ospfEventLogs sys/ospf/inst-Test_1/evtlogs-spf-trigger
ospfDom sys/ospf/inst-Test_1/dom-default


ospfInst Properties

The following table contains information about the ospfInst 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF instance name.


ospfEventLogs Properties

The following table contains information about the ospfEventLogs 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 NameData TypeDescriptionValues
eventTypeospf:EventType
(scalar:Enum16)
Holds the type of event loggingSELECTION:
0 - adj
1 - internal
2 - ha
3 - lsa-flood
4 - lsa
5 - spf
6 - redist
7 - ldp
8 - mpls-te
9 - hello
10 - rib
11 - spf-trigger
12 - cli
13 - segrt
logSizeospf:EventLogSize
(scalar:Enum8)
Holds the size of event loggingSELECTION:
0 - disabled
1 - small
2 - medium
3 - large
DEFAULT: small
logSizeKBytesospf:EventLogSizeKBytes
(scalar:Uint16)
Event Log Size in KBytes
RANGE: [0 , 65535]


ospfDom Properties

The following table contains information about the ospfDom 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 NameData TypeDescriptionValues
name
naming:Name256
string:Basic
The OSPF Domain name.


Related Documentation

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

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:

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html