Querying IS-IS Configurations
Querying IS-IS Adjacency
Querying IS-IS Adjacency
http://ip/api/mo/sys/isis/inst-200/dom-default/oper.json?rsp-subtree=full
{
"totalCount": "1",
"imdata": [
{
"isisOperIsis": {
"attributes": {
"dn": "sys/isis/inst-200/dom-default/oper",
"modTs": "2020-03-10T19:59:27.058+00:00"
},
"children": [
{
"isisAdj": {
"attributes": {
"modTs": "2020-03-10T19:59:27.058+00:00",
"rn": "adj"
},
"children": [
{
"isisLevel": {
"attributes": {
"cktType": "l2",
"modTs": "2020-03-10T19:59:27.107+00:00",
"rn": "level-[l2]"
},
"children": [
{
"isisAdjIf": {
"attributes": {
"cktId": "",
"holdTimer": "00:00:30",
"id": "eth1/35",
"level": "l12",
"modTs": "2020-03-12T11:18:17.436+00:00",
"operSt": "up",
"peerIpv4": "",
"peerIpv6": "",
"priority": "0",
"rn": "adjif-[eth1/35]",
"snpa": "N/A",
"sysName": "n9k-5"
}
}
}
]
}
},
{
"isisLevel": {
"attributes": {
"cktType": "l1",
"modTs": "2020-03-10T19:59:27.058+00:00",
"rn": "level-[l1]"
},
"children": [
{
"isisAdjIf": {
"attributes": {
"cktId": "",
"holdTimer": "00:00:30",
"id": "eth1/35",
"level": "l12",
"modTs": "2020-03-12T11:18:17.436+00:00",
"operSt": "up",
"peerIpv4": "",
"peerIpv6": "",
"priority": "0",
"rn": "adjif-[eth1/35]",
"snpa": "N/A",
"sysName": "n9k-5"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
Note: This example was added in Release 9.3(5).
CLI Output Switch# show isis adjacency
IS-IS process: 200 VRF: default
IS-IS adjacency database:
Legend: '!': No AF level connectivity in given topology
System ID SNPA Level State Hold Time Interface
n9k-3 N/A 1 UP 00:00:30 Ethernet1/17.1
n9k-5 N/A 2 UP 00:00:26 Ethernet1/35
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO DN
isisOperIsis Properties
The following table contains information about the isisOperIsis properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION:
isisAdj Properties
The following table contains information about the isisAdj properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION:
isisLevel Properties
The following table contains information about the isisLevel properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values cktType isis:IsT
(scalar:Enum8)Level SELECTION: modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION:
isisAdjIf Properties
The following table contains information about the isisAdjIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values cktId string:Basic Circuit Type A sequence of characters holdTimer string:Basic Hold Timer timestamp A sequence of characters id base:IfIndex Adjacency interface name Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 level isis:IsT
(scalar:Enum8)Level Type SELECTION: modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION: operSt isis:AdjOperSt
(scalar:Enum8)Operational State for adjacency SELECTION: peerIpv4 string:Basic Adjacency peer IP address A sequence of characters peerIpv6 string:Basic Adjacency peer IPv6 Address A sequence of characters priority scalar:Uint32 Priority value RANGE: [0, 4294967295] snpa string:Basic SNPA holder A sequence of characters sysName string:Basic System name of the neighbor A sequence of characters
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Querying IS-IS Adjacency Ethernet Interfaces
Querying IS-IS Adjacency Ethernet Interfaces
GET: /api/mo/sys/isis/inst-200/dom-default/oper/adj/level-[l12]/adjif-[eth1/17].json?rsp-subtree=full
{
"totalCount": "1",
"imdata": [
{
"isisAdjIf": {
"attributes": {
"cktId": "",
"holdTimer": "00:00:30",
"id": "eth1/35",
"level": "l12",
"modTs": "2020-03-12T11:18:17.436+00:00",
"operSt": "up",
"peerIpv4": "",
"peerIpv6": "",
"priority": "0",
"rn": "adjif-[eth1/35]",
"snpa": "N/A",
"sysName": "n9k-5"
}
}
}
]
}
Note: This example was added in Release 9.3(5).
CLI Output Switch# show isis adjacency ethernet 1/17
IS-IS process: 200 VRF: urib_test
IS-IS adjacency database for Ethernet1/17:
Legend: '!': No AF level connectivity in given topology
System ID SNPA Level State Hold Time Interface
n9k-3 N/A 1-2 UP 00:00:22 Ethernet1/17
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO DN
isisAdjIf Properties
The following table contains information about the isisAdjIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values cktId string:Basic Circuit Type A sequence of characters holdTimer string:Basic Hold Timer timestamp A sequence of characters id base:IfIndex Adjacency interface name Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 level isis:IsT
(scalar:Enum8)Level Type SELECTION: modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION: operSt isis:AdjOperSt
(scalar:Enum8)Operational State for adjacency SELECTION: peerIpv4 string:Basic Adjacency peer IP address A sequence of characters peerIpv6 string:Basic Adjacency peer IPv6 Address A sequence of characters priority scalar:Uint32 Priority value RANGE: [0, 4294967295] snpa string:Basic SNPA holder A sequence of characters sysName string:Basic System name of the neighbor A sequence of characters
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Querying IS-IS Adjacency VRF
Querying IS-IS Adjacency VRF
GET: http://ip/api/mo/sys/isis/inst-200/dom-test/oper.json?rsp-subtree=full
{
"totalCount": "1",
"imdata": [
{
"isisOperIsis": {
"attributes": {
"dn": "sys/isis/inst-200/dom-test/oper",
"modTs": "2020-03-10T19:59:27.058+00:00"
},
"children": [
{
"isisAdj": {
"attributes": {
"modTs": "2020-03-10T19:59:27.058+00:00",
"rn": "adj"
},
"children": [
{
"isisLevel": {
"attributes": {
"cktType": "l2",
"modTs": "2020-03-10T19:59:27.107+00:00",
"rn": "level-[l2]"
},
"children": [
{
"isisAdjIf": {
"attributes": {
"cktId": "",
"holdTimer": "00:00:30",
"id": "eth1/35",
"level": "l12",
"modTs": "2020-03-12T11:18:17.436+00:00",
"operSt": "up",
"peerIpv4": "",
"peerIpv6": "",
"priority": "0",
"rn": "adjif-[eth1/35]",
"snpa": "N/A",
"sysName": "n9k-5"
}
}
}
]
}
},
{
"isisLevel": {
"attributes": {
"cktType": "l1",
"modTs": "2020-03-10T19:59:27.058+00:00",
"rn": "level-[l1]"
},
"children": [
{
"isisAdjIf": {
"attributes": {
"cktId": "",
"holdTimer": "00:00:30",
"id": "eth1/35",
"level": "l12",
"modTs": "2020-03-12T11:18:17.436+00:00",
"operSt": "up",
"peerIpv4": "",
"peerIpv6": "",
"priority": "0",
"rn": "adjif-[eth1/35]",
"snpa": "N/A",
"sysName": "n9k-5"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
Note: This example was added in Release 9.3(5).
CLI Output Switch# show isis adjacency vrf urib_test
IS-IS process: 200 VRF: urib_test
IS-IS adjacency database:
Legend: '!': No AF level connectivity in given topology
System ID SNPA Level State Hold Time Interface
n9k-3 N/A 1-2 UP 00:00:27 Ethernet1/17
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO DN
isisOperIsis Properties
The following table contains information about the isisOperIsis properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION:
isisAdj Properties
The following table contains information about the isisAdj properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION:
isisLevel Properties
The following table contains information about the isisLevel properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values cktType isis:IsT
(scalar:Enum8)Level SELECTION: modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION:
isisAdjIf Properties
The following table contains information about the isisAdjIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name Data Type Description Values cktId string:Basic Circuit Type A sequence of characters holdTimer string:Basic Hold Timer timestamp A sequence of characters id base:IfIndex Adjacency interface name Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 level isis:IsT
(scalar:Enum8)Level Type SELECTION: modTs mo:TStamp
(scalar:Date)The time when this object was last modified. SELECTION: operSt isis:AdjOperSt
(scalar:Enum8)Operational State for adjacency SELECTION: peerIpv4 string:Basic Adjacency peer IP address A sequence of characters peerIpv6 string:Basic Adjacency peer IPv6 Address A sequence of characters priority scalar:Uint32 Priority value RANGE: [0, 4294967295] snpa string:Basic SNPA holder A sequence of characters sysName string:Basic System name of the neighbor A sequence of characters
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: