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

Querying IS-IS Operation State

Querying IS-IS Operation State

Requesting 'Get'
Sending:

# 469
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:9dcb108e-b69b-4068-9e93-9582f05ad955">
  <nc:get>
    <nc:filter>
      <network-instances xmlns="http://openconfig.net/yang/network-instance">
        <network-instance>
          <protocols>
            <protocol>
              <isis>
                <global/>
                <levels>
                  <level>
                    <state/>
                    <authentication/>
                  </level>
                </levels>
                <interfaces/>
              </isis>
            </protocol>
          </protocols>
        </network-instance>
      </network-instances>
    </nc:filter>
  </nc:get>
</nc:rpc>

##
Received message from host
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:9dcb108e-b69b-4068-9e93-9582f05ad955">
  <data>
    <network-instances xmlns="http://openconfig.net/yang/network-instance">
      <network-instance>
        <name>default</name>
        <protocols>
          <protocol>
            <identifier xmlns:oc-pol-types="http://openconfig.net/yang/policy-types">oc-pol-types:ISIS</identifier>
            <name>1</name>
            <isis>
              <global>
                <afi-safi>
                  <af>
                    <afi-name>IPV6</afi-name>
                    <safi-name>UNICAST</safi-name>
                    <multi-topology>
                      <state>
                        <afi-name>IPV6</afi-name>
                        <safi-name>UNICAST</safi-name>
                        <enabled>true</enabled>
                      </state>
                    </multi-topology>
                    <state>
                      <afi-name>IPV6</afi-name>
                      <safi-name>UNICAST</safi-name>
                      <enabled>true</enabled>
                    </state>
                  </af>
                  <af>
                    <afi-name>IPV4</afi-name>
                    <safi-name>UNICAST</safi-name>
                    <multi-topology>
                      <state>
                        <afi-name>IPV4</afi-name>
                        <safi-name>UNICAST</safi-name>
                        <enabled>false</enabled>
                      </state>
                    </multi-topology>
                    <state>
                      <afi-name>IPV4</afi-name>
                      <safi-name>UNICAST</safi-name>
                      <enabled>true</enabled>
                    </state>
                  </af>
                </afi-safi>
                <graceful-restart>
                  <state>
                    <enabled>true</enabled>
                  </state>
                </graceful-restart>
                <mpls>
                  <igp-ldp-sync>
                    <state>
                      <enabled>false</enabled>
                    </state>
                  </igp-ldp-sync>
                </mpls>
                <reference-bandwidth>
                  <state>
                    <reference-bandwidth>40000</reference-bandwidth>
                  </state>
                </reference-bandwidth>
                <state>
                  <instance>1</instance>
                  <level-capability>LEVEL_1</level-capability>
                  <maximum-area-addresses>3</maximum-area-addresses>
                  <net>47.0004.004d.0001.0001.0c11.5555.00</net>
                </state>
                <timers>
                  <state>
                    <lsp-lifetime-interval>1200</lsp-lifetime-interval>
                  </state>
                </timers>
                <transport>
                  <state>
                    <lsp-mtu-size>1492</lsp-mtu-size>
                  </state>
                </transport>
              </global>
              <levels>
                <level>
                  <level-number>1</level-number>
                  <state>
                    <enabled>true</enabled>
                    <authentication-check>true</authentication-check>
                    <level-number>1</level-number>
                    <metric-style>WIDE_METRIC</metric-style>
                  </state>
                  <authentication>
                    <state>
                      <disable-csnp>false</disable-csnp>
                      <disable-lsp>false</disable-lsp>
                      <disable-psnp>false</disable-psnp>
                      <enabled>false</enabled>
                    </state>
                  </authentication>
                </level>
              </levels>
              <interfaces>
                <interface>
                  <interface-id>eth1/35</interface-id>
                  <bfd>
                    <state>
                      <bfd-tlv>false</bfd-tlv>
                    </state>
                  </bfd>
                  <enable-bfd>
                    <state>
                      <enabled>false</enabled>
                    </state>
                  </enable-bfd>
                  <levels>
                    <level>
                      <level-number>2</level-number>
                      <hello-authentication>
                        <state>
                          <enabled>false</enabled>
                        </state>
                      </hello-authentication>
                      <packet-counters>
                        <csnp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </csnp>
                        <iih>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </iih>
                        <lsp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </lsp>
                        <psnp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </psnp>
                        <unknown>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </unknown>
                      </packet-counters>
                      <state>
                        <enabled>false</enabled>
                        <level-number>2</level-number>
                        <passive>false</passive>
                        <priority>64</priority>
                      </state>
                      <timers>
                        <state>
                          <hello-interval>10</hello-interval>
                          <hello-multiplier>3</hello-multiplier>
                        </state>
                      </timers>
                    </level>
                    <level>
                      <level-number>1</level-number>
                      <hello-authentication>
                        <state>
                          <enabled>false</enabled>
                        </state>
                      </hello-authentication>
                      <packet-counters>
                        <csnp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </csnp>
                        <iih>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>1323</sent>
                          </state>
                        </iih>
                        <lsp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </lsp>
                        <psnp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </psnp>
                        <unknown>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </unknown>
                      </packet-counters>
                      <state>
                        <enabled>true</enabled>
                        <level-number>1</level-number>
                        <passive>false</passive>
                        <priority>64</priority>
                      </state>
                      <timers>
                        <state>
                          <hello-interval>10</hello-interval>
                          <hello-multiplier>3</hello-multiplier>
                        </state>
                      </timers>
                    </level>
                  </levels>
                  <state>
                    <enabled>true</enabled>
                    <circuit-type>BROADCAST</circuit-type>
                    <hello-padding>STRICT</hello-padding>
                    <interface-id>eth1/35</interface-id>
                    <passive>false</passive>
                  </state>
                  <timers>
                    <state>
                      <lsp-pacing-interval>33</lsp-pacing-interval>
                    </state>
                  </timers>
                  <mpls>
                    <igp-ldp-sync>
                      <state>
                        <enabled>false</enabled>
                      </state>
                    </igp-ldp-sync>
                  </mpls>
                </interface>
                <interface>
                  <interface-id>eth1/21</interface-id>
                  <bfd>
                    <state>
                      <bfd-tlv>false</bfd-tlv>
                    </state>
                  </bfd>
                  <enable-bfd>
                    <state>
                      <enabled>false</enabled>
                    </state>
                  </enable-bfd>
                  <levels>
                    <level>
                      <level-number>2</level-number>
                      <hello-authentication>
                        <state>
                          <enabled>false</enabled>
                        </state>
                      </hello-authentication>
                      <packet-counters>
                        <csnp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </csnp>
                        <iih>
                          <state>
                            <dropped>0</dropped>
                            <processed>1034</processed>
                            <received>1034</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </iih>
                        <lsp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </lsp>
                        <psnp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </psnp>
                        <unknown>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </unknown>
                      </packet-counters>
                      <state>
                        <enabled>false</enabled>
                        <level-number>2</level-number>
                        <passive>false</passive>
                        <priority>64</priority>
                      </state>
                      <timers>
                        <state>
                          <hello-interval>10</hello-interval>
                          <hello-multiplier>3</hello-multiplier>
                        </state>
                      </timers>
                    </level>
                    <level>
                      <level-number>1</level-number>
                      <hello-authentication>
                        <state>
                          <enabled>false</enabled>
                        </state>
                      </hello-authentication>
                      <packet-counters>
                        <csnp>
                          <state>
                            <dropped>0</dropped>
                            <processed>449</processed>
                            <received>449</received>
                            <retransmit>0</retransmit>
                            <sent>466</sent>
                          </state>
                        </csnp>
                        <iih>
                          <state>
                            <dropped>0</dropped>
                            <processed>3107</processed>
                            <received>3107</received>
                            <retransmit>0</retransmit>
                            <sent>1041</sent>
                          </state>
                        </iih>
                        <lsp>
                          <state>
                            <dropped>0</dropped>
                            <processed>72</processed>
                            <received>72</received>
                            <retransmit>0</retransmit>
                            <sent>24</sent>
                          </state>
                        </lsp>
                        <psnp>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </psnp>
                        <unknown>
                          <state>
                            <dropped>0</dropped>
                            <processed>0</processed>
                            <received>0</received>
                            <retransmit>0</retransmit>
                            <sent>0</sent>
                          </state>
                        </unknown>
                      </packet-counters>
                      <state>
                        <enabled>false</enabled>
                        <level-number>1</level-number>
                        <passive>false</passive>
                        <priority>64</priority>
                      </state>
                      <timers>
                        <state>
                          <hello-interval>10</hello-interval>
                          <hello-multiplier>3</hello-multiplier>
                        </state>
                      </timers>
                    </level>
                  </levels>
                  <state>
                    <enabled>false</enabled>
                    <circuit-type>BROADCAST</circuit-type>
                    <hello-padding>STRICT</hello-padding>
                    <interface-id>eth1/21</interface-id>
                    <passive>false</passive>
                  </state>
                  <timers>
                    <state>
                      <lsp-pacing-interval>33</lsp-pacing-interval>
                    </state>
                  </timers>
                  <mpls>
                    <igp-ldp-sync>
                      <state>
                        <enabled>false</enabled>
                      </state>
                    </igp-ldp-sync>
                  </mpls>
                </interface>
              </interfaces>
            </isis>
          </protocol>
        </protocols>
      </network-instance>
    </network-instances>
  </data>
</rpc-reply>
NETCONF get COMPLETE

{
    imdata:[]
}


Note: This example was added in Release 10.4(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

Note: The property information for this example was added in Release 10.4(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