IS-IS Operational Commands

Querying IS-IS Statistics

Querying IS-IS Statistics
GET: /api/mo/sys/isis/inst-1/dom-default/oper.json?rsp-subtree=full
{
    "totalCount": "1",
    "imdata": [
        {
            "isisOperIsis": {
                "attributes": {
                    "dn": "sys/isis/inst-1/dom-default/oper",
                    "lspPurged": "0",
                    "lspRefreshed": "6",
                    "lspSourced": "4",
                    "modTs": "2021-03-16T07:35:02.783+00:00",
                    "spfCalc": "13"
                },
                "children": [
                    {
                        "isisOperIf": {
                            "attributes": {
                                "disElections": "4",
                                "id": "vlan10",
                                "modTs": "2021-03-16T07:35:02.522+00:00",
                                "rn": "operif-[vlan10]"
                            }
                        }
                    },
                    {
                        "isisAdj": {
                            "attributes": {
                                "modTs": "2021-03-16T07:35:02.431+00:00",
                                "rn": "adj"
                            },
                            "children": [
                                {
                                    "isisLevel": {
                                        "attributes": {
                                            "cktType": "l1",
                                            "modTs": "2021-03-16T07:35:02.431+00:00",
                                            "rn": "level-[l1]"
                                        },
                                        "children": [
                                            {
                                                "isisAdjIf": {
                                                    "attributes": {
                                                        "adjRestartSupport": "1",
                                                        "adjRestartSuppress": "0",
                                                        "areaAddress": "47.0004.004d.",
                                                        "baseTopoIpv4": "yes",
                                                        "baseTopoIpv6": "no",
                                                        "cktId": "switch.01",
                                                        "holdTimer": "00:00:33",
                                                        "id": "vlan10",
                                                        "level": "l1",
                                                        "modTs": "2021-03-16T07:40:13.516+00:00",
                                                        "multiTopoIpv4": "no",
                                                        "multiTopoIpv6": "no",
                                                        "multitopology": "no",
                                                        "operSt": "up",
                                                        "peerIpv4": "9.9.9.2",
                                                        "peerIpv6": "0::",
                                                        "priority": "64",
                                                        "rn": "adjif-[vlan10]",
                                                        "snpa": "5221.149e.1b08",
                                                        "sysName": "switch",
                                                        "upTime": "00:05:11"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                },
                                {
                                    "isisLevel": {
                                        "attributes": {
                                            "cktType": "l2",
                                            "modTs": "2021-03-16T07:35:02.431+00:00",
                                            "rn": "level-[l2]"
                                        },
                                        "children": [
                                            {
                                                "isisAdjIf": {
                                                    "attributes": {
                                                        "adjRestartSupport": "1",
                                                        "adjRestartSuppress": "0",
                                                        "areaAddress": "47.0004.004d.",
                                                        "baseTopoIpv4": "yes",
                                                        "baseTopoIpv6": "no",
                                                        "cktId": "switch.01",
                                                        "holdTimer": "00:00:31",
                                                        "id": "vlan10",
                                                        "level": "l2",
                                                        "modTs": "2021-03-16T07:40:14.234+00:00",
                                                        "multiTopoIpv4": "no",
                                                        "multiTopoIpv6": "no",
                                                        "multitopology": "no",
                                                        "operSt": "up",
                                                        "peerIpv4": "9.9.9.2",
                                                        "peerIpv6": "0::",
                                                        "priority": "64",
                                                        "rn": "adjif-[vlan10]",
                                                        "snpa": "5221.149e.1b08",
                                                        "sysName": "switch",
                                                        "upTime": "00:05:11"
                                                    }
                                                }
                                            }
                                        ]
                                    }
                                }
                            ]
                        }
                    }
                ]
            }
        }
    ]
}
{
    imdata:[]
}
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:44fe0521-ef1f-48e0-82e7-da0461d54a7e">
  <nc:get>
    <nc:filter>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <isis-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <oper-items/>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </isis-items>
      </System>
    </nc:filter>
  </nc:get>
</nc:rpc>


<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:44fe0521-ef1f-48e0-82e7-da0461d54a7e">
    <data>
        <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
            <isis-items>
                <inst-items>
                    <Inst-list>
                        <name>1</name>
                        <dom-items>
                            <Dom-list>
                                <name>default</name>
                                <oper-items>
                                    <adj-items>
                                        <level-items>
                                            <Level-list>
                                                <cktType>l2</cktType>
                                                <adjif-items>
                                                    <AdjIf-list>
                                                        <id>vlan10</id>
                                                        <adjRestartSupport>1</adjRestartSupport>
                                                        <adjRestartSuppress>0</adjRestartSuppress>
                                                        <areaAddress>47.0004.004d.</areaAddress>
                                                        <baseTopoIpv4>true</baseTopoIpv4>
                                                        <baseTopoIpv6>false</baseTopoIpv6>
                                                        <cktId>switch.01</cktId>
                                                        <holdTimer>00:00:30</holdTimer>
                                                        <level>l2</level>
                                                        <multiTopoIpv4>false</multiTopoIpv4>
                                                        <multiTopoIpv6>false</multiTopoIpv6>
                                                        <multitopology>false</multitopology>
                                                        <operSt>up</operSt>
                                                        <peerIpv4>9.9.9.2</peerIpv4>
                                                        <peerIpv6>0::</peerIpv6>
                                                        <priority>64</priority>
                                                        <snpa>5221.149e.1b08</snpa>
                                                        <sysName>switch</sysName>
                                                        <upTime>00:01:24</upTime>
                                                    </AdjIf-list>
                                                </adjif-items>
                                            </Level-list>
                                            <Level-list>
                                                <cktType>l1</cktType>
                                                <adjif-items>
                                                    <AdjIf-list>
                                                        <id>vlan10</id>
                                                        <adjRestartSupport>1</adjRestartSupport>
                                                        <adjRestartSuppress>0</adjRestartSuppress>
                                                        <areaAddress>47.0004.004d.</areaAddress>
                                                        <baseTopoIpv4>true</baseTopoIpv4>
                                                        <baseTopoIpv6>false</baseTopoIpv6>
                                                        <cktId>switch.01</cktId>
                                                        <holdTimer>00:00:32</holdTimer>
                                                        <level>l1</level>
                                                        <multiTopoIpv4>false</multiTopoIpv4>
                                                        <multiTopoIpv6>false</multiTopoIpv6>
                                                        <multitopology>false</multitopology>
                                                        <operSt>up</operSt>
                                                        <peerIpv4>9.9.9.2</peerIpv4>
                                                        <peerIpv6>0::</peerIpv6>
                                                        <priority>64</priority>
                                                        <snpa>5221.149e.1b08</snpa>
                                                        <sysName>switch</sysName>
                                                        <upTime>00:01:23</upTime>
                                                    </AdjIf-list>
                                                </adjif-items>
                                            </Level-list>
                                        </level-items>
                                    </adj-items>
                                    <lspPurged>0</lspPurged>
                                    <lspRefreshed>12</lspRefreshed>
                                    <lspSourced>4</lspSourced>
                                    <operif-items>
                                        <OperIf-list>
                                            <id>vlan10</id>
                                            <disElections>2</disElections>
                                        </OperIf-list>
                                    </operif-items>
                                    <spfCalc>12</spfCalc>
                                </oper-items>
                            </Dom-list>
                        </dom-items>
                    </Inst-list>
                </inst-items>
            </isis-items>
        </System>
    </data>
</rpc-reply>

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


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.

show isis [<isis-tag>] <VRF> statistics [<interface>] <VRF>

Note: The property information for this example was added in Release 10.2(1)F.


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