Querying Configurations (Show Commands)
Querying Feature Status
Querying Feature Status
GET http://<IP_Address>/api/mo/sys/fm.json?rsp-subtree=full&rsp-prop-include=config-only
{
"totalCount": "1",
"imdata": [
{
"fmEntity": {
"attributes": {
"dn": "sys/fm",
"persistentOnReload": "true"
},
"children": [
{
"fmPim": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "pim"
}}},{
"fmDhcp": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "dhcp"
}}},{
"fmNtpd": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "ntpd"
}}},{
"fmTelemetry": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "telemetry"
}}},{
"fmBashShell": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "bashshell"
}}},{
"fmOspf": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "ospf"
}}},{
"fmLacp": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "lacp"
}}},{
"fmNxapi": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "nxapi"
}}},{
"fmTelnet": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "telnet"
}}},{
"fmTacacsplus": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "tacacsplus"
}}},{
"fmUdld": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "udld"
}}},{
"fmVrrp": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "vrrp"
}}},{
"fmMplsSgmntRtg": {
"attributes": {
"adminSt": "disabled",
"persistentOnReload": "true",
"rn": "mplssgmntrtg"
}}},{
"fmNgmvpn": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "ngmvpn"
}}},{
"fmBfd": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "bfd"
}}},{
"fmBgp": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "bgp"
}}}]}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/fm-items
<fm-items>
<bashshell-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</bashshell-items>
<bgp-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</bgp-items>
<dhcp-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</dhcp-items>
<evpn-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</evpn-items>
<hmm-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</hmm-items>
<mplssgmntrtg-items>
<adminSt>disabled</adminSt>
<conflictingFeature/>
<maxInstance>1</maxInstance>
<operSt>disabled</operSt>
</mplssgmntrtg-items>
<ngmvpn-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>disabled</operSt>
</ngmvpn-items>
<ntpd-items>
<adminSt>disabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>disabled</operSt>
</ntpd-items>
<nvo-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</nvo-items>
<nxapi-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</nxapi-items>
<ospf-items>
<adminSt>enabled</adminSt>
<maxInstance>16</maxInstance>
<operSt>enabled</operSt>
</ospf-items>
<pim-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</pim-items>
<tacacsplus-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</tacacsplus-items>
<telemetry-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</telemetry-items>
<telnet-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</telnet-items>
<udld-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</udld-items>
<vnsegment-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</vnsegment-items>
<vpc-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</vpc-items>
<vrrpv3-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</vrrpv3-items>
</fm-items>
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying IP IGMP Groups
Querying the Current MOTD Banner Message
Querying the Current MOTD Banner Message
GET http://<IP_address>/api/mo/sys/userext/preloginbanner.json
{
"totalCount": "1",
"imdata": [
{
"aaaPreLoginBanner": {
"attributes": {
"childAction": "",
"descr": "",
"dn": "sys/userext/preloginbanner",
"guiMessage": "",
"message": "Testing Banner 123",
"modTs": "2017-12-21T13:09:27.998+00:00",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"status": "",
"uid": "0"
}}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/userext-items/preloginbanner-items
<preloginbanner-items>
<delimiter/>
<message>Testing Banner 123</message>
</preloginbanner-items>
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying an OSPFv2 Instance
Querying an OSPFv2 Instance
GET http://<IP_Address>/api/node/mo/sys/ospf/inst-my_ospf.json?rsp-subtree=full
{
"totalCount": "1",
"imdata": [
{
"ospfInst": {
"attributes": {
"adminSt": "enabled",
"childAction": "",
"ctrl": "",
"dn": "sys/ospf/inst-my_ospf",
"memAlert": "normal",
"modTs": "2016-12-13T02:57:36.789+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "my_ospf",
"operErr": "",
"persistentOnReload": "true",
"status": "",
"uid": "0"
},
"children": [
{
"ospfDom": {
"attributes": {
"adjChangeLogLevel": "none",
"adminSt": "enabled",
"bwRef": "40000",
"bwRefUnit": "mbps",
"childAction": "",
"ctrl": "",
"defMetric": "unspecified",
"discardRoute": "ext,int",
"dist": "110",
"downbitIgnore": "no",
"maxEcmp": "8",
"modTs": "2016-12-13T02:57:36.789+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "default",
"operRtrId": "0.0.0.0",
"operSt": "down",
"persistentOnReload": "true",
"rfc1583Compat": "no",
"rn": "dom-default",
"rtrId": "0.0.0.0",
"status": "",
"uid": "0"
},
"children": [
{
"ospfGr": {
"attributes": {
"childAction": "",
"ctrl": "complete",
"gracePeriod": "60",
"helper": "yes",
"modTs": "2016-12-13T02:57:36.789+00:00",
"persistentOnReload": "true",
"restartAge": "0",
"restartExitReason": "none",
"restartStatus": "not-restarting",
"rn": "gr",
"status": "",
"uid": "0"
}
}
},
{
"ospfArea": {
"attributes": {
"asbrCnt": "0",
"authType": "unspecified",
"brCnt": "0",
"childAction": "",
"cost": "1",
"ctrl": "",
"id": "0.0.0.10",
"lsaCksumSum": "0",
"modTs": "2016-12-14T22:38:25.014+00:00",
"monPolDn": "uni/fabric/monfab-default",
"nssaTransRole": "candidate",
"nssaTransSt": "elected",
"nssaTransStabIntvl": "40",
"persistentOnReload": "true",
"rn": "area-0.0.0.10",
"status": "",
"type": "regular",
"uid": "0"
},
"children": [
{
"ospfVLink": {
"attributes": {
"childAction": "",
"deadIntvl": "unspecified",
"helloIntvl": "10",
"modTs": "2016-12-14T22:38:25.014+00:00",
"monPolDn": "uni/fabric/monfab-default",
"nbrRtrId": "10.1.2.3",
"persistentOnReload": "true",
"rexmitIntvl": "5",
"rn": "vlink-10.1.2.3",
"status": "",
"uid": "0",
"xmitDelay": "1"
}}}]}}]}}]}}]}
Displays OSPF information.
CLI Command
The CLI command below is the equivalent to the payload example displayed in the pane on the right.
show ip ospf my_ospf
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 OSPF Neighbors
Querying OSPF Neighbors
GET http://<IP_Address>/api/node/mo/sys/ospf/inst-my_ospf.json?rsp-subtree=full
Displays OSPF information.
CLI Command
The CLI command below is the equivalent to the payload example displayed in the pane on the right.
show ip ospf my_ospf
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 VRF Information
Querying VRF Information
GET http://<IP_Address>/api/mo/sys/ospf.json?rsp-subtree=full
{
"totalCount": "1",
"imdata": [
{
"ospfEntity": {
"attributes": {
"adminSt": "enabled",
"childAction": "",
"dn": "sys/ospf",
"modTs": "2018-01-02T14:44:46.339+00:00",
"monPolDn": "uni/fabric/monfab-default",
"operErr": "",
"operSt": "enabled",
"persistentOnReload": "true",
"status": "",
"uid": "0"
},
"children": [
{
"ospfInst": {
"attributes": {
"adminSt": "enabled",
"childAction": "",
"ctrl": "",
"memAlert": "normal",
"modTs": "2018-01-02T15:42:23.496+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "100",
"operErr": "",
"persistentOnReload": "true",
"rn": "inst-100",
"status": "",
"uid": "0"
},
"children": [
{
"ospfDom": {
"attributes": {
"adjChangeLogLevel": "none",
"adminSt": "enabled",
"bwRef": "40000",
"bwRefUnit": "mbps",
"capVrfLite": "unspecified",
"childAction": "",
"ctrl": "",
"defMetric": "0",
"discardRoute": "ext,int",
"dist": "110",
"downbitIgnore": "no",
"maxEcmp": "8",
"modTs": "2018-01-02T15:42:25.266+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "default",
"operRtrId": "1.1.1.1",
"operSt": "up",
"persistentOnReload": "true",
"rfc1583Compat": "no",
"rn": "dom-default",
"rtrId": "1.1.1.1",
"status": "",
"uid": "0"
},
"children": [
{
"ospfGr": {
"attributes": {
"childAction": "",
"ctrl": "complete",
"gracePeriod": "60",
"helper": "yes",
"modTs": "2018-01-02T15:42:23.496+00:00",
"persistentOnReload": "true",
"restartAge": "0",
"restartExitReason": "none",
"restartStatus": "not-restarting",
"rn": "gr",
"status": "",
"uid": "0"
}}},{
"ospfArea": {
"attributes": {
"asbrCnt": "0",
"authType": "unspecified",
"brCnt": "0",
"childAction": "",
"cost": "1",
"ctrl": "",
"id": "0.0.0.0",
"lsaCksumSum": "0",
"modTs": "2018-01-02T15:42:25.141+00:00",
"monPolDn": "uni/fabric/monfab-default",
"nssaTransRole": "candidate",
"nssaTransSt": "disabled",
"nssaTransStabIntvl": "40",
"persistentOnReload": "true",
"rn": "area-0.0.0.0",
"status": "",
"type": "regular",
"uid": "0"
},
"children": [
{
"ospfAreaStats": {
"attributes": {
"activeIfCnt": "4",
"adjCnt": "2",
"areaCreatedTs": "2018-01-02T15:42:25.390+00:00",
"grHelperPeerCnt": "0",
"ifCnt": "4",
"lastSpfDuration": "1365",
"lpbkIfCnt": "2",
"lsaCnt": "14",
"passiveIfCnt": "0",
"rn": "areastats",
"spfRuns": "15"
}}},{
"ospfDb": {
"attributes": {
"name": "",
"rn": "db-ls",
"type": "ls"
},
"children": [
{
"ospfLsaRec": {
"attributes": {
"advRtr": "8.8.8.8",
"advert": "0,1,2,2,60,60,60,2,8,8,8,8,128,0,0,43,242,66,0,32,255,255,255,0,8,8,8,8,1,1,1,1,0,0,0,0",
"age": "1",
"arrivalTs": "2018-01-03T12:27:07.004+00:00",
"cksum": "62018",
"id": "60.60.60.2",
"name": "",
"rn": "lsa-nw-60.60.60.2-8.8.8.8",
"seq": "2147483691",
"type": "nw"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "8.8.8.8",
"advert": "0,1,2,2,70,70,70,2,8,8,8,8,128,0,0,43,237,33,0,32,255,255,255,0,8,8,8,8,3,3,3,3,0,0,0,0",
"age": "1",
"arrivalTs": "2018-01-03T12:28:57.107+00:00",
"cksum": "60705",
"id": "70.70.70.2",
"name": "",
"rn": "lsa-nw-70.70.70.2-8.8.8.8",
"seq": "2147483691",
"type": "nw"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "7.7.7.7",
"advert": "0,1,2,2,37,37,37,7,7,7,7,7,128,0,0,43,96,21,0,32,255,255,255,0,7,7,7,7,3,3,3,3,0,0,0,0",
"age": "1",
"arrivalTs": "2018-01-03T12:29:01.509+00:00",
"cksum": "24597",
"id": "37.37.37.7",
"name": "",
"rn": "lsa-nw-37.37.37.7-7.7.7.7",
"seq": "2147483691",
"type": "nw"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "7.7.7.7",
"advert": "0,1,2,2,17,17,17,7,7,7,7,7,128,0,0,43,206,234,0,32,255,255,255,0,7,7,7,7,1,1,1,1,0,0,0,0",
"age": "1",
"arrivalTs": "2018-01-03T12:27:11.479+00:00",
"cksum": "52970",
"id": "17.17.17.7",
"name": "",
"rn": "lsa-nw-17.17.17.7-7.7.7.7",
"seq": "2147483691",
"type": "nw"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "8.8.8.8",
"advert": "0,1,2,2,90,90,90,1,8,8,8,8,128,0,0,43,87,120,0,32,255,255,255,0,8,8,8,8,4,4,4,4,0,0,0,0",
"age": "1",
"arrivalTs": "2018-01-03T12:24:17.023+00:00",
"cksum": "22392",
"id": "90.90.90.1",
"name": "",
"rn": "lsa-nw-90.90.90.1-8.8.8.8",
"seq": "2147483691",
"type": "nw"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "7.7.7.7",
"advert": "0,1,2,1,7,7,7,7,7,7,7,7,128,0,0,52,112,222,0,84,0,0,0,5,17,17,17,7,17,17,17,7,2,0,0,1",
"age": "1",
"arrivalTs": "2018-01-03T12:29:01.509+00:00",
"cksum": "28894",
"id": "7.7.7.7",
"name": "",
"rn": "lsa-router-7.7.7.7-7.7.7.7",
"seq": "2147483700",
"type": "router"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "8.8.8.8",
"advert": "0,1,2,2,50,50,50,2,8,8,8,8,128,0,0,43,142,192,0,32,255,255,255,0,8,8,8,8,2,2,2,2,0,0,0,0",
"age": "1",
"arrivalTs": "2018-01-03T12:27:07.004+00:00",
"cksum": "36544",
"id": "50.50.50.2",
"name": "",
"rn": "lsa-nw-50.50.50.2-8.8.8.8",
"seq": "2147483691",
"type": "nw"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "1.1.1.1",
"advert": "0,0,2,1,1,1,1,1,1,1,1,1,128,0,0,46,223,191,0,84,0,0,0,5,17,17,17,7,17,17,17,1,2,0,0,1",
"age": "0",
"arrivalTs": "2018-01-03T12:29:31.184+00:00",
"cksum": "57279",
"id": "1.1.1.1",
"name": "",
"rn": "lsa-router-1.1.1.1-1.1.1.1",
"seq": "2147483694",
"type": "router"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "7.7.7.7",
"advert": "0,1,2,2,47,47,47,7,7,7,7,7,128,0,0,43,41,42,0,32,255,255,255,0,7,7,7,7,4,4,4,4,0,0,0,0",
"age": "1",
"arrivalTs": "2018-01-03T12:24:21.405+00:00",
"cksum": "10538",
"id": "47.47.47.7",
"name": "",
"rn": "lsa-nw-47.47.47.7-7.7.7.7",
"seq": "2147483691",
"type": "nw"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "3.3.3.3",
"advert": "0,2,2,1,3,3,3,3,3,3,3,3,128,0,0,47,35,251,0,84,0,0,0,5,37,37,37,7,37,37,37,3,2,0,0,1",
"age": "2",
"arrivalTs": "2018-01-03T12:31:32.080+00:00",
"cksum": "9211",
"id": "3.3.3.3",
"name": "",
"rn": "lsa-router-3.3.3.3-3.3.3.3",
"seq": "2147483695",
"type": "router"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "8.8.8.8",
"advert": "0,1,2,1,8,8,8,8,8,8,8,8,128,0,0,52,232,45,0,84,0,0,0,5,60,60,60,2,60,60,60,2,2,0,0,1",
"age": "1",
"arrivalTs": "2018-01-03T12:28:57.107+00:00",
"cksum": "59437",
"id": "8.8.8.8",
"name": "",
"rn": "lsa-router-8.8.8.8-8.8.8.8",
"seq": "2147483700",
"type": "router"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "4.4.4.4",
"advert": "0,2,2,1,4,4,4,4,4,4,4,4,128,0,0,46,207,98,0,84,0,0,0,5,47,47,47,7,47,47,47,4,2,0,0,1",
"age": "2",
"arrivalTs": "2018-01-03T12:31:25.995+00:00",
"cksum": "53090",
"id": "4.4.4.4",
"name": "",
"rn": "lsa-router-4.4.4.4-4.4.4.4",
"seq": "2147483694",
"type": "router"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "2.2.2.2",
"advert": "0,2,2,1,2,2,2,2,2,2,2,2,128,0,0,45,1,102,0,84,0,0,0,5,27,27,27,7,27,27,27,2,2,0,0,1",
"age": "2",
"arrivalTs": "2018-01-03T12:29:34.481+00:00",
"cksum": "358",
"id": "2.2.2.2",
"name": "",
"rn": "lsa-router-2.2.2.2-2.2.2.2",
"seq": "2147483693",
"type": "router"
}}},{
"ospfLsaRec": {
"attributes": {
"advRtr": "7.7.7.7",
"advert": "0,1,2,2,27,27,27,7,7,7,7,7,128,0,0,43,151,255,0,32,255,255,255,0,7,7,7,7,2,2,2,2,0,0,0,0",
"age": "1",
"arrivalTs": "2018-01-03T12:27:11.479+00:00",
"cksum": "38911",
"id": "27.27.27.7",
"name": "",
"rn": "lsa-nw-27.27.27.7-7.7.7.7",
"seq": "2147483691",
"type": "nw"
}}}]}}]}},{
"ospfIf": {
"attributes": {
"addr": "11.11.11.11/24",
"adminSt": "enabled",
"advertiseSecondaries": "yes",
"area": "0.0.0.0",
"bdr": "0.0.0.0/32",
"bdrId": "0.0.0.0",
"bfdCtrl": "unspecified",
"childAction": "",
"cost": "unspecified",
"ctrl": "",
"deadIntvl": "unspecified",
"dr": "0.0.0.0/32",
"drId": "0.0.0.0",
"failStQual": "",
"flags": "admin-up,proto-up",
"helloIntvl": "10",
"id": "lo2",
"lsaCksumSum": "0",
"modTs": "2018-01-02T15:42:25.160+00:00",
"monPolDn": "uni/fabric/monfab-default",
"nwT": "unspecified",
"operCost": "1",
"operDeadIntvl": "40",
"operSt": "loopback",
"passiveCtrl": "unspecified",
"persistentOnReload": "true",
"prio": "1",
"rexmitIntvl": "5",
"rn": "if-[lo2]",
"status": "",
"type": "loopback",
"uid": "0",
"xmitDelay": "1"
},
"children": [
{
"ospfIfStats": {
"attributes": {
"adjCnt": "0",
"evCnt": "1",
"floodToPeerCnt": "0",
"grHelperPeerCnt": "0",
"lsaCnt": "0",
"peerCnt": "0",
"rn": "ifstats"
}}}]}},{
"ospfIf": {
"attributes": {
"addr": "1.1.1.1/32",
"adminSt": "enabled",
"advertiseSecondaries": "yes",
"area": "0.0.0.0",
"bdr": "0.0.0.0/32",
"bdrId": "0.0.0.0",
"bfdCtrl": "unspecified",
"childAction": "",
"cost": "unspecified",
"ctrl": "",
"deadIntvl": "unspecified",
"dr": "0.0.0.0/32",
"drId": "0.0.0.0",
"failStQual": "",
"flags": "admin-up,proto-up",
"helloIntvl": "10",
"id": "lo1",
"lsaCksumSum": "0",
"modTs": "2018-01-02T15:42:25.154+00:00",
"monPolDn": "uni/fabric/monfab-default",
"nwT": "unspecified",
"operCost": "1",
"operDeadIntvl": "40",
"operSt": "loopback",
"passiveCtrl": "unspecified",
"persistentOnReload": "true",
"prio": "1",
"rexmitIntvl": "5",
"rn": "if-[lo1]",
"status": "",
"type": "loopback",
"uid": "0",
"xmitDelay": "1"
},
"children": [
{
"ospfIfStats": {
"attributes": {
"adjCnt": "0",
"evCnt": "1",
"floodToPeerCnt": "0",
"grHelperPeerCnt": "0",
"lsaCnt": "0",
"peerCnt": "0",
"rn": "ifstats"
}}}]}},{
"ospfIf": {
"attributes": {
"addr": "60.60.60.1/24",
"adminSt": "enabled",
"advertiseSecondaries": "yes",
"area": "0.0.0.0",
"bdr": "60.60.60.1/32",
"bdrId": "1.1.1.1",
"bfdCtrl": "unspecified",
"childAction": "",
"cost": "unspecified",
"ctrl": "",
"deadIntvl": "unspecified",
"dr": "60.60.60.2/32",
"drId": "8.8.8.8",
"failStQual": "",
"flags": "admin-up,proto-up",
"helloIntvl": "10",
"id": "eth1/50",
"lsaCksumSum": "0",
"modTs": "2018-01-02T15:42:25.149+00:00",
"monPolDn": "uni/fabric/monfab-default",
"nwT": "unspecified",
"operCost": "1",
"operDeadIntvl": "40",
"operSt": "bdr",
"passiveCtrl": "unspecified",
"persistentOnReload": "true",
"prio": "1",
"rexmitIntvl": "5",
"rn": "if-[eth1/50]",
"status": "",
"type": "bcast",
"uid": "0",
"xmitDelay": "1"
},
"children": [
{
"ospfAdjEp": {
"attributes": {
"area": "0.0.0.0",
"bdr": "60.60.60.1",
"bfdSt": "down",
"dbdOptions": "66",
"dr": "60.60.60.2",
"flags": "all-dbds-acked,all-dbds-sent",
"helloOptions": "2",
"id": "8.8.8.8",
"ifId": "0",
"name": "",
"operSt": "full",
"peerIp": "60.60.60.2",
"peerName": "",
"prio": "1",
"rn": "adj-8.8.8.8"
},
"children": [
{
"ospfAdjStats": {
"attributes": {
"dbdSeqNum": "154334347",
"deadTimerExpTs": "2018-01-03T12:33:00.450+00:00",
"lastNonHelloPktTs": "2018-01-03T12:31:32.080+00:00",
"lastStChgTs": "2018-01-02T15:43:05.441+00:00",
"lsaReqRexmitCnt": "0",
"outstandingLsaCnt": "0",
"reqLsaCnt": "0",
"rn": "adjstats",
"stChgCnt": "6"
}}},{
"ospfGrSt": {
"attributes": {
"helperAge": "0",
"helperExitQual": "none",
"helperSt": "not-helping",
"rn": "gr"
}}}]}},{
"ospfTrafficStats": {
"attributes": {
"badAuthPktsRcvd": "0",
"badCRCPktsRcvd": "0",
"badLenPktsRcvd": "0",
"badResvFieldPktsRcvd": "0",
"badVersionPktsRcvd": "0",
"dbdPktsRcvd": "3",
"dbdPktsSent": "4",
"droppedLsaPktsWhileGR": "0",
"droppedLsaPktsWhileSPF": "0",
"droppedSendPkts": "0",
"dupRtrIdPktsRcvd": "0",
"dupSrcAddrPktsRcvd": "0",
"errDbdPktsRcvd": "0",
"errHelloPktsRcvd": "0",
"errLsAckPktsRcvd": "0",
"errLsReqPktsRcvd": "0",
"errLsUpdPktsRcvd": "0",
"errPktsRcvd": "0",
"errSendPkts": "0",
"floodPktSendIpThrottle": "0",
"floodPktSendTokenThrottle": "0",
"helloPktsRcvd": "8551",
"helloPktsSent": "8560",
"invalidDestAddrPktsRcvd": "0",
"invalidSrcAddrPktsRcvd": "0",
"lastStatsClearTs": "2018-01-02T15:42:25.396+00:00",
"lsAckPktsRcvd": "169",
"lsAckPktsSent": "256",
"lsReqPktsRcvd": "1",
"lsReqPktsSent": "1",
"lsUpdPktsRcvd": "258",
"lsUpdPktsSent": "175",
"lsuFirstTxPkts": "173",
"lsuForLsreqPkts": "1",
"lsuPeerTxPkts": "0",
"lsuRexmitPkts": "1",
"noOspfIntfPktsRcvd": "0",
"passiveIntfPktsRcvd": "0",
"peerNotFoundPktsRcvd": "0",
"peerRtrIdChgdPktsRcvd": "0",
"rcvdLsaPktsIgnored": "0",
"rcvdPktsDropped": "0",
"rn": "trstats",
"totalPktsRcvd": "8982",
"totalPktsSent": "8996",
"unknownPktsRcvd": "0",
"unknownSendPkts": "0",
"wrongAreaPktsRcvd": "0"
}}},{
"ospfIfStats": {
"attributes": {
"adjCnt": "1",
"evCnt": "2",
"floodToPeerCnt": "1",
"grHelperPeerCnt": "0",
"lsaCnt": "0",
"peerCnt": "1",
"rn": "ifstats"
}}}]}},{
"ospfIf": {
"attributes": {
"addr": "17.17.17.1/24",
"adminSt": "enabled",
"advertiseSecondaries": "yes",
"area": "0.0.0.0",
"bdr": "17.17.17.1/32",
"bdrId": "1.1.1.1",
"bfdCtrl": "unspecified",
"childAction": "",
"cost": "unspecified",
"ctrl": "",
"deadIntvl": "unspecified",
"dr": "17.17.17.7/32",
"drId": "7.7.7.7",
"failStQual": "",
"flags": "admin-up,proto-up",
"helloIntvl": "10",
"id": "eth1/49",
"lsaCksumSum": "0",
"modTs": "2018-01-02T15:42:25.143+00:00",
"monPolDn": "uni/fabric/monfab-default",
"nwT": "unspecified",
"operCost": "1",
"operDeadIntvl": "40",
"operSt": "bdr",
"passiveCtrl": "unspecified",
"persistentOnReload": "true",
"prio": "1",
"rexmitIntvl": "5",
"rn": "if-[eth1/49]",
"status": "",
"type": "bcast",
"uid": "0",
"xmitDelay": "1"
},
"children": [
{
"ospfAdjEp": {
"attributes": {
"area": "0.0.0.0",
"bdr": "17.17.17.1",
"bfdSt": "down",
"dbdOptions": "66",
"dr": "17.17.17.7",
"flags": "all-dbds-acked,all-dbds-sent",
"helloOptions": "2",
"id": "7.7.7.7",
"ifId": "0",
"name": "",
"operSt": "full",
"peerIp": "17.17.17.7",
"peerName": "",
"prio": "1",
"rn": "adj-7.7.7.7"
},
"children": [
{
"ospfAdjStats": {
"attributes": {
"dbdSeqNum": "1675189442",
"deadTimerExpTs": "2018-01-03T12:33:02.231+00:00",
"lastNonHelloPktTs": "2018-01-03T12:31:32.105+00:00",
"lastStChgTs": "2018-01-02T15:43:05.431+00:00",
"lsaReqRexmitCnt": "0",
"outstandingLsaCnt": "0",
"reqLsaCnt": "0",
"rn": "adjstats",
"stChgCnt": "6"
}}},{
"ospfGrSt": {
"attributes": {
"helperAge": "0",
"helperExitQual": "none",
"helperSt": "not-helping",
"rn": "gr"
}}}]}},{
"ospfTrafficStats": {
"attributes": {
"badAuthPktsRcvd": "0",
"badCRCPktsRcvd": "0",
"badLenPktsRcvd": "0",
"badResvFieldPktsRcvd": "0",
"badVersionPktsRcvd": "0",
"dbdPktsRcvd": "3",
"dbdPktsSent": "4",
"droppedLsaPktsWhileGR": "0",
"droppedLsaPktsWhileSPF": "0",
"droppedSendPkts": "0",
"dupRtrIdPktsRcvd": "0",
"dupSrcAddrPktsRcvd": "0",
"errDbdPktsRcvd": "0",
"errHelloPktsRcvd": "0",
"errLsAckPktsRcvd": "0",
"errLsReqPktsRcvd": "0",
"errLsUpdPktsRcvd": "0",
"errPktsRcvd": "0",
"errSendPkts": "0",
"floodPktSendIpThrottle": "0",
"floodPktSendTokenThrottle": "0",
"helloPktsRcvd": "8565",
"helloPktsSent": "8575",
"invalidDestAddrPktsRcvd": "0",
"invalidSrcAddrPktsRcvd": "0",
"lastStatsClearTs": "2018-01-02T15:42:25.390+00:00",
"lsAckPktsRcvd": "170",
"lsAckPktsSent": "256",
"lsReqPktsRcvd": "1",
"lsReqPktsSent": "1",
"lsUpdPktsRcvd": "258",
"lsUpdPktsSent": "175",
"lsuFirstTxPkts": "173",
"lsuForLsreqPkts": "1",
"lsuPeerTxPkts": "0",
"lsuRexmitPkts": "1",
"noOspfIntfPktsRcvd": "0",
"passiveIntfPktsRcvd": "0",
"peerNotFoundPktsRcvd": "0",
"peerRtrIdChgdPktsRcvd": "0",
"rcvdLsaPktsIgnored": "0",
"rcvdPktsDropped": "0",
"rn": "trstats",
"totalPktsRcvd": "8997",
"totalPktsSent": "9011",
"unknownPktsRcvd": "0",
"unknownSendPkts": "0",
"wrongAreaPktsRcvd": "0"
}}},{
"ospfIfStats": {
"attributes": {
"adjCnt": "1",
"evCnt": "2",
"floodToPeerCnt": "1",
"grHelperPeerCnt": "0",
"lsaCnt": "0",
"peerCnt": "1",
"rn": "ifstats"
}}}]}},{
"ospfTrafficStats": {
"attributes": {
"badAuthPktsRcvd": "0",
"badCRCPktsRcvd": "0",
"badLenPktsRcvd": "0",
"badResvFieldPktsRcvd": "0",
"badVersionPktsRcvd": "0",
"dbdPktsRcvd": "6",
"dbdPktsSent": "8",
"droppedLsaPktsWhileGR": "0",
"droppedLsaPktsWhileSPF": "0",
"droppedSendPkts": "0",
"dupRtrIdPktsRcvd": "0",
"dupSrcAddrPktsRcvd": "0",
"errDbdPktsRcvd": "0",
"errHelloPktsRcvd": "0",
"errLsAckPktsRcvd": "0",
"errLsReqPktsRcvd": "0",
"errLsUpdPktsRcvd": "0",
"errPktsRcvd": "0",
"errSendPkts": "0",
"floodPktSendIpThrottle": "0",
"floodPktSendTokenThrottle": "0",
"helloPktsRcvd": "17127",
"helloPktsSent": "17145",
"invalidDestAddrPktsRcvd": "0",
"invalidSrcAddrPktsRcvd": "0",
"lastStatsClearTs": "2018-01-02T15:42:25.371+00:00",
"lsAckPktsRcvd": "339",
"lsAckPktsSent": "512",
"lsReqPktsRcvd": "2",
"lsReqPktsSent": "2",
"lsUpdPktsRcvd": "516",
"lsUpdPktsSent": "350",
"lsuFirstTxPkts": "346",
"lsuForLsreqPkts": "2",
"lsuPeerTxPkts": "0",
"lsuRexmitPkts": "2",
"noOspfIntfPktsRcvd": "0",
"passiveIntfPktsRcvd": "0",
"peerNotFoundPktsRcvd": "0",
"peerRtrIdChgdPktsRcvd": "0",
"rcvdLsaPktsIgnored": "0",
"rcvdPktsDropped": "0",
"rn": "trstats",
"totalPktsRcvd": "17990",
"totalPktsSent": "18017",
"unknownPktsRcvd": "0",
"unknownSendPkts": "0",
"wrongAreaPktsRcvd": "0"
}}},{
"ospfDomStats": {
"attributes": {
"activeAreaCnt": "1",
"activeExtAreaCnt": "1",
"activeNssaAreaCnt": "0",
"activeStubAreaCnt": "0",
"areaBdrRtr": "0",
"areaCnt": "1",
"asBdrRtr": "0",
"extAreaCnt": "1",
"extLsaCnt": "0",
"ifCnt": "4",
"lastStatsClearTs": "2018-01-02T15:42:25.371+00:00",
"newLsaRxCnt": "560",
"newLsaTxCnt": "4",
"nssaAreaCnt": "0",
"opaqueAsLsaCnt": "0",
"peerCnt": "2",
"rn": "domstats",
"stubAreaCnt": "0",
"totalAsLsaCnt": "0"
}}},{
"ospfDb": {
"attributes": {
"name": "",
"rn": "db-rt",
"type": "rt"
},
"children": [
{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "3",
"name": "",
"pathT": "intra",
"pfx": "22.22.22.22/32",
"rn": "rt-[22.22.22.22/32]",
"tag": "0",
"ucastCost": "3"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}},{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "3",
"name": "",
"pathT": "intra",
"pfx": "34.34.34.34/32",
"rn": "rt-[34.34.34.34/32]",
"tag": "0",
"ucastCost": "3"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}},{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "3",
"name": "",
"pathT": "intra",
"pfx": "4.4.4.4/32",
"rn": "rt-[4.4.4.4/32]",
"tag": "0",
"ucastCost": "3"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}},{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "3",
"name": "",
"pathT": "intra",
"pfx": "44.44.44.44/32",
"rn": "rt-[44.44.44.44/32]",
"tag": "0",
"ucastCost": "3"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}},{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "2",
"name": "",
"pathT": "intra",
"pfx": "70.70.70.0/24",
"rn": "rt-[70.70.70.0/24]",
"tag": "0",
"ucastCost": "2"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "direct,v4",
"mcastCost": "1",
"name": "",
"pathT": "intra",
"pfx": "1.1.1.1/32",
"rn": "rt-[1.1.1.1/32]",
"tag": "0",
"ucastCost": "1"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "1.1.1.1",
"flags": "direct,v4",
"if": "lo1",
"name": "",
"rn": "ucnh-[lo1]-[1.1.1.1]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "2",
"name": "",
"pathT": "intra",
"pfx": "50.50.50.0/24",
"rn": "rt-[50.50.50.0/24]",
"tag": "0",
"ucastCost": "2"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "direct,v4",
"mcastCost": "1",
"name": "",
"pathT": "intra",
"pfx": "12.12.12.12/32",
"rn": "rt-[12.12.12.12/32]",
"tag": "0",
"ucastCost": "1"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "12.12.12.12",
"flags": "direct,v4",
"if": "lo2",
"name": "",
"rn": "ucnh-[lo2]-[12.12.12.12]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "3",
"name": "",
"pathT": "intra",
"pfx": "2.2.2.2/32",
"rn": "rt-[2.2.2.2/32]",
"tag": "0",
"ucastCost": "3"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}},{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "2",
"name": "",
"pathT": "intra",
"pfx": "90.90.90.0/24",
"rn": "rt-[90.90.90.0/24]",
"tag": "0",
"ucastCost": "2"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "2",
"name": "",
"pathT": "intra",
"pfx": "47.47.47.0/24",
"rn": "rt-[47.47.47.0/24]",
"tag": "0",
"ucastCost": "2"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "2",
"name": "",
"pathT": "intra",
"pfx": "8.8.8.8/32",
"rn": "rt-[8.8.8.8/32]",
"tag": "0",
"ucastCost": "2"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "direct,v4",
"mcastCost": "1",
"name": "",
"pathT": "intra",
"pfx": "11.11.11.11/32",
"rn": "rt-[11.11.11.11/32]",
"tag": "0",
"ucastCost": "1"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "11.11.11.11",
"flags": "direct,v4",
"if": "lo2",
"name": "",
"rn": "ucnh-[lo2]-[11.11.11.11]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "2",
"name": "",
"pathT": "intra",
"pfx": "37.37.37.0/24",
"rn": "rt-[37.37.37.0/24]",
"tag": "0",
"ucastCost": "2"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "direct,v4",
"mcastCost": "1",
"name": "",
"pathT": "intra",
"pfx": "17.17.17.0/24",
"rn": "rt-[17.17.17.0/24]",
"tag": "0",
"ucastCost": "1"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.1",
"flags": "direct,v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.1]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "direct,v4",
"mcastCost": "1",
"name": "",
"pathT": "intra",
"pfx": "60.60.60.0/24",
"rn": "rt-[60.60.60.0/24]",
"tag": "0",
"ucastCost": "1"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.1",
"flags": "direct,v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.1]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "3",
"name": "",
"pathT": "intra",
"pfx": "33.33.33.33/32",
"rn": "rt-[33.33.33.33/32]",
"tag": "0",
"ucastCost": "3"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}}, {
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "2",
"name": "",
"pathT": "intra",
"pfx": "27.27.27.0/24",
"rn": "rt-[27.27.27.0/24]",
"tag": "0",
"ucastCost": "2"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "3",
"name": "",
"pathT": "intra",
"pfx": "3.3.3.3/32",
"rn": "rt-[3.3.3.3/32]",
"tag": "0",
"ucastCost": "3"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "60.60.60.2",
"flags": "v4",
"if": "eth1/50",
"name": "",
"rn": "ucnh-[eth1/50]-[60.60.60.2]"
}}}, {
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}},{
"ospfRoute": {
"attributes": {
"area": "0.0.0.0",
"dist": "110",
"flags": "in-rib,v4",
"mcastCost": "2",
"name": "",
"pathT": "intra",
"pfx": "7.7.7.7/32",
"rn": "rt-[7.7.7.7/32]",
"tag": "0",
"ucastCost": "2"
},
"children": [
{
"ospfUcNexthop": {
"attributes": {
"addr": "17.17.17.7",
"flags": "v4",
"if": "eth1/49",
"name": "",
"rn": "ucnh-[eth1/49]-[17.17.17.7]"
}}}]}}]}}]}}]}}]}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/ospf-items
<ospf-items>
<adminSt>enabled</adminSt>
<if-items>
<InternalIf-list>
<id>eth1/50</id>
<instanceid>0</instanceid>
<addr>0.0.0.0</addr>
<adminSt>enabled</adminSt>
<advertiseSecondaries>true</advertiseSecondaries>
<area>0.0.0.0</area>
<bdr>0.0.0.0</bdr>
<bdrId>0.0.0.0</bdrId>
<bfdCtrl>unspecified</bfdCtrl>
<cost>0</cost>
<deadIntvl>0</deadIntvl>
<dom>default</dom>
<dr>0.0.0.0</dr>
<drId>0.0.0.0</drId>
<failStQual/>
<flags/>
<helloIntvl>10</helloIntvl>
<instance>100</instance>
<lsaCksumSum>0</lsaCksumSum>
<nwT>unspecified</nwT>
<operCost>0</operCost>
<operDeadIntvl>0</operDeadIntvl>
<operSt>down</operSt>
<passiveCtrl>unspecified</passiveCtrl>
<prio>1</prio>
<rexmitIntvl>5</rexmitIntvl>
<type>unspecified</type>
<xmitDelay>1</xmitDelay>
</InternalIf-list>
<InternalIf-list>
<id>lo1</id>
<instanceid>0</instanceid>
<addr>0.0.0.0</addr>
<adminSt>enabled</adminSt>
<advertiseSecondaries>true</advertiseSecondaries>
<area>0.0.0.0</area>
<bdr>0.0.0.0</bdr>
<bdrId>0.0.0.0</bdrId>
<bfdCtrl>unspecified</bfdCtrl>
<cost>0</cost>
<deadIntvl>0</deadIntvl>
<dom>default</dom>
<dr>0.0.0.0</dr>
<drId>0.0.0.0</drId>
<failStQual/>
<flags/>
<helloIntvl>10</helloIntvl>
<instance>100</instance>
<lsaCksumSum>0</lsaCksumSum>
<nwT>unspecified</nwT>
<operCost>0</operCost>
<operDeadIntvl>0</operDeadIntvl>
<operSt>down</operSt>
<passiveCtrl>unspecified</passiveCtrl>
<prio>1</prio>
<rexmitIntvl>5</rexmitIntvl>
<type>unspecified</type>
<xmitDelay>1</xmitDelay>
</InternalIf-list>
<InternalIf-list>
<id>eth1/49</id>
<instanceid>0</instanceid>
<addr>0.0.0.0</addr>
<adminSt>enabled</adminSt>
<advertiseSecondaries>true</advertiseSecondaries>
<area>0.0.0.0</area>
<bdr>0.0.0.0</bdr>
<bdrId>0.0.0.0</bdrId>
<bfdCtrl>unspecified</bfdCtrl>
<cost>0</cost>
<deadIntvl>0</deadIntvl>
<dom>default</dom>
<dr>0.0.0.0</dr>
<drId>0.0.0.0</drId>
<failStQual/>
<flags/>
<helloIntvl>10</helloIntvl>
<instance>100</instance>
<lsaCksumSum>0</lsaCksumSum>
<nwT>unspecified</nwT>
<operCost>0</operCost>
<operDeadIntvl>0</operDeadIntvl>
<operSt>down</operSt>
<passiveCtrl>unspecified</passiveCtrl>
<prio>1</prio>
<rexmitIntvl>5</rexmitIntvl>
<type>unspecified</type>
<xmitDelay>1</xmitDelay>
</InternalIf-list>
<InternalIf-list>
<id>lo2</id>
<instanceid>0</instanceid>
<addr>0.0.0.0</addr>
<adminSt>enabled</adminSt>
<advertiseSecondaries>true</advertiseSecondaries>
<area>0.0.0.0</area>
<bdr>0.0.0.0</bdr>
<bdrId>0.0.0.0</bdrId>
<bfdCtrl>unspecified</bfdCtrl>
<cost>0</cost>
<deadIntvl>0</deadIntvl>
<dom>default</dom>
<dr>0.0.0.0</dr>
<drId>0.0.0.0</drId>
<failStQual/>
<flags/>
<helloIntvl>10</helloIntvl>
<instance>100</instance>
<lsaCksumSum>0</lsaCksumSum>
<nwT>unspecified</nwT>
<operCost>0</operCost>
<operDeadIntvl>0</operDeadIntvl>
<operSt>down</operSt>
<passiveCtrl>unspecified</passiveCtrl>
<prio>1</prio>
<rexmitIntvl>5</rexmitIntvl>
<type>unspecified</type>
<xmitDelay>1</xmitDelay>
</InternalIf-list>
</if-items>
<inst-items>
<Inst-list>
<name>100</name>
<adminSt>enabled</adminSt>
<dom-items>
<Dom-list>
<name>default</name>
<adjChangeLogLevel>none</adjChangeLogLevel>
<adminSt>enabled</adminSt>
<area-items>
<Area-list>
<id>0.0.0.0</id>
<areastats-items>
<activeIfCnt>4</activeIfCnt>
<adjCnt>2</adjCnt>
<areaCreatedTs>2018-01-02T15:42:25.390+00:00</areaCreatedTs>
<grHelperPeerCnt>0</grHelperPeerCnt>
<ifCnt>4</ifCnt>
<lastSpfDuration>1365</lastSpfDuration>
<lpbkIfCnt>2</lpbkIfCnt>
<lsaCnt>14</lsaCnt>
<passiveIfCnt>0</passiveIfCnt>
<spfRuns>15</spfRuns>
</areastats-items>
<asbrCnt>0</asbrCnt>
<authType>unspecified</authType>
<brCnt>0</brCnt>
<cost>1</cost>
<db-items>
<Db-list>
<type>ls</type>
<lsa-items>
<LsaRec-list>
<type>nw</type>
<id>60.60.60.2</id>
<advRtr>8.8.8.8</advRtr>
<advert>0,1,2,2,60,60,60,2,8,8,8,8,128,0,0,42,244,65,0,32,255,255,255,0,8,8,8,8,1,1,1,1,0,0,0,0</advert>
<age>1</age>
<arrivalTs>2018-01-03T11:56:46.398+00:00</arrivalTs>
<cksum>62529</cksum>
<seq>2147483690</seq>
</LsaRec-list>
<LsaRec-list>
<type>nw</type>
<id>70.70.70.2</id>
<advRtr>8.8.8.8</advRtr>
<advert>0,1,2,2,70,70,70,2,8,8,8,8,128,0,0,42,239,32,0,32,255,255,255,0,8,8,8,8,3,3,3,3,0,0,0,0</advert>
<age>1</age>
<arrivalTs>2018-01-03T11:58:36.454+00:00</arrivalTs>
<cksum>61216</cksum>
<seq>2147483690</seq>
</LsaRec-list>
<LsaRec-list>
<type>nw</type>
<id>37.37.37.7</id>
<advRtr>7.7.7.7</advRtr>
<advert>0,1,2,2,37,37,37,7,7,7,7,7,128,0,0,42,98,20,0,32,255,255,255,0,7,7,7,7,3,3,3,3,0,0,0,0</advert>
<age>1</age>
<arrivalTs>2018-01-03T11:58:40.936+00:00</arrivalTs>
<cksum>25108</cksum>
<seq>2147483690</seq>
</LsaRec-list>
<LsaRec-list>
<type>nw</type>
<id>17.17.17.7</id>
<advRtr>7.7.7.7</advRtr>
<advert>0,1,2,2,17,17,17,7,7,7,7,7,128,0,0,42,208,233,0,32,255,255,255,0,7,7,7,7,1,1,1,1,0,0,0,0</advert>
<age>1</age>
<arrivalTs>2018-01-03T11:56:50.836+00:00</arrivalTs>
<cksum>53481</cksum>
<seq>2147483690</seq>
</LsaRec-list>
<LsaRec-list>
<type>nw</type>
<id>90.90.90.1</id>
<advRtr>8.8.8.8</advRtr>
<advert>0,1,2,2,90,90,90,1,8,8,8,8,128,0,0,43,87,120,0,32,255,255,255,0,8,8,8,8,4,4,4,4,0,0,0,0</advert>
<age>1</age>
<arrivalTs>2018-01-03T12:24:17.023+00:00</arrivalTs>
<cksum>22392</cksum>
<seq>2147483691</seq>
</LsaRec-list>
<LsaRec-list>
<type>router</type>
<id>7.7.7.7</id>
<advRtr>7.7.7.7</advRtr>
<advert>0,1,2,1,7,7,7,7,7,7,7,7,128,0,0,51,114,221,0,84,0,0,0,5,17,17,17,7,17,17,17,7,2,0,0,1</advert>
<age>1</age>
<arrivalTs>2018-01-03T11:58:40.936+00:00</arrivalTs>
<cksum>29405</cksum>
<seq>2147483699</seq>
</LsaRec-list>
<LsaRec-list>
<type>nw</type>
<id>50.50.50.2</id>
<advRtr>8.8.8.8</advRtr>
<advert>0,1,2,2,50,50,50,2,8,8,8,8,128,0,0,42,144,191,0,32,255,255,255,0,8,8,8,8,2,2,2,2,0,0,0,0</advert>
<age>1</age>
<arrivalTs>2018-01-03T11:56:46.398+00:00</arrivalTs>
<cksum>37055</cksum>
<seq>2147483690</seq>
</LsaRec-list>
<LsaRec-list>
<type>router</type>
<id>1.1.1.1</id>
<advRtr>1.1.1.1</advRtr>
<advert>0,0,2,1,1,1,1,1,1,1,1,1,128,0,0,45,225,190,0,84,0,0,0,5,17,17,17,7,17,17,17,1,2,0,0,1</advert>
<age>0</age>
<arrivalTs>2018-01-03T11:59:10.558+00:00</arrivalTs>
<cksum>57790</cksum>
<seq>2147483693</seq>
</LsaRec-list>
<LsaRec-list>
<type>nw</type>
<id>47.47.47.7</id>
<advRtr>7.7.7.7</advRtr>
<advert>0,1,2,2,47,47,47,7,7,7,7,7,128,0,0,43,41,42,0,32,255,255,255,0,7,7,7,7,4,4,4,4,0,0,0,0</advert>
<age>1</age>
<arrivalTs>2018-01-03T12:24:21.405+00:00</arrivalTs>
<cksum>10538</cksum>
<seq>2147483691</seq>
</LsaRec-list>
<LsaRec-list>
<type>router</type>
<id>8.8.8.8</id>
<advRtr>8.8.8.8</advRtr>
<advert>0,1,2,1,8,8,8,8,8,8,8,8,128,0,0,51,234,44,0,84,0,0,0,5,60,60,60,2,60,60,60,2,2,0,0,1</advert>
<age>1</age>
<arrivalTs>2018-01-03T11:58:36.454+00:00</arrivalTs>
<cksum>59948</cksum>
<seq>2147483699</seq>
</LsaRec-list>
<LsaRec-list>
<type>router</type>
<id>3.3.3.3</id>
<advRtr>3.3.3.3</advRtr>
<advert>0,2,2,1,3,3,3,3,3,3,3,3,128,0,0,46,37,250,0,84,0,0,0,5,37,37,37,7,37,37,37,3,2,0,0,1</advert>
<age>2</age>
<arrivalTs>2018-01-03T12:01:11.489+00:00</arrivalTs>
<cksum>9722</cksum>
<seq>2147483694</seq>
</LsaRec-list>
<LsaRec-list>
<type>router</type>
<id>4.4.4.4</id>
<advRtr>4.4.4.4</advRtr>
<advert>0,2,2,1,4,4,4,4,4,4,4,4,128,0,0,45,209,97,0,84,0,0,0,5,47,47,47,7,47,47,47,4,2,0,0,1</advert>
<age>2</age>
<arrivalTs>2018-01-03T12:01:05.359+00:00</arrivalTs>
<cksum>53601</cksum>
<seq>2147483693</seq>
</LsaRec-list>
<LsaRec-list>
<type>nw</type>
<id>27.27.27.7</id>
<advRtr>7.7.7.7</advRtr>
<advert>0,1,2,2,27,27,27,7,7,7,7,7,128,0,0,42,153,254,0,32,255,255,255,0,7,7,7,7,2,2,2,2,0,0,0,0</advert>
<age>1</age>
<arrivalTs>2018-01-03T11:56:50.836+00:00</arrivalTs>
<cksum>39422</cksum>
<seq>2147483690</seq>
</LsaRec-list>
<LsaRec-list>
<type>router</type>
<id>2.2.2.2</id>
<advRtr>2.2.2.2</advRtr>
<advert>0,2,2,1,2,2,2,2,2,2,2,2,128,0,0,44,3,101,0,84,0,0,0,5,27,27,27,7,27,27,27,2,2,0,0,1</advert>
<age>2</age>
<arrivalTs>2018-01-03T11:59:13.795+00:00</arrivalTs>
<cksum>869</cksum>
<seq>2147483692</seq>
</LsaRec-list>
</lsa-items>
</Db-list>
</db-items>
<lsaCksumSum>0</lsaCksumSum>
<nssaTransRole>candidate</nssaTransRole>
<nssaTransSt>disabled</nssaTransSt>
<nssaTransStabIntvl>40</nssaTransStabIntvl>
<type>regular</type>
</Area-list>
</area-items>
<bwRef>40000</bwRef>
<bwRefUnit>mbps</bwRefUnit>
<capVrfLite>unspecified</capVrfLite>
<db-items>
<Db-list>
<type>rt</type>
<rt-items>
<Route-list>
<pfx>22.22.22.22/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>3</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>3</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>4.4.4.4/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>3</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>3</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>34.34.34.34/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>3</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>3</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>44.44.44.44/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>3</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>3</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>70.70.70.0/24</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>2</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>2</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>1.1.1.1/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>direct,v4</flags>
<mcastCost>1</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>1</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>lo1</if>
<addr>1.1.1.1</addr>
<flags>direct,v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>50.50.50.0/24</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>2</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>2</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>2.2.2.2/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>3</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>3</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>12.12.12.12/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>direct,v4</flags>
<mcastCost>1</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>1</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>lo2</if>
<addr>12.12.12.12</addr>
<flags>direct,v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>90.90.90.0/24</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>2</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>2</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>8.8.8.8/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>2</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>2</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>47.47.47.0/24</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>2</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>2</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>37.37.37.0/24</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>2</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>2</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>11.11.11.11/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>direct,v4</flags>
<mcastCost>1</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>1</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>lo2</if>
<addr>11.11.11.11</addr>
<flags>direct,v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>17.17.17.0/24</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>direct,v4</flags>
<mcastCost>1</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>1</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.1</addr>
<flags>direct,v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>60.60.60.0/24</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>direct,v4</flags>
<mcastCost>1</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>1</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.1</addr>
<flags>direct,v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>27.27.27.0/24</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>2</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>2</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>33.33.33.33/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>3</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>3</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>7.7.7.7/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>2</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>2</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
<Route-list>
<pfx>3.3.3.3/32</pfx>
<area>0.0.0.0</area>
<dist>110</dist>
<flags>in-rib,v4</flags>
<mcastCost>3</mcastCost>
<pathT>intra</pathT>
<tag>0</tag>
<ucastCost>3</ucastCost>
<ucnh-items>
<UcNexthop-list>
<if>eth1/50</if>
<addr>60.60.60.2</addr>
<flags>v4</flags>
</UcNexthop-list>
<UcNexthop-list>
<if>eth1/49</if>
<addr>17.17.17.7</addr>
<flags>v4</flags>
</UcNexthop-list>
</ucnh-items>
</Route-list>
</rt-items>
</Db-list>
</db-items>
<discardRoute>ext,int</discardRoute>
<dist>110</dist>
<domstats-items>
<activeAreaCnt>1</activeAreaCnt>
<activeExtAreaCnt>1</activeExtAreaCnt>
<activeNssaAreaCnt>0</activeNssaAreaCnt>
<activeStubAreaCnt>0</activeStubAreaCnt>
<areaBdrRtr>0</areaBdrRtr>
<areaCnt>1</areaCnt>
<asBdrRtr>0</asBdrRtr>
<extAreaCnt>1</extAreaCnt>
<extLsaCnt>0</extLsaCnt>
<ifCnt>4</ifCnt>
<lastStatsClearTs>2018-01-02T15:42:25.371+00:00</lastStatsClearTs>
<newLsaRxCnt>549</newLsaRxCnt>
<newLsaTxCnt>4</newLsaTxCnt>
<nssaAreaCnt>0</nssaAreaCnt>
<opaqueAsLsaCnt>0</opaqueAsLsaCnt>
<peerCnt>2</peerCnt>
<stubAreaCnt>0</stubAreaCnt>
<totalAsLsaCnt>0</totalAsLsaCnt>
</domstats-items>
<downbitIgnore>false</downbitIgnore>
<gr-items>
<ctrl>complete</ctrl>
<gracePeriod>60</gracePeriod>
<helper>true</helper>
<restartAge>0</restartAge>
<restartExitReason>none</restartExitReason>
<restartStatus>not-restarting</restartStatus>
</gr-items>
<if-items>
<If-list>
<id>eth1/50</id>
<addr>60.60.60.1/24</addr>
<adj-items>
<AdjEp-list>
<id>8.8.8.8</id>
<adjstats-items>
<dbdSeqNum>154334347</dbdSeqNum>
<deadTimerExpTs>2018-01-03T12:26:08.199+00:00</deadTimerExpTs>
<lastNonHelloPktTs>2018-01-03T12:24:23.962+00:00</lastNonHelloPktTs>
<lastStChgTs>2018-01-02T15:43:05.441+00:00</lastStChgTs>
<lsaReqRexmitCnt>0</lsaReqRexmitCnt>
<outstandingLsaCnt>0</outstandingLsaCnt>
<reqLsaCnt>0</reqLsaCnt>
<stChgCnt>6</stChgCnt>
</adjstats-items>
<area>0.0.0.0</area>
<bdr>60.60.60.1</bdr>
<bfdSt>down</bfdSt>
<dbdOptions>66</dbdOptions>
<dr>60.60.60.2</dr>
<flags>all-dbds-acked,all-dbds-sent</flags>
<gr-items>
<helperAge>0</helperAge>
<helperExitQual>none</helperExitQual>
<helperSt>not-helping</helperSt>
</gr-items>
<helloOptions>2</helloOptions>
<ifId>0</ifId>
<operSt>full</operSt>
<peerIp>60.60.60.2</peerIp>
<peerName/>
<prio>1</prio>
</AdjEp-list>
</adj-items>
<adminSt>enabled</adminSt>
<advertiseSecondaries>true</advertiseSecondaries>
<area>0.0.0.0</area>
<bdr>60.60.60.1/32</bdr>
<bdrId>1.1.1.1</bdrId>
<bfdCtrl>unspecified</bfdCtrl>
<cost>0</cost>
<deadIntvl>0</deadIntvl>
<dr>60.60.60.2/32</dr>
<drId>8.8.8.8</drId>
<failStQual/>
<flags>admin-up,proto-up</flags>
<helloIntvl>10</helloIntvl>
<ifstats-items>
<adjCnt>1</adjCnt>
<evCnt>2</evCnt>
<floodToPeerCnt>1</floodToPeerCnt>
<grHelperPeerCnt>0</grHelperPeerCnt>
<lsaCnt>0</lsaCnt>
<peerCnt>1</peerCnt>
</ifstats-items>
<lsaCksumSum>0</lsaCksumSum>
<nwT>unspecified</nwT>
<operCost>1</operCost>
<operDeadIntvl>40</operDeadIntvl>
<operSt>bdr</operSt>
<passiveCtrl>unspecified</passiveCtrl>
<prio>1</prio>
<rexmitIntvl>5</rexmitIntvl>
<trstats-items>
<badAuthPktsRcvd>0</badAuthPktsRcvd>
<badCRCPktsRcvd>0</badCRCPktsRcvd>
<badLenPktsRcvd>0</badLenPktsRcvd>
<badResvFieldPktsRcvd>0</badResvFieldPktsRcvd>
<badVersionPktsRcvd>0</badVersionPktsRcvd>
<dbdPktsRcvd>3</dbdPktsRcvd>
<dbdPktsSent>4</dbdPktsSent>
<droppedLsaPktsWhileGR>0</droppedLsaPktsWhileGR>
<droppedLsaPktsWhileSPF>0</droppedLsaPktsWhileSPF>
<droppedSendPkts>0</droppedSendPkts>
<dupRtrIdPktsRcvd>0</dupRtrIdPktsRcvd>
<dupSrcAddrPktsRcvd>0</dupSrcAddrPktsRcvd>
<errDbdPktsRcvd>0</errDbdPktsRcvd>
<errHelloPktsRcvd>0</errHelloPktsRcvd>
<errLsAckPktsRcvd>0</errLsAckPktsRcvd>
<errLsReqPktsRcvd>0</errLsReqPktsRcvd>
<errLsUpdPktsRcvd>0</errLsUpdPktsRcvd>
<errPktsRcvd>0</errPktsRcvd>
<errSendPkts>0</errSendPkts>
<floodPktSendIpThrottle>0</floodPktSendIpThrottle>
<floodPktSendTokenThrottle>0</floodPktSendTokenThrottle>
<helloPktsRcvd>8502</helloPktsRcvd>
<helloPktsSent>8512</helloPktsSent>
<invalidDestAddrPktsRcvd>0</invalidDestAddrPktsRcvd>
<invalidSrcAddrPktsRcvd>0</invalidSrcAddrPktsRcvd>
<lastStatsClearTs>2018-01-02T15:42:25.396+00:00</lastStatsClearTs>
<lsAckPktsRcvd>166</lsAckPktsRcvd>
<lsAckPktsSent>251</lsAckPktsSent>
<lsReqPktsRcvd>1</lsReqPktsRcvd>
<lsReqPktsSent>1</lsReqPktsSent>
<lsUpdPktsRcvd>253</lsUpdPktsRcvd>
<lsUpdPktsSent>172</lsUpdPktsSent>
<lsuFirstTxPkts>170</lsuFirstTxPkts>
<lsuForLsreqPkts>1</lsuForLsreqPkts>
<lsuPeerTxPkts>0</lsuPeerTxPkts>
<lsuRexmitPkts>1</lsuRexmitPkts>
<noOspfIntfPktsRcvd>0</noOspfIntfPktsRcvd>
<passiveIntfPktsRcvd>0</passiveIntfPktsRcvd>
<peerNotFoundPktsRcvd>0</peerNotFoundPktsRcvd>
<peerRtrIdChgdPktsRcvd>0</peerRtrIdChgdPktsRcvd>
<rcvdLsaPktsIgnored>0</rcvdLsaPktsIgnored>
<rcvdPktsDropped>0</rcvdPktsDropped>
<totalPktsRcvd>8925</totalPktsRcvd>
<totalPktsSent>8940</totalPktsSent>
<unknownPktsRcvd>0</unknownPktsRcvd>
<unknownSendPkts>0</unknownSendPkts>
<wrongAreaPktsRcvd>0</wrongAreaPktsRcvd>
</trstats-items>
<type>bcast</type>
<xmitDelay>1</xmitDelay>
</If-list>
<If-list>
<id>lo1</id>
<addr>1.1.1.1/32</addr>
<adminSt>enabled</adminSt>
<advertiseSecondaries>true</advertiseSecondaries>
<area>0.0.0.0</area>
<bdr>0.0.0.0/32</bdr>
<bdrId>0.0.0.0</bdrId>
<bfdCtrl>unspecified</bfdCtrl>
<cost>0</cost>
<deadIntvl>0</deadIntvl>
<dr>0.0.0.0/32</dr>
<drId>0.0.0.0</drId>
<failStQual/>
<flags>admin-up,proto-up</flags>
<helloIntvl>10</helloIntvl>
<ifstats-items>
<adjCnt>0</adjCnt>
<evCnt>1</evCnt>
<floodToPeerCnt>0</floodToPeerCnt>
<grHelperPeerCnt>0</grHelperPeerCnt>
<lsaCnt>0</lsaCnt>
<peerCnt>0</peerCnt>
</ifstats-items>
<lsaCksumSum>0</lsaCksumSum>
<nwT>unspecified</nwT>
<operCost>1</operCost>
<operDeadIntvl>40</operDeadIntvl>
<operSt>loopback</operSt>
<passiveCtrl>unspecified</passiveCtrl>
<prio>1</prio>
<rexmitIntvl>5</rexmitIntvl>
<type>loopback</type>
<xmitDelay>1</xmitDelay>
</If-list>
<If-list>
<id>lo2</id>
<addr>11.11.11.11/24</addr>
<adminSt>enabled</adminSt>
<advertiseSecondaries>true</advertiseSecondaries>
<area>0.0.0.0</area>
<bdr>0.0.0.0/32</bdr>
<bdrId>0.0.0.0</bdrId>
<bfdCtrl>unspecified</bfdCtrl>
<cost>0</cost>
<deadIntvl>0</deadIntvl>
<dr>0.0.0.0/32</dr>
<drId>0.0.0.0</drId>
<failStQual/>
<flags>admin-up,proto-up</flags>
<helloIntvl>10</helloIntvl>
<ifstats-items>
<adjCnt>0</adjCnt>
<evCnt>1</evCnt>
<floodToPeerCnt>0</floodToPeerCnt>
<grHelperPeerCnt>0</grHelperPeerCnt>
<lsaCnt>0</lsaCnt>
<peerCnt>0</peerCnt>
</ifstats-items>
<lsaCksumSum>0</lsaCksumSum>
<nwT>unspecified</nwT>
<operCost>1</operCost>
<operDeadIntvl>40</operDeadIntvl>
<operSt>loopback</operSt>
<passiveCtrl>unspecified</passiveCtrl>
<prio>1</prio>
<rexmitIntvl>5</rexmitIntvl>
<type>loopback</type>
<xmitDelay>1</xmitDelay>
</If-list>
<If-list>
<id>eth1/49</id>
<addr>17.17.17.1/24</addr>
<adj-items>
<AdjEp-list>
<id>7.7.7.7</id>
<adjstats-items>
<dbdSeqNum>1675189442</dbdSeqNum>
<deadTimerExpTs>2018-01-03T12:26:06.360+00:00</deadTimerExpTs>
<lastNonHelloPktTs>2018-01-03T12:24:21.405+00:00</lastNonHelloPktTs>
<lastStChgTs>2018-01-02T15:43:05.431+00:00</lastStChgTs>
<lsaReqRexmitCnt>0</lsaReqRexmitCnt>
<outstandingLsaCnt>0</outstandingLsaCnt>
<reqLsaCnt>0</reqLsaCnt>
<stChgCnt>6</stChgCnt>
</adjstats-items>
<area>0.0.0.0</area>
<bdr>17.17.17.1</bdr>
<bfdSt>down</bfdSt>
<dbdOptions>66</dbdOptions>
<dr>17.17.17.7</dr>
<flags>all-dbds-acked,all-dbds-sent</flags>
<gr-items>
<helperAge>0</helperAge>
<helperExitQual>none</helperExitQual>
<helperSt>not-helping</helperSt>
</gr-items>
<helloOptions>2</helloOptions>
<ifId>0</ifId>
<operSt>full</operSt>
<peerIp>17.17.17.7</peerIp>
<peerName/>
<prio>1</prio>
</AdjEp-list>
</adj-items>
<adminSt>enabled</adminSt>
<advertiseSecondaries>true</advertiseSecondaries>
<area>0.0.0.0</area>
<bdr>17.17.17.1/32</bdr>
<bdrId>1.1.1.1</bdrId>
<bfdCtrl>unspecified</bfdCtrl>
<cost>0</cost>
<deadIntvl>0</deadIntvl>
<dr>17.17.17.7/32</dr>
<drId>7.7.7.7</drId>
<failStQual/>
<flags>admin-up,proto-up</flags>
<helloIntvl>10</helloIntvl>
<ifstats-items>
<adjCnt>1</adjCnt>
<evCnt>2</evCnt>
<floodToPeerCnt>1</floodToPeerCnt>
<grHelperPeerCnt>0</grHelperPeerCnt>
<lsaCnt>0</lsaCnt>
<peerCnt>1</peerCnt>
</ifstats-items>
<lsaCksumSum>0</lsaCksumSum>
<nwT>unspecified</nwT>
<operCost>1</operCost>
<operDeadIntvl>40</operDeadIntvl>
<operSt>bdr</operSt>
<passiveCtrl>unspecified</passiveCtrl>
<prio>1</prio>
<rexmitIntvl>5</rexmitIntvl>
<trstats-items>
<badAuthPktsRcvd>0</badAuthPktsRcvd>
<badCRCPktsRcvd>0</badCRCPktsRcvd>
<badLenPktsRcvd>0</badLenPktsRcvd>
<badResvFieldPktsRcvd>0</badResvFieldPktsRcvd>
<badVersionPktsRcvd>0</badVersionPktsRcvd>
<dbdPktsRcvd>3</dbdPktsRcvd>
<dbdPktsSent>4</dbdPktsSent>
<droppedLsaPktsWhileGR>0</droppedLsaPktsWhileGR>
<droppedLsaPktsWhileSPF>0</droppedLsaPktsWhileSPF>
<droppedSendPkts>0</droppedSendPkts>
<dupRtrIdPktsRcvd>0</dupRtrIdPktsRcvd>
<dupSrcAddrPktsRcvd>0</dupSrcAddrPktsRcvd>
<errDbdPktsRcvd>0</errDbdPktsRcvd>
<errHelloPktsRcvd>0</errHelloPktsRcvd>
<errLsAckPktsRcvd>0</errLsAckPktsRcvd>
<errLsReqPktsRcvd>0</errLsReqPktsRcvd>
<errLsUpdPktsRcvd>0</errLsUpdPktsRcvd>
<errPktsRcvd>0</errPktsRcvd>
<errSendPkts>0</errSendPkts>
<floodPktSendIpThrottle>0</floodPktSendIpThrottle>
<floodPktSendTokenThrottle>0</floodPktSendTokenThrottle>
<helloPktsRcvd>8516</helloPktsRcvd>
<helloPktsSent>8525</helloPktsSent>
<invalidDestAddrPktsRcvd>0</invalidDestAddrPktsRcvd>
<invalidSrcAddrPktsRcvd>0</invalidSrcAddrPktsRcvd>
<lastStatsClearTs>2018-01-02T15:42:25.390+00:00</lastStatsClearTs>
<lsAckPktsRcvd>167</lsAckPktsRcvd>
<lsAckPktsSent>251</lsAckPktsSent>
<lsReqPktsRcvd>1</lsReqPktsRcvd>
<lsReqPktsSent>1</lsReqPktsSent>
<lsUpdPktsRcvd>253</lsUpdPktsRcvd>
<lsUpdPktsSent>172</lsUpdPktsSent>
<lsuFirstTxPkts>170</lsuFirstTxPkts>
<lsuForLsreqPkts>1</lsuForLsreqPkts>
<lsuPeerTxPkts>0</lsuPeerTxPkts>
<lsuRexmitPkts>1</lsuRexmitPkts>
<noOspfIntfPktsRcvd>0</noOspfIntfPktsRcvd>
<passiveIntfPktsRcvd>0</passiveIntfPktsRcvd>
<peerNotFoundPktsRcvd>0</peerNotFoundPktsRcvd>
<peerRtrIdChgdPktsRcvd>0</peerRtrIdChgdPktsRcvd>
<rcvdLsaPktsIgnored>0</rcvdLsaPktsIgnored>
<rcvdPktsDropped>0</rcvdPktsDropped>
<totalPktsRcvd>8940</totalPktsRcvd>
<totalPktsSent>8953</totalPktsSent>
<unknownPktsRcvd>0</unknownPktsRcvd>
<unknownSendPkts>0</unknownSendPkts>
<wrongAreaPktsRcvd>0</wrongAreaPktsRcvd>
</trstats-items>
<type>bcast</type>
<xmitDelay>1</xmitDelay>
</If-list>
</if-items>
<maxEcmp>8</maxEcmp>
<operRtrId>1.1.1.1</operRtrId>
<operSt>up</operSt>
<rfc1583Compat>false</rfc1583Compat>
<rtrId>1.1.1.1</rtrId>
<trstats-items>
<badAuthPktsRcvd>0</badAuthPktsRcvd>
<badCRCPktsRcvd>0</badCRCPktsRcvd>
<badLenPktsRcvd>0</badLenPktsRcvd>
<badResvFieldPktsRcvd>0</badResvFieldPktsRcvd>
<badVersionPktsRcvd>0</badVersionPktsRcvd>
<dbdPktsRcvd>6</dbdPktsRcvd>
<dbdPktsSent>8</dbdPktsSent>
<droppedLsaPktsWhileGR>0</droppedLsaPktsWhileGR>
<droppedLsaPktsWhileSPF>0</droppedLsaPktsWhileSPF>
<droppedSendPkts>0</droppedSendPkts>
<dupRtrIdPktsRcvd>0</dupRtrIdPktsRcvd>
<dupSrcAddrPktsRcvd>0</dupSrcAddrPktsRcvd>
<errDbdPktsRcvd>0</errDbdPktsRcvd>
<errHelloPktsRcvd>0</errHelloPktsRcvd>
<errLsAckPktsRcvd>0</errLsAckPktsRcvd>
<errLsReqPktsRcvd>0</errLsReqPktsRcvd>
<errLsUpdPktsRcvd>0</errLsUpdPktsRcvd>
<errPktsRcvd>0</errPktsRcvd>
<errSendPkts>0</errSendPkts>
<floodPktSendIpThrottle>0</floodPktSendIpThrottle>
<floodPktSendTokenThrottle>0</floodPktSendTokenThrottle>
<helloPktsRcvd>17033</helloPktsRcvd>
<helloPktsSent>17051</helloPktsSent>
<invalidDestAddrPktsRcvd>0</invalidDestAddrPktsRcvd>
<invalidSrcAddrPktsRcvd>0</invalidSrcAddrPktsRcvd>
<lastStatsClearTs>2018-01-02T15:42:25.371+00:00</lastStatsClearTs>
<lsAckPktsRcvd>333</lsAckPktsRcvd>
<lsAckPktsSent>502</lsAckPktsSent>
<lsReqPktsRcvd>2</lsReqPktsRcvd>
<lsReqPktsSent>2</lsReqPktsSent>
<lsUpdPktsRcvd>506</lsUpdPktsRcvd>
<lsUpdPktsSent>344</lsUpdPktsSent>
<lsuFirstTxPkts>340</lsuFirstTxPkts>
<lsuForLsreqPkts>2</lsuForLsreqPkts>
<lsuPeerTxPkts>0</lsuPeerTxPkts>
<lsuRexmitPkts>2</lsuRexmitPkts>
<noOspfIntfPktsRcvd>0</noOspfIntfPktsRcvd>
<passiveIntfPktsRcvd>0</passiveIntfPktsRcvd>
<peerNotFoundPktsRcvd>0</peerNotFoundPktsRcvd>
<peerRtrIdChgdPktsRcvd>0</peerRtrIdChgdPktsRcvd>
<rcvdLsaPktsIgnored>0</rcvdLsaPktsIgnored>
<rcvdPktsDropped>0</rcvdPktsDropped>
<totalPktsRcvd>17880</totalPktsRcvd>
<totalPktsSent>17907</totalPktsSent>
<unknownPktsRcvd>0</unknownPktsRcvd>
<unknownSendPkts>0</unknownSendPkts>
<wrongAreaPktsRcvd>0</wrongAreaPktsRcvd>
</trstats-items>
</Dom-list>
</dom-items>
<memAlert>normal</memAlert>
<operErr/>
</Inst-list>
</inst-items>
<operErr/>
<operSt>enabled</operSt>
</ospf-items>
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying IP OSPF Neighbor Details
You need to make two DME requests to view the same information found in the show ip ospf neighbors
output. One request for the neighbor-related statistics (ospfAdjStats) and the other for dynamically learned endpoints (ospfAdjEp).
Querying IP OSPF Neighbor Details (DME Request 1)
Querying IP OSPF Neighbor Details (DME Request 1)
GET http://<IP_Address>/api/mo/sys/ospf/inst-1/dom-default/if-[eth1/38]/adj-2.2.2.2.json
{
"totalCount": "1",
"imdata": [
{
"ospfAdjEp": {
"attributes": {
"area": "0.0.0.0",
"bdr": "12.2.1.2",
"bfdSt": "down",
"dbdOptions": "66",
"dn": "sys/ospf/inst-1/dom-default/if-[eth1/38]/adj-2.2.2.2",
"dr": "12.2.1.1",
"flags": "all-dbds-acked,all-dbds-sent",
"helloOptions": "2",
"id": "2.2.2.2",
"ifId": "0",
"name": "",
"operSt": "full",
"peerIp": "12.2.1.2",
"peerName": "",
"prio": "1"
}}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/ospf-items/inst-items/Inst-list=1/dom-items/Dom-list=default/if-items/If-list=eth1%2F38/adj-items/AdjEp-list=2.2.2.2
<AdjEp-list>
<id>2.2.2.2</id>
<adjstats-items>
<dbdSeqNum>598158479</dbdSeqNum>
<deadTimerExpTs>2018-01-05T15:59:47.584+00:00</deadTimerExpTs>
<lastNonHelloPktTs>2018-01-05T15:35:59.200+00:00</lastNonHelloPktTs>
<lastStChgTs>2018-01-05T15:05:39.557+00:00</lastStChgTs>
<lsaReqRexmitCnt>0</lsaReqRexmitCnt>
<outstandingLsaCnt>0</outstandingLsaCnt>
<reqLsaCnt>0</reqLsaCnt>
<stChgCnt>5</stChgCnt>
</adjstats-items>
<area>0.0.0.0</area>
<bdr>12.2.1.2</bdr>
<bfdSt>down</bfdSt>
<dbdOptions>66</dbdOptions>
<dr>12.2.1.1</dr>
<flags>all-dbds-acked,all-dbds-sent</flags>
<gr-items>
<helperAge>0</helperAge>
<helperExitQual>none</helperExitQual>
<helperSt>not-helping</helperSt>
</gr-items>
<helloOptions>2</helloOptions>
<ifId>0</ifId>
<name/>
<operSt>full</operSt>
<peerIp>12.2.1.2</peerIp>
<peerName/>
<prio>1</prio>
</AdjEp-list>
This DME request displays the dynamically learned endpoints for a neighbor.
Querying IP OSPF Neighbor Details (DME Request 2)
Querying IP OSPF Neighbor Details (DME Request 2)
GET http://<IP_Address>/api/mo/sys/ospf/inst-1/dom-default/if-[eth1/38]/adj-2.2.2.2/adjstats.json
{
"totalCount": "1",
"imdata": [
{
"ospfAdjStats": {
"attributes": {
"dbdSeqNum": "598158479",
"deadTimerExpTs": "2018-01-05T16:10:04.878+00:00",
"dn": "sys/ospf/inst-1/dom-default/if-[eth1/38]/adj-2.2.2.2/adjstats",
"lastNonHelloPktTs": "2018-01-05T16:06:20.123+00:00",
"lastStChgTs": "2018-01-05T15:05:39.557+00:00",
"lsaReqRexmitCnt": "0",
"outstandingLsaCnt": "0",
"reqLsaCnt": "0",
"stChgCnt": "5"
}}}]}
This DME request displays the neighbor-related statistics (ospfAdjStats).
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
CLI Output |
---|
|
Querying a Pattern to Match (AAA|TACACS|RADIUS)
Querying a Pattern to Match (AAA|TACACS|RADIUS)
GET http://<IP_Address>/api/mo/sys/userext.json?rsp-subtree=full&rsp-prop-include=config-only
{
"totalCount": "1",
"imdata": [
{
"aaaUserEp": {
"attributes": {
"descr": "",
"dn": "sys/userext",
"name": "rootep",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"pwdMaxLength": "127",
"pwdMinLength": "8",
"pwdSecureMode": "yes",
"pwdStrengthCheck": "yes",
"svcPwdRecovery": "yes"
},
"children": [
{
"aaaUser": {
"attributes": {
"accountStatus": "active",
"allowExpired": "no",
"clearPwdHistory": "no",
"descr": "",
"email": "",
"expiration": "never",
"expires": "no",
"firstName": "",
"lastName": "",
"name": "admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"phone": "",
"pwdLifeTime": "no-password-expire",
"rn": "user-admin",
"unixUserId": "0"
},
"children": [
{
"aaaUserDomain": {
"attributes": {
"descr": "",
"name": "all",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "userdomain-all"
},
"children": [
{
"aaaUserRole": {
"attributes": {
"descr": "",
"name": "network-admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"privType": "noDataPriv",
"rn": "role-network-admin"
}}}]}}]}},{
"aaaRadiusEp": {
"attributes": {
"deadtime": "0",
"descr": "",
"key": "",
"keyEnc": "0",
"loggingLevel": "Error",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"retries": "1",
"rn": "radiusext",
"srcIf": "unspecified",
"timeout": "5"
},
"children": [
{
"aaaRadiusProviderGroup": {
"attributes": {
"deadtime": "0",
"descr": "",
"name": "radius",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "radiusprovidergroup-radius",
"srcIf": "unspecified",
"vrf": "default"
}}}]}},{
"pkiEp": {
"attributes": {
"descr": "",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "pkiext"
},
"children": [
{
"pkiDebugPluginChallenge": {
"attributes": {
"descr": "",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "dbgplgch"
}}},{
"pkiWebTokenData": {
"attributes": {
"descr": "",
"maximumValidityPeriod": "24",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "webtokendata",
"sessionRecordFlags": "login,logout,refresh",
"uiIdleTimeoutSeconds": "1200",
"webtokenTimeoutSeconds": "600"
}}},{
"pkiCsyncSharedKey": {
"attributes": {
"descr": "",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "csyncsharedkey"
}}}]}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "dev-ops",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-dev-ops",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-11",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-11",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-12",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-12",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "network-admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "admin",
"resetToFactory": "no",
"rn": "role-network-admin",
"rolePrivType": "writePriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-6",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-6",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "nxdb-operator",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "operator",
"resetToFactory": "no",
"rn": "role-nxdb-operator",
"rolePrivType": "readPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-1",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-1",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-7",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-7",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "vdc-admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "admin",
"resetToFactory": "no",
"rn": "role-vdc-admin",
"rolePrivType": "writePriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-9",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-9",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-4",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-4",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-14",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-14",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "network-operator",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "operator",
"resetToFactory": "no",
"rn": "role-network-operator",
"rolePrivType": "readPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "vdc-operator",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "operator",
"resetToFactory": "no",
"rn": "role-vdc-operator",
"rolePrivType": "readPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-5",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-5",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-15",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-15",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-8",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-8",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-3",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-3",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "nxdb-admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "admin",
"resetToFactory": "no",
"rn": "role-nxdb-admin",
"rolePrivType": "writePriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-13",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-13",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-0",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-0",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-10",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-10",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-2",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-2",
"rolePrivType": "noDataPriv"
}}},{
"aaaDomain": {
"attributes": {
"descr": "",
"name": "all",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "domain-all"
}}},{
"aaaPwdProfile": {
"attributes": {
"changeCount": "2",
"changeDuringInterval": "enable",
"changeInterval": "48",
"descr": "",
"expirationWarnTime": "15",
"historyCount": "5",
"name": "",
"noChangeInterval": "24",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "pwdprofile"
}}},{
"aaaPreLoginBanner": {
"attributes": {
"descr": "",
"guiMessage": "",
"message": "Welcome",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "preloginbanner"
}}},{
"aaaAuthRealm": {
"attributes": {
"defRolePolicy": "assign-default-role",
"descr": "",
"loggingLevel": "Error",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"radDirectedReq": "no",
"rn": "authrealm",
"tacDirectedReq": "no"
},
"children": [
{
"aaaDefaultAcc": {
"attributes": {
"accMethodNone": "no",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "defaultacc"
}}},{
"aaaDefaultAuth": {
"attributes": {
"authProtocol": "pap",
"descr": "",
"errEn": "no",
"fallback": "yes",
"local": "yes",
"name": "",
"none": "no",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "defaultauth"
}}},{
"aaaPkiSSHCertificate": {
"attributes": {
"descr": "",
"local": "no",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "pkisshcert"
}}},{
"aaaConsoleAuth": {
"attributes": {
"authProtocol": "pap",
"descr": "",
"errEn": "no",
"fallback": "yes",
"local": "no",
"name": "",
"none": "no",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "radius",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "consoleauth"
}}},{
"aaaPkiSSHPublicKey": {
"attributes": {
"descr": "",
"local": "no",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "pkisshpubkey"
}}},{
"aaaDefaultAuthor": {
"attributes": {
"authorMethodNone": "no",
"cmdType": "config",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"rn": "defaultauthor-config"
}}},{
"aaaDefaultAuthor": {
"attributes": {
"authorMethodNone": "no",
"cmdType": "exec",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"rn": "defaultauthor-exec"
}}},{
"aaaConsoleAuthor": {
"attributes": {
"authorMethodNone": "no",
"cmdType": "config",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"rn": "consoleauthor-config"
}}},{
"aaaConsoleAuthor": {
"attributes": {
"authorMethodNone": "no",
"cmdType": "exec",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"rn": "consoleauthor-exec"
}}}]}}]}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/userext-items
<userext-items>
<authrealm-items>
<aaagroup-items>
<AaaServerGroup-list>
<name>radius</name>
<protocol>radius</protocol>
</AaaServerGroup-list>
</aaagroup-items>
<consoleauth-items>
<authProtocol>pap</authProtocol>
<errEn>false</errEn>
<fallback>yes</fallback>
<local>no</local>
<none>no</none>
<providerGroup>radius</providerGroup>
<realm>local</realm>
</consoleauth-items>
<consoleauthor-items>
<ConsoleAuthor-list>
<cmdType>config</cmdType>
<authorMethodNone>false</authorMethodNone>
<localRbac>true</localRbac>
<name>Author</name>
<realm>tacacs</realm>
</ConsoleAuthor-list>
<ConsoleAuthor-list>
<cmdType>exec</cmdType>
<authorMethodNone>false</authorMethodNone>
<localRbac>true</localRbac>
<name>Author</name>
<realm>tacacs</realm>
</ConsoleAuthor-list>
</consoleauthor-items>
<defRolePolicy>assign-default-role</defRolePolicy>
<defaultacc-items>
<accMethodNone>false</accMethodNone>
<localRbac>true</localRbac>
<name>Accounting</name>
<realm>local</realm>
</defaultacc-items>
<defaultauth-items>
<authProtocol>pap</authProtocol>
<errEn>false</errEn>
<fallback>yes</fallback>
<local>yes</local>
<none>no</none>
<realm>local</realm>
</defaultauth-items>
<defaultauthor-items>
<DefaultAuthor-list>
<cmdType>config</cmdType>
<authorMethodNone>false</authorMethodNone>
<localRbac>true</localRbac>
<name>Author</name>
<realm>tacacs</realm>
</DefaultAuthor-list>
<DefaultAuthor-list>
<cmdType>exec</cmdType>
<authorMethodNone>false</authorMethodNone>
<localRbac>true</localRbac>
<name>Author</name>
<realm>tacacs</realm>
</DefaultAuthor-list>
</defaultauthor-items>
<loggingLevel>Error</loggingLevel>
<pkisshcert-items>
<local>false</local>
<realm>local</realm>
</pkisshcert-items>
<pkisshpubkey-items>
<local>false</local>
<realm>local</realm>
</pkisshpubkey-items>
<radDirectedReq>no</radDirectedReq>
<tacDirectedReq>no</tacDirectedReq>
</authrealm-items>
<domain-items>
<Domain-list>
<name>all</name>
</Domain-list>
</domain-items>
<pkiext-items>
<csyncsharedkey-items>
<key/>
</csyncsharedkey-items>
<webtokendata-items>
<hashSecret/>
<initializationVector/>
<key/>
<maximumValidityPeriod>24</maximumValidityPeriod>
<sessionRecordFlags>login,logout,refresh</sessionRecordFlags>
<siteFingerprint/>
<uiIdleTimeoutSeconds>1200</uiIdleTimeoutSeconds>
<webtokenTimeoutSeconds>600</webtokenTimeoutSeconds>
</webtokendata-items>
</pkiext-items>
<preloginbanner-items>
<delimiter/>
<message>Testing Banner 123</message>
</preloginbanner-items>
<pwdMaxLength>127</pwdMaxLength>
<pwdMinLength>8</pwdMinLength>
<pwdSecureMode>yes</pwdSecureMode>
<pwdStrengthCheck>yes</pwdStrengthCheck>
<pwdprofile-items>
<changeCount>2</changeCount>
<changeDuringInterval>enable</changeDuringInterval>
<changeInterval>48</changeInterval>
<expirationWarnTime>15</expirationWarnTime>
<historyCount>5</historyCount>
<noChangeInterval>24</noChangeInterval>
</pwdprofile-items>
<radiusext-items>
<deadtime>0</deadtime>
<keyEnc>0</keyEnc>
<loggingLevel>Error</loggingLevel>
<radiusprovidergroup-items>
<RadiusProviderGroup-list>
<name>radius</name>
<deadtime>0</deadtime>
<snmpIndex>0</snmpIndex>
</RadiusProviderGroup-list>
</radiusprovidergroup-items>
<retries>1</retries>
<timeout>5</timeout>
</radiusext-items>
<role-items>
<Role-list>
<name>dev-ops</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-11</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-12</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>network-admin</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-6</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>nxdb-operator</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-1</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-7</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>vdc-admin</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-9</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-14</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-4</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>vdc-operator</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>network-operator</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-15</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-5</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-8</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-3</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>nxdb-admin</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-13</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-0</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-10</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-2</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
</role-items>
<rtfabricResUserEp-items>
<RtFabricResUserEp-list>
<tDn>UNRES:uni/fabric/secRelnHolder</tDn>
<tCl>fabricSecRelnHolder</tCl>
</RtFabricResUserEp-list>
</rtfabricResUserEp-items>
<svcPwdRecovery>yes</svcPwdRecovery>
<user-items>
<User-list>
<name>admin</name>
<accountStatus>active</accountStatus>
<allowExpired>no</allowExpired>
<clearPwdHistory>no</clearPwdHistory>
<encPwd/>
<expiration>never</expiration>
<expires>no</expires>
<isSnmpNotify>no</isSnmpNotify>
<oldPwdEncryptType/>
<pwd/>
<pwdEncryptType/>
<pwdLen/>
<pwdLifeTime>no-password-expire</pwdLifeTime>
<pwdSet>true</pwdSet>
<userdomain-items>
<UserDomain-list>
<name>all</name>
<role-items>
<UserRole-list>
<name>network-admin</name>
<privType>noDataPriv</privType>
</UserRole-list>
</role-items>
</UserDomain-list>
</userdomain-items>
</User-list>
</user-items>
</userext-items>
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying a Pattern to Match ("name-server|domain-lookup|host")
Querying a Pattern to Match ("name-server|domain-lookup|host")
GET http://<IP_Address>/api/mo/sys/dns.json?rsp-subtree=full&rsp-prop-include=config-only
{
"totalCount": "1",
"imdata": [
{
"dnsEntity": {
"attributes": {
"adminSt": "enabled",
"dn": "sys/dns",
"name": "",
"persistentOnReload": "true"
},
"children": [
{
"dnsProf": {
"attributes": {
"descr": "",
"name": "default",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "prof-default"
},
"children": [
{
"dnsProvider": {
"attributes": {
"addr": "1.2.3.4",
"name": "",
"persistentOnReload": "true",
"preferred": "no",
"rn": "prov-[1.2.3.4]"
}}},{
"dnsProvider": {
"attributes": {
"addr": "2.4.6.8",
"name": "",
"persistentOnReload": "true",
"preferred": "no",
"rn": "prov-[2.4.6.8]"
}}},{
"dnsDom": {
"attributes": {
"descr": "",
"isDefault": "no",
"name": "Dom_Test",
"persistentOnReload": "true",
"rn": "dom"
}}},{
"dnsHost": {
"attributes": {
"name": "Host_1",
"persistentOnReload": "true",
"rn": "host-Host_1"
},
"children": [
{
"dnsIpv6Host": {
"attributes": {
"addr": "1:2::34",
"persistentOnReload": "true",
"rn": "ipv6host"
}}},{
"dnsIpv4Host": {
"attributes": {
"addr": "1.2.3.4",
"persistentOnReload": "true",
"rn": "ipv4host"
}}}]}}]}}]}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/dns-items
<dns-items>
<adminSt>enabled</adminSt>
<operErr/>
<operSt>enabled</operSt>
<prof-items>
<Prof-list>
<name>default</name>
<dom-items>
<isDefault>false</isDefault>
<name>Dom_Test</name>
</dom-items>
<host-items>
<Host-list>
<name>Host_1</name>
<ipv4host-items>
<addr>1.2.3.4</addr>
</ipv4host-items>
<ipv6host-items>
<addr>1:2::34</addr>
</ipv6host-items>
</Host-list>
</host-items>
<prov-items>
<Provider-list>
<addr>1.2.3.4</addr>
<preferred>false</preferred>
</Provider-list>
<Provider-list>
<addr>2.4.6.8</addr>
<preferred>false</preferred>
</Provider-list>
</prov-items>
</Prof-list>
</prof-items>
</dns-items>
The DME URL lists all the DNS related configurations. There is no single URL to retrieve only "name-server|domain-lookup|host."
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying a Pattern to Match (RMON)
Querying a Pattern to Match (RMON)
GET http://<IP_Address>/api/mo/sys/snmp/inst/rmon.json?rsp-subtree=full&rsp-prop-include=config-only
{
"totalCount": "1",
"imdata": [
{
"snmpRmon": {
"attributes": {
"dn": "sys/snmp/inst/rmon",
"persistentOnReload": "true"
},
"children": [
{
"snmpEvent": {
"attributes": {
"description": "CRITICAL(2)",
"log": "yes",
"num": "2",
"owner": "PMON@CRITICAL",
"persistentOnReload": "true",
"rn": "event-2",
"trap": "public"
}}},{
"snmpEvent": {
"attributes": {
"description": "INFORMATION(5)",
"log": "yes",
"num": "5",
"owner": "PMON@INFO",
"persistentOnReload": "true",
"rn": "event-5",
"trap": "public"
}}},{
"snmpEvent": {
"attributes": {
"description": "WARNING(4)",
"log": "yes",
"num": "4",
"owner": "PMON@WARNING",
"persistentOnReload": "true",
"rn": "event-4",
"trap": "public"
}}},{
"snmpEvent": {
"attributes": {
"description": "FATAL(1)",
"log": "yes",
"num": "1",
"owner": "PMON@FATAL",
"persistentOnReload": "true",
"rn": "event-1",
"trap": "public"
}}},{
"snmpEvent": {
"attributes": {
"description": "ERROR(3)",
"log": "yes",
"num": "3",
"owner": "PMON@ERROR",
"persistentOnReload": "true",
"rn": "event-3",
"trap": "public"
}}}]}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/snmp-items/inst-items/rmon-items
<rmon-items>
<deleteAlarms/>
<deleteEvents/>
<event-items>
<Event-list>
<num>2</num>
<description>CRITICAL(2)</description>
<log>yes</log>
<owner>PMON@CRITICAL</owner>
<trap>public</trap>
</Event-list>
<Event-list>
<num>5</num>
<description>INFORMATION(5)</description>
<log>yes</log>
<owner>PMON@INFO</owner>
<trap>public</trap>
</Event-list>
<Event-list>
<num>4</num>
<description>WARNING(4)</description>
<log>yes</log>
<owner>PMON@WARNING</owner>
<trap>public</trap>
</Event-list>
<Event-list>
<num>1</num>
<description>FATAL(1)</description>
<log>yes</log>
<owner>PMON@FATAL</owner>
<trap>public</trap>
</Event-list>
<Event-list>
<num>3</num>
<description>ERROR(3)</description>
<log>yes</log>
<owner>PMON@ERROR</owner>
<trap>public</trap>
</Event-list>
</event-items>
</rmon-items>
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying a Pattern to Match (VRF)
Querying a Pattern to Match (VRF)
GET http://<IP_Address>/api/mo/sys.json?query-target=children&target-subtree-class=l3Inst&rsp-subtree=full&rsp-prop-include=config-only
{
"totalCount": "8",
"imdata": [
{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-default",
"encap": "unknown",
"name": "default",
"persistentOnReload": "true"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"name": "default",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-default"
}}},{
"l3RsVrfMbr": {
"attributes": {
"persistentOnReload": "true",
"rn": "rsvrfMbr-[sys/intf/lb-[lo1]]",
"tDn": "sys/intf/lb-[lo1]"
}}},{
"l3RsVrfMbr": {
"attributes": {
"persistentOnReload": "true",
"rn": "rsvrfMbr-[sys/intf/lb-[lo0]]",
"tDn": "sys/intf/lb-[lo0]"
}}},{
"l3RsVrfMbr": {
"attributes": {
"persistentOnReload": "true",
"rn": "rsvrfMbr-[sys/intf/phys-[eth1/6]]",
"tDn": "sys/intf/phys-[eth1/6]"
}}},{
"l3RsVrfMbr": {
"attributes": {
"persistentOnReload": "true",
"rn": "rsvrfMbr-[sys/intf/lb-[lo2]]",
"tDn": "sys/intf/lb-[lo2]"
}}}, {
"l3RsVrfMbr": {
"attributes": {
"persistentOnReload": "true",
"rn": "rsvrfMbr-[sys/intf/phys-[eth1/7]]",
"tDn": "sys/intf/phys-[eth1/7]"
}}}, {
"l3RsVrfMbr": {
"attributes": {
"persistentOnReload": "true",
"rn": "rsvrfMbr-[sys/intf/phys-[eth1/1]]",
"tDn": "sys/intf/phys-[eth1/1]"
}}}, {
"l3RsVrfMbr": {
"attributes": {
"persistentOnReload": "true",
"rn": "rsvrfMbr-[sys/intf/phys-[eth1/2]]",
"tDn": "sys/intf/phys-[eth1/2]"
}}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-management",
"encap": "unknown",
"name": "management",
"persistentOnReload": "true"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"name": "management",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-management"
}}}, {
"l3RsVrfMbr": {
"attributes": {
"persistentOnReload": "true",
"rn": "rsvrfMbr-[sys/mgmt-[mgmt0]]",
"tDn": "sys/mgmt-[mgmt0]"
}}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-VRF_1",
"encap": "unknown",
"name": "VRF_1",
"persistentOnReload": "true"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"name": "VRF_1",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-VRF_1"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"type": "ipv4-ucast"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-mvpn",
"type": "ipv4-mvpn"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rttp-import",
"type": "import"
},
"children": [
{
"rtctrlRttEntry": {
"attributes": {
"persistentOnReload": "true",
"rn": "ent-route-target:as2-nn2:1:2",
"rtt": "route-target:as2-nn2:1:2"
}}}]}}]}},{
"rtctrlAfCtrl": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-ucast",
"type": "ipv4-ucast"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rttp-import",
"type": "import"
},
"children": [
{
"rtctrlMapP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rtctrlmap",
"rtMap": "map1"
}}}]}},{
"rtctrlRttP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rttp-export",
"type": "export"
},
"children": [
{
"rtctrlRttEntry": {
"attributes": {
"persistentOnReload": "true",
"rn": "ent-route-target:as2-nn2:1:2",
"rtt": "route-target:as2-nn2:1:2"
}}},{
"rtctrlMapP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rtctrlmap",
"rtMap": "map1"
}}},{
"rtctrlDomDefMapP": {
"attributes": {
"allowVpn": "no",
"descr": "",
"name": "",
"persistentOnReload": "true",
"pfxLimit": "0",
"rn": "rtctrldefmap",
"rtMap": "map1"
}}}]}}]}}]}}]}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-VRF_2",
"encap": "unknown",
"name": "VRF_2",
"persistentOnReload": "true"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"name": "VRF_2",
"persistentOnReload": "true",
"rd": "rd:as2-nn2:1:2",
"rn": "dom-VRF_2"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"type": "ipv4-ucast"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-ucast",
"type": "ipv4-ucast"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rttp-export",
"type": "export"
},
"children": [
{
"rtctrlMapP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rtctrlmap",
"rtMap": "map1"
}}},{
"rtctrlDomDefMapP": {
"attributes": {
"allowVpn": "yes",
"descr": "",
"name": "",
"persistentOnReload": "true",
"pfxLimit": "0",
"rn": "rtctrldefmap",
"rtMap": "map1"
}}}]}}]}}]}}]}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-foo",
"encap": "unknown",
"name": "foo",
"persistentOnReload": "true"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"name": "foo",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-foo"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"type": "ipv4-ucast"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-ucast",
"type": "ipv4-ucast"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rttp-export",
"type": "export"
},
"children": [
{
"rtctrlDomDefMapP": {
"attributes": {
"allowVpn": "yes",
"descr": "",
"name": "",
"persistentOnReload": "true",
"pfxLimit": "0",
"rn": "rtctrldefmap",
"rtMap": "map1"
}}}]}}]}}]}}]}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-switchpool-default",
"encap": "unknown",
"name": "switchpool-default",
"persistentOnReload": "true"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"name": "switchpool-default",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-switchpool-default"
}}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-test1",
"encap": "unknown",
"name": "test1",
"persistentOnReload": "true"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"name": "test1",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-test1"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"type": "ipv4-ucast"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-mvpn",
"type": "ipv4-mvpn"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rttp-import",
"type": "import"
},
"children": [
{
"rtctrlRttEntry": {
"attributes": {
"persistentOnReload": "true",
"rn": "ent-route-target:as2-nn2:1:2",
"rtt": "route-target:as2-nn2:1:2"
}}}]}}]}}]}}]}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-v1",
"encap": "unknown",
"name": "v1",
"persistentOnReload": "true"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"name": "v1",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-v1"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"type": "ipv4-ucast"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-mvpn",
"type": "ipv4-mvpn"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"descr": "",
"name": "",
"persistentOnReload": "true",
"rn": "rttp-import",
"type": "import"
},
"children": [
{
"rtctrlRttEntry": {
"attributes": {
"persistentOnReload": "true",
"rn": "ent-route-target:as2-nn2:1:2",
"rtt": "route-target:as2-nn2:1:2"
}}}]}}]}}]}}]}}]}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/inst-items?content=config
<inst-items>
<Inst-list>
<name>test1</name>
<adminState>admin-up</adminState>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>test1</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-mvpn</type>
<rttp-items>
<RttP-list>
<type>import</type>
<ent-items>
<RttEntry-list>
<rtt>route-target:as2-nn2:1:2</rtt>
</RttEntry-list>
</ent-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
</Dom-list>
</dom-items>
</Inst-list>
<Inst-list>
<name>default</name>
<adminState>admin-up</adminState>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>default</name>
</Dom-list>
</dom-items>
<rsvrfMbr-items>
<RsVrfMbr-list>
<tDn>/System/intf-items/LbRtdIf-list[id='lo1']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/LbRtdIf-list[id='lo0']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/PhysIf-list[id='eth1/6']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/LbRtdIf-list[id='lo2']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/PhysIf-list[id='eth1/7']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/PhysIf-list[id='eth1/1']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/PhysIf-list[id='eth1/2']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
</rsvrfMbr-items>
</Inst-list>
<Inst-list>
<name>VRF_2</name>
<adminState>admin-up</adminState>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>VRF_2</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-ucast</type>
<rttp-items>
<RttP-list>
<type>export</type>
<rtctrldefmap-items>
<allowVpn>true</allowVpn>
<pfxLimit>0</pfxLimit>
<rtMap>map1</rtMap>
</rtctrldefmap-items>
<rtctrlmap-items>
<rtMap>map1</rtMap>
</rtctrlmap-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
<rd>rd:as2-nn2:1:2</rd>
</Dom-list>
</dom-items>
</Inst-list>
<Inst-list>
<name>switchpool-default</name>
<adminState>admin-up</adminState>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>switchpool-default</name>
</Dom-list>
</dom-items>
</Inst-list>
<Inst-list>
<name>foo</name>
<adminState>admin-up</adminState>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>foo</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-ucast</type>
<rttp-items>
<RttP-list>
<type>export</type>
<rtctrldefmap-items>
<allowVpn>true</allowVpn>
<pfxLimit>0</pfxLimit>
<rtMap>map1</rtMap>
</rtctrldefmap-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
</Dom-list>
</dom-items>
</Inst-list>
<Inst-list>
<name>VRF_1</name>
<adminState>admin-up</adminState>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-mvpn</type>
<rttp-items>
<RttP-list>
<type>import</type>
<ent-items>
<RttEntry-list>
<rtt>route-target:as2-nn2:1:2</rtt>
</RttEntry-list>
</ent-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
<AfCtrl-list>
<type>ipv4-ucast</type>
<rttp-items>
<RttP-list>
<type>export</type>
<ent-items>
<RttEntry-list>
<rtt>route-target:as2-nn2:1:2</rtt>
</RttEntry-list>
</ent-items>
<rtctrldefmap-items>
<allowVpn>false</allowVpn>
<pfxLimit>0</pfxLimit>
<rtMap>map1</rtMap>
</rtctrldefmap-items>
<rtctrlmap-items>
<rtMap>map1</rtMap>
</rtctrlmap-items>
</RttP-list>
<RttP-list>
<type>import</type>
<rtctrlmap-items>
<rtMap>map1</rtMap>
</rtctrlmap-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
</Dom-list>
</dom-items>
</Inst-list>
<Inst-list>
<name>management</name>
<adminState>admin-up</adminState>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>management</name>
</Dom-list>
</dom-items>
<rsvrfMbr-items>
<RsVrfMbr-list>
<tDn>/System/MgmtAddr-list[addr='mgmt0']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
</rsvrfMbr-items>
</Inst-list>
<Inst-list>
<name>v1</name>
<adminState>admin-up</adminState>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>v1</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-mvpn</type>
<rttp-items>
<RttP-list>
<type>import</type>
<ent-items>
<RttEntry-list>
<rtt>route-target:as2-nn2:1:2</rtt>
</RttEntry-list>
</ent-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
</Dom-list>
</dom-items>
</Inst-list>
</inst-items>
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying PIM Interface Information
Querying PIM Interface Information
GET http://<IP_Address>/api/mo/sys/pim/inst/dom-default/if-[eth1/49].json
{
"totalCount": "1",
"imdata": [
{
"pimIf": {
"attributes": {
"adminSt": "enabled",
"bfdInst": "none",
"border": "no",
"childAction": "",
"ctrl": "",
"descr": "",
"dn": "sys/pim/inst/dom-default/if-[eth1/49]",
"dr": "30.30.30.2/32",
"drDelay": "3",
"drPrio": "1",
"genID": "202058884",
"id": "eth1/49",
"ipAddr": "30.30.30.1/24",
"jpRtMap": "",
"modTs": "2017-12-20T23:34:02.258+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "",
"nbrHoldTime": "105",
"neighRtMap": "",
"neighpfxList": "",
"nextHello": "2017-12-22T14:06:28.486+00:00",
"persistentOnReload": "true",
"pimSparseMode": "yes",
"rtEpPDn": "",
"status": "",
"uid": "0"
}}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/pim-items
<pim-items>
<adminSt>enabled</adminSt>
<inst-items>
<adminSt>enabled</adminSt>
<dom-items>
<Dom-list>
<name>default</name>
<adminSt>disabled</adminSt>
<autoEnable>true</autoEnable>
<bfd>false</bfd>
<db-items>
<Db-list>
<type>route</type>
<name/>
<src-items>
<Route-list>
<src>0.0.0.0</src>
<grp>232.0.0.0/8</grp>
<assertMetric>0</assertMetric>
<assertMetricPref>0</assertMetricPref>
<assertTime>1969-12-31T16:00:00.000+00:00</assertTime>
<createTs>2017-12-21T17:50:30.899+00:00</createTs>
<expiryTs>2017-12-21T18:23:06.969+00:00</expiryTs>
<hwByteCnt>0</hwByteCnt>
<hwPktCnt>0</hwPktCnt>
<iif>unspecified</iif>
<jpHoldTime>3</jpHoldTime>
<name/>
<routeBits/>
<rpAddrRoute>8.8.8.100</rpAddrRoute>
<rpfNbr>0.0.0.0/32</rpfNbr>
<rpfSrc>0.0.0.0/32</rpfSrc>
<rtTimeOutInvtl>1</rtTimeOutInvtl>
<rtType/>
<swByteCnt>0</swByteCnt>
<swPktCnt>0</swPktCnt>
<ver>0</ver>
</Route-list>
<Route-list>
<src>0.0.0.0</src>
<grp>224.1.1.1/32</grp>
<assertMetric>0</assertMetric>
<assertMetricPref>0</assertMetricPref>
<assertTime>1969-12-31T16:00:00.000+00:00</assertTime>
<createTs>2017-12-21T17:49:51.052+00:00</createTs>
<expiryTs>2017-12-21T18:24:07.999+00:00</expiryTs>
<hwByteCnt>0</hwByteCnt>
<hwPktCnt>0</hwPktCnt>
<iif>unspecified</iif>
<jpHoldTime>3</jpHoldTime>
<name/>
<routeBits>rp_bit,wc_bit</routeBits>
<rpAddrRoute>0.0.0.0</rpAddrRoute>
<rpfNbr>0.0.0.0/32</rpfNbr>
<rpfSrc>8.8.8.100/32</rpfSrc>
<rtTimeOutInvtl>2</rtTimeOutInvtl>
<rtType/>
<swByteCnt>0</swByteCnt>
<swPktCnt>0</swPktCnt>
<ver>0</ver>
</Route-list>
<Route-list>
<src>2.2.2.200</src>
<grp>224.1.1.1/32</grp>
<assertMetric>0</assertMetric>
<assertMetricPref>0</assertMetricPref>
<assertTime>1969-12-31T16:00:00.000+00:00</assertTime>
<createTs>2017-12-21T17:49:51.051+00:00</createTs>
<expiryTs>2017-12-21T18:24:07.999+00:00</expiryTs>
<hwByteCnt>229500</hwByteCnt>
<hwPktCnt>4500</hwPktCnt>
<iif>lo0</iif>
<jpHoldTime>3</jpHoldTime>
<name/>
<routeBits/>
<rpAddrRoute>8.8.8.100</rpAddrRoute>
<rpfNbr>2.2.2.200/32</rpfNbr>
<rpfSrc>2.2.2.200/32</rpfSrc>
<rtTimeOutInvtl>2</rtTimeOutInvtl>
<rtType/>
<swByteCnt>0</swByteCnt>
<swPktCnt>0</swPktCnt>
<ver>0</ver>
</Route-list>
</src-items>
</Db-list>
<Db-list>
<type>grange</type>
<grange-items>
<RPGrange-list>
<addr>224.0.0.0/4</addr>
<flags>asm,static</flags>
<rpAddr>1.1.1.100</rpAddr>
</RPGrange-list>
</grange-items>
<name/>
</Db-list>
<Db-list>
<type>rp</type>
<name/>
<rp-items>
<RPInfo-list>
<addr>1.1.1.100/32</addr>
<arpExp>1969-12-31T16:00:00.000+00:00</arpExp>
<bsrAddr>0.0.0.0</bsrAddr>
<bsrExp>1969-12-31T16:00:00.000+00:00</bsrExp>
<dfOrdinal>0</dfOrdinal>
<discType>staticRP</discType>
<local>false</local>
<name/>
<priority>255</priority>
<uptime>2017-12-20T23:33:54.097+00:00</uptime>
</RPInfo-list>
<RPInfo-list>
<addr>8.8.8.100/32</addr>
<arpExp>1969-12-31T16:00:00.000+00:00</arpExp>
<bsrAddr>0.0.0.0</bsrAddr>
<bsrExp>1969-12-31T16:00:00.000+00:00</bsrExp>
<dfOrdinal>0</dfOrdinal>
<discType>staticRP</discType>
<local>false</local>
<name/>
<priority>255</priority>
<uptime>2017-12-20T23:33:54.266+00:00</uptime>
</RPInfo-list>
</rp-items>
</Db-list>
</db-items>
<domstats-items>
<autoRPAnnouncesRcvd>0</autoRPAnnouncesRcvd>
<autoRPAnnouncesSent>0</autoRPAnnouncesSent>
<autoRPDiscoveriesRcvd>0</autoRPDiscoveriesRcvd>
<autoRPDiscoveriesSent>0</autoRPDiscoveriesSent>
<autoRPFromBorderIF>0</autoRPFromBorderIF>
<autoRPInvalidType>0</autoRPInvalidType>
<autoRPRPFFailed>0</autoRPRPFFailed>
<autoRPRcvdLisNotConf>0</autoRPRcvdLisNotConf>
<autoRPTTLExp>0</autoRPTTLExp>
<bsrBsFromBorderIF>0</bsrBsFromBorderIF>
<bsrBsFromNonNbr>0</bsrBsFromNonNbr>
<bsrBsLenErr>0</bsrBsLenErr>
<bsrBsRPFFail>0</bsrBsRPFFail>
<bsrBsRcvd>0</bsrBsRcvd>
<bsrBsRcvdLisNotConf>0</bsrBsRcvdLisNotConf>
<bsrBsSent>0</bsrBsSent>
<bsrCRPFromBorderIF>0</bsrCRPFromBorderIF>
<bsrCRPRcvd>0</bsrCRPRcvd>
<bsrCRPRcvdLisNotConf>0</bsrCRPRcvdLisNotConf>
<bsrCRPSent>0</bsrCRPSent>
<cpRPFFailNoRoute>3</cpRPFFailNoRoute>
<dpCrtRouteStateCnt>0</dpCrtRouteStateCnt>
<dpNoMcastState>0</dpNoMcastState>
<dpRPFFailNoRoute>0</dpRPFFailNoRoute>
<nullRegRcvd>0</nullRegRcvd>
<nullRegSent>1124</nullRegSent>
<regRcvd>0</regRcvd>
<regRcvdAndNotRP>0</regRcvdAndNotRP>
<regRcvdBiDir>0</regRcvdBiDir>
<regRcvdSSM>0</regRcvdSSM>
<regSent>0</regSent>
<regStopRcvd>0</regStopRcvd>
<regStopSent>0</regStopSent>
</domstats-items>
<flushRoutes>false</flushRoutes>
<if-items>
<If-list>
<id>eth1/49</id>
<adj-items>
<AdjEp-list>
<addr>30.30.30.2/32</addr>
<adjstats-items>
<lastHelloRcvd>1969-12-31T16:01:09.479+00:00</lastHelloRcvd>
<lastHoldTime>39464</lastHoldTime>
<longHelloItvl>1841</longHelloItvl>
<nonHelloExpResets>0</nonHelloExpResets>
</adjstats-items>
<bfdSt>down</bfdSt>
<drPrio>1</drPrio>
<expiryTime>2017-12-21T18:23:42.619+00:00</expiryTime>
<flags>bidir-cap</flags>
<genId>312886236</genId>
<learnTime>2017-12-20T23:34:39.805+00:00</learnTime>
<name>30.30.30.2</name>
<operSt>up</operSt>
</AdjEp-list>
</adj-items>
<adminSt>enabled</adminSt>
<bfdInst>none</bfdInst>
<border>false</border>
<dr>30.30.30.2/32</dr>
<drDelay>3</drDelay>
<drPrio>1</drPrio>
<genID>202058884</genID>
<ifstats-items>
<assertRcvd>0</assertRcvd>
<assertSent>0</assertSent>
<authFail>0</authFail>
<badVerPkt>0</badVerPkt>
<chksumErr>0</chksumErr>
<dfBackoffRcvd>0</dfBackoffRcvd>
<dfBackoffSent>0</dfBackoffSent>
<dfOfferRcvd>0</dfOfferRcvd>
<dfOfferSent>0</dfOfferSent>
<dfPassesRcvd>0</dfPassesRcvd>
<dfPassesSent>0</dfPassesSent>
<dfWinnerRcvd>0</dfWinnerRcvd>
<dfWinnerSent>0</dfWinnerSent>
<graftsRcvd>0</graftsRcvd>
<graftsSent>0</graftsSent>
<grftAckRcvd>0</grftAckRcvd>
<grftAckSent>0</grftAckSent>
<helloRcvd>2375</helloRcvd>
<helloSent>2377</helloSent>
<invalidPktRcvd>0</invalidPktRcvd>
<invalidPktSent>0</invalidPktSent>
<joinNoRP>0</joinNoRP>
<joinWrongRp>0</joinWrongRp>
<jpBidirRcvd>0</jpBidirRcvd>
<jpFilterIn>0</jpFilterIn>
<jpFilterOut>0</jpFilterOut>
<jpRcvd>0</jpRcvd>
<jpRcvdOnRPF>0</jpRcvdOnRPF>
<jpSSMRcvd>0</jpSSMRcvd>
<jpSent>0</jpSent>
<pktFrmNonNbr>0</pktFrmNonNbr>
<pktFrmSelf>0</pktFrmSelf>
<pktLenErr>0</pktLenErr>
<pktOnPassiveIf>0</pktOnPassiveIf>
</ifstats-items>
<ipAddr>30.30.30.1/24</ipAddr>
<nbrHoldTime>105</nbrHoldTime>
<nextHello>2017-12-21T18:22:31.194+00:00</nextHello>
<pimSparseMode>true</pimSparseMode>
</If-list>
<If-list>
<id>lo0</id>
<adminSt>enabled</adminSt>
<bfdInst>none</bfdInst>
<border>false</border>
<dr>2.2.2.100/32</dr>
<drDelay>3</drDelay>
<drPrio>1</drPrio>
<genID>671644221</genID>
<ifstats-items>
<assertRcvd>0</assertRcvd>
<assertSent>0</assertSent>
<authFail>0</authFail>
<badVerPkt>0</badVerPkt>
<chksumErr>0</chksumErr>
<dfBackoffRcvd>0</dfBackoffRcvd>
<dfBackoffSent>0</dfBackoffSent>
<dfOfferRcvd>0</dfOfferRcvd>
<dfOfferSent>0</dfOfferSent>
<dfPassesRcvd>0</dfPassesRcvd>
<dfPassesSent>0</dfPassesSent>
<dfWinnerRcvd>0</dfWinnerRcvd>
<dfWinnerSent>0</dfWinnerSent>
<graftsRcvd>0</graftsRcvd>
<graftsSent>0</graftsSent>
<grftAckRcvd>0</grftAckRcvd>
<grftAckSent>0</grftAckSent>
<helloRcvd>0</helloRcvd>
<helloSent>2369</helloSent>
<invalidPktRcvd>0</invalidPktRcvd>
<invalidPktSent>0</invalidPktSent>
<joinNoRP>0</joinNoRP>
<joinWrongRp>0</joinWrongRp>
<jpBidirRcvd>0</jpBidirRcvd>
<jpFilterIn>0</jpFilterIn>
<jpFilterOut>0</jpFilterOut>
<jpRcvd>0</jpRcvd>
<jpRcvdOnRPF>0</jpRcvdOnRPF>
<jpSSMRcvd>0</jpSSMRcvd>
<jpSent>0</jpSent>
<pktFrmNonNbr>0</pktFrmNonNbr>
<pktFrmSelf>0</pktFrmSelf>
<pktLenErr>0</pktLenErr>
<pktOnPassiveIf>0</pktOnPassiveIf>
</ifstats-items>
<ipAddr>2.2.2.100/32</ipAddr>
<nbrHoldTime>105</nbrHoldTime>
<nextHello>2017-12-21T18:22:14.811+00:00</nextHello>
<pimSparseMode>true</pimSparseMode>
</If-list>
</if-items>
<logNbhChng>false</logNbhChng>
<mtu>1500</mtu>
<ssm-items>
<range-items>
<grpList>232.0.0.0/8</grpList>
<ssmNone>false</ssmNone>
</range-items>
</ssm-items>
<staticrp-items>
<rp-items>
<StaticRP-list>
<addr>8.8.8.100/32</addr>
<rpgrplist-items>
<RPGrpList-list>
<grpListName>224.0.0.0/4</grpListName>
<bidir>false</bidir>
<override>false</override>
</RPGrpList-list>
</rpgrplist-items>
</StaticRP-list>
<StaticRP-list>
<addr>1.1.1.100/32</addr>
<rpgrplist-items>
<RPGrpList-list>
<grpListName>224.0.0.0/4</grpListName>
<bidir>false</bidir>
<override>false</override>
</RPGrpList-list>
</rpgrplist-items>
</StaticRP-list>
</rp-items>
</staticrp-items>
</Dom-list>
</dom-items>
<jpDelay>100</jpDelay>
<operErr/>
<regStop>false</regStop>
</inst-items>
<operErr/>
<operSt>enabled</operSt>
</pim-items>
DME Requests
A DME GET request is individually sent for each interface, as shown in the example. To view all PIM information in a single payload, send a DME GET request to http://<IP_Address>/api/mo/sys/pim.json?rsp-subtree=full
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying PIM Neighbor Related Information
Querying PIM Neighbor Related Information
GET http://<IP_Address>/api/mo/sys/pim/inst/dom-default/if-[eth1/49]/adj-[30.30.30.2/32].json
{
"totalCount": "1",
"imdata": [
{
"pimAdjEp": {
"attributes": {
"addr": "30.30.30.2/32",
"bfdSt": "down",
"dn": "sys/pim/inst/dom-default/if-[eth1/49]/adj-[30.30.30.2/32]",
"drPrio": "1",
"expiryTime": "2017-12-22T14:25:59.985+00:00",
"flags": "bidir-cap",
"genId": "312886236",
"learnTime": "2017-12-20T23:34:39.805+00:00",
"name": "30.30.30.2",
"operSt": "up"
}}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/pim-items
<pim-items>
<adminSt>enabled</adminSt>
<inst-items>
<adminSt>enabled</adminSt>
<dom-items>
<Dom-list>
<name>default</name>
<adminSt>disabled</adminSt>
<autoEnable>true</autoEnable>
<bfd>false</bfd>
<db-items>
<Db-list>
<type>route</type>
<name/>
<src-items>
<Route-list>
<src>0.0.0.0</src>
<grp>232.0.0.0/8</grp>
<assertMetric>0</assertMetric>
<assertMetricPref>0</assertMetricPref>
<assertTime>1969-12-31T16:00:00.000+00:00</assertTime>
<createTs>2017-12-21T17:50:30.899+00:00</createTs>
<expiryTs>2017-12-21T18:23:06.969+00:00</expiryTs>
<hwByteCnt>0</hwByteCnt>
<hwPktCnt>0</hwPktCnt>
<iif>unspecified</iif>
<jpHoldTime>3</jpHoldTime>
<name/>
<routeBits/>
<rpAddrRoute>8.8.8.100</rpAddrRoute>
<rpfNbr>0.0.0.0/32</rpfNbr>
<rpfSrc>0.0.0.0/32</rpfSrc>
<rtTimeOutInvtl>1</rtTimeOutInvtl>
<rtType/>
<swByteCnt>0</swByteCnt>
<swPktCnt>0</swPktCnt>
<ver>0</ver>
</Route-list>
<Route-list>
<src>0.0.0.0</src>
<grp>224.1.1.1/32</grp>
<assertMetric>0</assertMetric>
<assertMetricPref>0</assertMetricPref>
<assertTime>1969-12-31T16:00:00.000+00:00</assertTime>
<createTs>2017-12-21T17:49:51.052+00:00</createTs>
<expiryTs>2017-12-21T18:24:07.999+00:00</expiryTs>
<hwByteCnt>0</hwByteCnt>
<hwPktCnt>0</hwPktCnt>
<iif>unspecified</iif>
<jpHoldTime>3</jpHoldTime>
<name/>
<routeBits>rp_bit,wc_bit</routeBits>
<rpAddrRoute>0.0.0.0</rpAddrRoute>
<rpfNbr>0.0.0.0/32</rpfNbr>
<rpfSrc>8.8.8.100/32</rpfSrc>
<rtTimeOutInvtl>2</rtTimeOutInvtl>
<rtType/>
<swByteCnt>0</swByteCnt>
<swPktCnt>0</swPktCnt>
<ver>0</ver>
</Route-list>
<Route-list>
<src>2.2.2.200</src>
<grp>224.1.1.1/32</grp>
<assertMetric>0</assertMetric>
<assertMetricPref>0</assertMetricPref>
<assertTime>1969-12-31T16:00:00.000+00:00</assertTime>
<createTs>2017-12-21T17:49:51.051+00:00</createTs>
<expiryTs>2017-12-21T18:24:07.999+00:00</expiryTs>
<hwByteCnt>229500</hwByteCnt>
<hwPktCnt>4500</hwPktCnt>
<iif>lo0</iif>
<jpHoldTime>3</jpHoldTime>
<name/>
<routeBits/>
<rpAddrRoute>8.8.8.100</rpAddrRoute>
<rpfNbr>2.2.2.200/32</rpfNbr>
<rpfSrc>2.2.2.200/32</rpfSrc>
<rtTimeOutInvtl>2</rtTimeOutInvtl>
<rtType/>
<swByteCnt>0</swByteCnt>
<swPktCnt>0</swPktCnt>
<ver>0</ver>
</Route-list>
</src-items>
</Db-list>
<Db-list>
<type>grange</type>
<grange-items>
<RPGrange-list>
<addr>224.0.0.0/4</addr>
<flags>asm,static</flags>
<rpAddr>1.1.1.100</rpAddr>
</RPGrange-list>
</grange-items>
<name/>
</Db-list>
<Db-list>
<type>rp</type>
<name/>
<rp-items>
<RPInfo-list>
<addr>1.1.1.100/32</addr>
<arpExp>1969-12-31T16:00:00.000+00:00</arpExp>
<bsrAddr>0.0.0.0</bsrAddr>
<bsrExp>1969-12-31T16:00:00.000+00:00</bsrExp>
<dfOrdinal>0</dfOrdinal>
<discType>staticRP</discType>
<local>false</local>
<name/>
<priority>255</priority>
<uptime>2017-12-20T23:33:54.097+00:00</uptime>
</RPInfo-list>
<RPInfo-list>
<addr>8.8.8.100/32</addr>
<arpExp>1969-12-31T16:00:00.000+00:00</arpExp>
<bsrAddr>0.0.0.0</bsrAddr>
<bsrExp>1969-12-31T16:00:00.000+00:00</bsrExp>
<dfOrdinal>0</dfOrdinal>
<discType>staticRP</discType>
<local>false</local>
<name/>
<priority>255</priority>
<uptime>2017-12-20T23:33:54.266+00:00</uptime>
</RPInfo-list>
</rp-items>
</Db-list>
</db-items>
<domstats-items>
<autoRPAnnouncesRcvd>0</autoRPAnnouncesRcvd>
<autoRPAnnouncesSent>0</autoRPAnnouncesSent>
<autoRPDiscoveriesRcvd>0</autoRPDiscoveriesRcvd>
<autoRPDiscoveriesSent>0</autoRPDiscoveriesSent>
<autoRPFromBorderIF>0</autoRPFromBorderIF>
<autoRPInvalidType>0</autoRPInvalidType>
<autoRPRPFFailed>0</autoRPRPFFailed>
<autoRPRcvdLisNotConf>0</autoRPRcvdLisNotConf>
<autoRPTTLExp>0</autoRPTTLExp>
<bsrBsFromBorderIF>0</bsrBsFromBorderIF>
<bsrBsFromNonNbr>0</bsrBsFromNonNbr>
<bsrBsLenErr>0</bsrBsLenErr>
<bsrBsRPFFail>0</bsrBsRPFFail>
<bsrBsRcvd>0</bsrBsRcvd>
<bsrBsRcvdLisNotConf>0</bsrBsRcvdLisNotConf>
<bsrBsSent>0</bsrBsSent>
<bsrCRPFromBorderIF>0</bsrCRPFromBorderIF>
<bsrCRPRcvd>0</bsrCRPRcvd>
<bsrCRPRcvdLisNotConf>0</bsrCRPRcvdLisNotConf>
<bsrCRPSent>0</bsrCRPSent>
<cpRPFFailNoRoute>3</cpRPFFailNoRoute>
<dpCrtRouteStateCnt>0</dpCrtRouteStateCnt>
<dpNoMcastState>0</dpNoMcastState>
<dpRPFFailNoRoute>0</dpRPFFailNoRoute>
<nullRegRcvd>0</nullRegRcvd>
<nullRegSent>1124</nullRegSent>
<regRcvd>0</regRcvd>
<regRcvdAndNotRP>0</regRcvdAndNotRP>
<regRcvdBiDir>0</regRcvdBiDir>
<regRcvdSSM>0</regRcvdSSM>
<regSent>0</regSent>
<regStopRcvd>0</regStopRcvd>
<regStopSent>0</regStopSent>
</domstats-items>
<flushRoutes>false</flushRoutes>
<if-items>
<If-list>
<id>eth1/49</id>
<adj-items>
<AdjEp-list>
<addr>30.30.30.2/32</addr>
<adjstats-items>
<lastHelloRcvd>1969-12-31T16:01:09.479+00:00</lastHelloRcvd>
<lastHoldTime>39464</lastHoldTime>
<longHelloItvl>1841</longHelloItvl>
<nonHelloExpResets>0</nonHelloExpResets>
</adjstats-items>
<bfdSt>down</bfdSt>
<drPrio>1</drPrio>
<expiryTime>2017-12-21T18:23:42.619+00:00</expiryTime>
<flags>bidir-cap</flags>
<genId>312886236</genId>
<learnTime>2017-12-20T23:34:39.805+00:00</learnTime>
<name>30.30.30.2</name>
<operSt>up</operSt>
</AdjEp-list>
</adj-items>
<adminSt>enabled</adminSt>
<bfdInst>none</bfdInst>
<border>false</border>
<dr>30.30.30.2/32</dr>
<drDelay>3</drDelay>
<drPrio>1</drPrio>
<genID>202058884</genID>
<ifstats-items>
<assertRcvd>0</assertRcvd>
<assertSent>0</assertSent>
<authFail>0</authFail>
<badVerPkt>0</badVerPkt>
<chksumErr>0</chksumErr>
<dfBackoffRcvd>0</dfBackoffRcvd>
<dfBackoffSent>0</dfBackoffSent>
<dfOfferRcvd>0</dfOfferRcvd>
<dfOfferSent>0</dfOfferSent>
<dfPassesRcvd>0</dfPassesRcvd>
<dfPassesSent>0</dfPassesSent>
<dfWinnerRcvd>0</dfWinnerRcvd>
<dfWinnerSent>0</dfWinnerSent>
<graftsRcvd>0</graftsRcvd>
<graftsSent>0</graftsSent>
<grftAckRcvd>0</grftAckRcvd>
<grftAckSent>0</grftAckSent>
<helloRcvd>2375</helloRcvd>
<helloSent>2377</helloSent>
<invalidPktRcvd>0</invalidPktRcvd>
<invalidPktSent>0</invalidPktSent>
<joinNoRP>0</joinNoRP>
<joinWrongRp>0</joinWrongRp>
<jpBidirRcvd>0</jpBidirRcvd>
<jpFilterIn>0</jpFilterIn>
<jpFilterOut>0</jpFilterOut>
<jpRcvd>0</jpRcvd>
<jpRcvdOnRPF>0</jpRcvdOnRPF>
<jpSSMRcvd>0</jpSSMRcvd>
<jpSent>0</jpSent>
<pktFrmNonNbr>0</pktFrmNonNbr>
<pktFrmSelf>0</pktFrmSelf>
<pktLenErr>0</pktLenErr>
<pktOnPassiveIf>0</pktOnPassiveIf>
</ifstats-items>
<ipAddr>30.30.30.1/24</ipAddr>
<nbrHoldTime>105</nbrHoldTime>
<nextHello>2017-12-21T18:22:31.194+00:00</nextHello>
<pimSparseMode>true</pimSparseMode>
</If-list>
<If-list>
<id>lo0</id>
<adminSt>enabled</adminSt>
<bfdInst>none</bfdInst>
<border>false</border>
<dr>2.2.2.100/32</dr>
<drDelay>3</drDelay>
<drPrio>1</drPrio>
<genID>671644221</genID>
<ifstats-items>
<assertRcvd>0</assertRcvd>
<assertSent>0</assertSent>
<authFail>0</authFail>
<badVerPkt>0</badVerPkt>
<chksumErr>0</chksumErr>
<dfBackoffRcvd>0</dfBackoffRcvd>
<dfBackoffSent>0</dfBackoffSent>
<dfOfferRcvd>0</dfOfferRcvd>
<dfOfferSent>0</dfOfferSent>
<dfPassesRcvd>0</dfPassesRcvd>
<dfPassesSent>0</dfPassesSent>
<dfWinnerRcvd>0</dfWinnerRcvd>
<dfWinnerSent>0</dfWinnerSent>
<graftsRcvd>0</graftsRcvd>
<graftsSent>0</graftsSent>
<grftAckRcvd>0</grftAckRcvd>
<grftAckSent>0</grftAckSent>
<helloRcvd>0</helloRcvd>
<helloSent>2369</helloSent>
<invalidPktRcvd>0</invalidPktRcvd>
<invalidPktSent>0</invalidPktSent>
<joinNoRP>0</joinNoRP>
<joinWrongRp>0</joinWrongRp>
<jpBidirRcvd>0</jpBidirRcvd>
<jpFilterIn>0</jpFilterIn>
<jpFilterOut>0</jpFilterOut>
<jpRcvd>0</jpRcvd>
<jpRcvdOnRPF>0</jpRcvdOnRPF>
<jpSSMRcvd>0</jpSSMRcvd>
<jpSent>0</jpSent>
<pktFrmNonNbr>0</pktFrmNonNbr>
<pktFrmSelf>0</pktFrmSelf>
<pktLenErr>0</pktLenErr>
<pktOnPassiveIf>0</pktOnPassiveIf>
</ifstats-items>
<ipAddr>2.2.2.100/32</ipAddr>
<nbrHoldTime>105</nbrHoldTime>
<nextHello>2017-12-21T18:22:14.811+00:00</nextHello>
<pimSparseMode>true</pimSparseMode>
</If-list>
</if-items>
<logNbhChng>false</logNbhChng>
<mtu>1500</mtu>
<ssm-items>
<range-items>
<grpList>232.0.0.0/8</grpList>
<ssmNone>false</ssmNone>
</range-items>
</ssm-items>
<staticrp-items>
<rp-items>
<StaticRP-list>
<addr>8.8.8.100/32</addr>
<rpgrplist-items>
<RPGrpList-list>
<grpListName>224.0.0.0/4</grpListName>
<bidir>false</bidir>
<override>false</override>
</RPGrpList-list>
</rpgrplist-items>
</StaticRP-list>
<StaticRP-list>
<addr>1.1.1.100/32</addr>
<rpgrplist-items>
<RPGrpList-list>
<grpListName>224.0.0.0/4</grpListName>
<bidir>false</bidir>
<override>false</override>
</RPGrpList-list>
</rpgrplist-items>
</StaticRP-list>
</rp-items>
</staticrp-items>
</Dom-list>
</dom-items>
<jpDelay>100</jpDelay>
<operErr/>
<regStop>false</regStop>
</inst-items>
<operErr/>
<operSt>enabled</operSt>
</pim-items>
DME Requests
A DME GET request is individually sent for each interface, as shown in the example. To view all PIM information in a single payload, send a DME GET request to http://<IP_Address>/api/mo/sys/pim.json?rsp-subtree=full
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
Querying PIM Neighbor Interface Information
Querying PIM Neighbor Interface Information
GET http://<IP_Address>/api/mo/sys/pim/inst/dom-default/if-[eth1/49]/adj-[30.30.30.2/32].json
{
"totalCount": "1",
"imdata": [
{
"pimAdjEp": {
"attributes": {
"addr": "30.30.30.2/32",
"bfdSt": "down",
"dn": "sys/pim/inst/dom-default/if-[eth1/49]/adj-[30.30.30.2/32]",
"drPrio": "1",
"expiryTime": "2018-01-03T14:55:29.011+00:00",
"flags": "bidir-cap",
"genId": "343733100",
"learnTime": "2018-01-03T14:45:47.652+00:00",
"name": "30.30.30.2",
"operSt": "up"
}}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/pim-items/inst-items/dom-items/Dom-list=default/if-items/If-list=[eth1%2f49]
<If-list>
<id>eth1/49</id>
<adj-items>
<AdjEp-list>
<addr>30.30.30.2/32</addr>
<adjstats-items>
<lastHelloRcvd>1969-12-31T16:01:25.441+00:00</lastHelloRcvd>
<lastHoldTime>39464</lastHoldTime>
<longHelloItvl>393</longHelloItvl>
<nonHelloExpResets>0</nonHelloExpResets>
</adjstats-items>
<bfdSt>down</bfdSt>
<drPrio>1</drPrio>
<expiryTime>2018-01-06T17:18:47.789+00:00</expiryTime>
<flags>bidir-cap</flags>
<genId>391794114</genId>
<learnTime>2018-01-05T17:39:34.820+00:00</learnTime>
<name>30.30.30.2</name>
<operSt>up</operSt>
</AdjEp-list>
</adj-items>
<adminSt>enabled</adminSt>
<bfdInst>none</bfdInst>
<border>false</border>
<dr>30.30.30.2/32</dr>
<drDelay>3</drDelay>
<drPrio>1</drPrio>
<genID>762145955</genID>
<ifstats-items>
<assertRcvd>0</assertRcvd>
<assertSent>0</assertSent>
<authFail>0</authFail>
<badVerPkt>0</badVerPkt>
<chksumErr>0</chksumErr>
<dfBackoffRcvd>0</dfBackoffRcvd>
<dfBackoffSent>0</dfBackoffSent>
<dfOfferRcvd>0</dfOfferRcvd>
<dfOfferSent>0</dfOfferSent>
<dfPassesRcvd>0</dfPassesRcvd>
<dfPassesSent>0</dfPassesSent>
<dfWinnerRcvd>0</dfWinnerRcvd>
<dfWinnerSent>0</dfWinnerSent>
<graftsRcvd>0</graftsRcvd>
<graftsSent>0</graftsSent>
<grftAckRcvd>0</grftAckRcvd>
<grftAckSent>0</grftAckSent>
<helloRcvd>2986</helloRcvd>
<helloSent>2987</helloSent>
<invalidPktRcvd>0</invalidPktRcvd>
<invalidPktSent>0</invalidPktSent>
<joinNoRP>0</joinNoRP>
<joinWrongRp>0</joinWrongRp>
<jpBidirRcvd>0</jpBidirRcvd>
<jpFilterIn>0</jpFilterIn>
<jpFilterOut>0</jpFilterOut>
<jpRcvd>0</jpRcvd>
<jpRcvdOnRPF>0</jpRcvdOnRPF>
<jpSSMRcvd>0</jpSSMRcvd>
<jpSent>0</jpSent>
<pktFrmNonNbr>0</pktFrmNonNbr>
<pktFrmSelf>0</pktFrmSelf>
<pktLenErr>0</pktLenErr>
<pktOnPassiveIf>0</pktOnPassiveIf>
</ifstats-items>
<ipAddr>30.30.30.1/24</ipAddr>
<nbrHoldTime>105</nbrHoldTime>
<nextHello>2018-01-06T17:17:21.146+00:00</nextHello>
<pimSparseMode>true</pimSparseMode>
</If-list>
CLI Output |
---|
|
Querying VRF Information
Querying VRF Information
GET http://<IP_Address>/api/mo/sys.json?query-target=children&target-subtree-class=l3Inst&rsp-subtree=full
{
"totalCount": "8",
"imdata": [
{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"bgpRd": "0,0,0,0,0,0,0,0",
"bgpRdDisp": "0:0",
"childAction": "",
"createTs": "2017-12-23T13:53:29.232+00:00",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-default",
"encap": "unknown",
"gsdbCtx": "0",
"id": "1",
"l3vmCfgFailedBmp": "",
"l3vmCfgFailedTs": "00:00:00:00.000",
"l3vmCfgState": "0",
"lastChgdTs": "2017-12-23T13:54:24.605+00:00",
"modTs": "2017-12-23T13:53:24.667+00:00",
"monPolDn": "",
"name": "default",
"oldOperStQual": "invalid",
"operStQual": "invalid",
"operState": "up",
"oui": "0",
"pending": "no",
"persistentOnReload": "true",
"prtclBmp": "96",
"resourceId": "0",
"scope": "1",
"secLbl": "0",
"status": "",
"uid": "0",
"v4TibId": "1",
"v4TibName": "base",
"v4TibOldOperStQual": "invalid",
"v4TibOperStQual": "invalid",
"v4TibOperState": "up",
"v4TibPending": "no",
"v4TibValid": "yes",
"v6TibId": "2147483649",
"v6TibName": "base",
"v6TibOldOperStQual": "invalid",
"v6TibOperStQual": "invalid",
"v6TibOperState": "up",
"v6TibPending": "no",
"v6TibValid": "yes",
"vpnId": "0"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:53:24.667+00:00",
"name": "default",
"operRd": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-default",
"status": "",
"uid": "0"
}}},{
"l3RsVrfMbr": {
"attributes": {
"childAction": "",
"forceResolve": "no",
"modTs": "2017-12-23T13:55:10.391+00:00",
"parentSKey": "",
"persistentOnReload": "true",
"rType": "mo",
"rn": "rsvrfMbr-[sys/intf/lb-[lo1]]",
"state": "unformed",
"stateQual": "none",
"status": "",
"tCl": "nwIf",
"tDn": "sys/intf/lb-[lo1]",
"tSKey": "lo1",
"tType": "mo",
"uid": "0"
}}},{
"l3RsVrfMbr": {
"attributes": {
"childAction": "",
"forceResolve": "no",
"modTs": "2017-12-23T13:55:10.321+00:00",
"parentSKey": "",
"persistentOnReload": "true",
"rType": "mo",
"rn": "rsvrfMbr-[sys/intf/lb-[lo0]]",
"state": "unformed",
"stateQual": "none",
"status": "",
"tCl": "nwIf",
"tDn": "sys/intf/lb-[lo0]",
"tSKey": "lo0",
"tType": "mo",
"uid": "0"
}}},{
"l3RsVrfMbr": {
"attributes": {
"childAction": "",
"forceResolve": "no",
"modTs": "2017-12-23T13:55:09.016+00:00",
"parentSKey": "",
"persistentOnReload": "true",
"rType": "mo",
"rn": "rsvrfMbr-[sys/intf/phys-[eth1/6]]",
"state": "unformed",
"stateQual": "none",
"status": "",
"tCl": "nwIf",
"tDn": "sys/intf/phys-[eth1/6]",
"tSKey": "eth1/6",
"tType": "mo",
"uid": "0"
}}},{
"l3RsVrfMbr": {
"attributes": {
"childAction": "",
"forceResolve": "no",
"modTs": "2017-12-23T13:55:10.508+00:00",
"parentSKey": "",
"persistentOnReload": "true",
"rType": "mo",
"rn": "rsvrfMbr-[sys/intf/lb-[lo2]]",
"state": "unformed",
"stateQual": "none",
"status": "",
"tCl": "nwIf",
"tDn": "sys/intf/lb-[lo2]",
"tSKey": "lo2",
"tType": "mo",
"uid": "0"
}}},{
"l3RsVrfMbr": {
"attributes": {
"childAction": "",
"forceResolve": "no",
"modTs": "2017-12-23T13:55:09.407+00:00",
"parentSKey": "",
"persistentOnReload": "true",
"rType": "mo",
"rn": "rsvrfMbr-[sys/intf/phys-[eth1/7]]",
"state": "unformed",
"stateQual": "none",
"status": "",
"tCl": "nwIf",
"tDn": "sys/intf/phys-[eth1/7]",
"tSKey": "eth1/7",
"tType": "mo",
"uid": "0"
}}},{
"l3RsVrfMbr": {
"attributes": {
"childAction": "",
"forceResolve": "no",
"modTs": "2017-12-23T13:55:08.628+00:00",
"parentSKey": "",
"persistentOnReload": "true",
"rType": "mo",
"rn": "rsvrfMbr-[sys/intf/phys-[eth1/1]]",
"state": "unformed",
"stateQual": "none",
"status": "",
"tCl": "nwIf",
"tDn": "sys/intf/phys-[eth1/1]",
"tSKey": "eth1/1",
"tType": "mo",
"uid": "0"
}}},{
"l3RsVrfMbr": {
"attributes": {
"childAction": "",
"forceResolve": "no",
"modTs": "2017-12-23T13:55:08.837+00:00",
"parentSKey": "",
"persistentOnReload": "true",
"rType": "mo",
"rn": "rsvrfMbr-[sys/intf/phys-[eth1/2]]",
"state": "unformed",
"stateQual": "none",
"status": "",
"tCl": "nwIf",
"tDn": "sys/intf/phys-[eth1/2]",
"tSKey": "eth1/2",
"tType": "mo",
"uid": "0"
}}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"bgpRd": "0,0,0,0,0,0,0,0",
"bgpRdDisp": "0:0",
"childAction": "",
"createTs": "2017-12-23T13:53:29.418+00:00",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-management",
"encap": "unknown",
"gsdbCtx": "0",
"id": "2",
"l3vmCfgFailedBmp": "",
"l3vmCfgFailedTs": "00:00:00:00.000",
"l3vmCfgState": "0",
"lastChgdTs": "2017-12-23T13:54:29.613+00:00",
"modTs": "2017-12-23T13:53:24.667+00:00",
"monPolDn": "",
"name": "management",
"oldOperStQual": "invalid",
"operStQual": "invalid",
"operState": "up",
"oui": "0",
"pending": "no",
"persistentOnReload": "true",
"prtclBmp": "0",
"resourceId": "0",
"scope": "1",
"secLbl": "0",
"status": "",
"uid": "0",
"v4TibId": "2",
"v4TibName": "base",
"v4TibOldOperStQual": "invalid",
"v4TibOperStQual": "invalid",
"v4TibOperState": "up",
"v4TibPending": "no",
"v4TibValid": "yes",
"v6TibId": "2147483650",
"v6TibName": "base",
"v6TibOldOperStQual": "invalid",
"v6TibOperStQual": "invalid",
"v6TibOperState": "up",
"v6TibPending": "no",
"v6TibValid": "yes",
"vpnId": "0"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:53:24.667+00:00",
"name": "management",
"operRd": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-management",
"status": "",
"uid": "0"
}}},{
"l3RsVrfMbr": {
"attributes": {
"childAction": "",
"forceResolve": "no",
"modTs": "2017-12-23T13:53:52.689+00:00",
"parentSKey": "",
"persistentOnReload": "true",
"rType": "mo",
"rn": "rsvrfMbr-[sys/mgmt-[mgmt0]]",
"state": "unformed",
"stateQual": "none",
"status": "",
"tCl": "nwIf",
"tDn": "sys/mgmt-[mgmt0]",
"tSKey": "mgmt0",
"tType": "mo",
"uid": "0"
}}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"bgpRd": "0,0,0,0,0,0,0,0",
"bgpRdDisp": "0:0",
"childAction": "",
"createTs": "2017-12-23T13:54:24.329+00:00",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-VRF_1",
"encap": "unknown",
"gsdbCtx": "0",
"id": "3",
"l3vmCfgFailedBmp": "",
"l3vmCfgFailedTs": "00:00:00:00.000",
"l3vmCfgState": "0",
"lastChgdTs": "2017-12-23T13:54:24.397+00:00",
"modTs": "2017-12-23T13:55:07.690+00:00",
"monPolDn": "",
"name": "VRF_1",
"oldOperStQual": "invalid",
"operStQual": "invalid",
"operState": "up",
"oui": "0",
"pending": "no",
"persistentOnReload": "true",
"prtclBmp": "64",
"resourceId": "0",
"scope": "1",
"secLbl": "0",
"status": "",
"uid": "0",
"v4TibId": "3",
"v4TibName": "base",
"v4TibOldOperStQual": "invalid",
"v4TibOperStQual": "invalid",
"v4TibOperState": "up",
"v4TibPending": "no",
"v4TibValid": "yes",
"v6TibId": "2147483651",
"v6TibName": "base",
"v6TibOldOperStQual": "invalid",
"v6TibOperStQual": "invalid",
"v6TibOperState": "up",
"v6TibPending": "no",
"v6TibValid": "yes",
"vpnId": "0"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.690+00:00",
"name": "VRF_1",
"operRd": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-VRF_1",
"status": "",
"uid": "0"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.725+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"status": "",
"type": "ipv4-ucast",
"uid": "0"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.756+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-mvpn",
"status": "",
"type": "ipv4-mvpn",
"uid": "0"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.756+00:00",
"name": "",
"operRttAuto": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rn": "rttp-import",
"status": "",
"type": "import",
"uid": "0"
},
"children": [
{
"rtctrlRttEntry": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.756+00:00",
"persistentOnReload": "true",
"rn": "ent-route-target:as2-nn2:1:2",
"rtt": "route-target:as2-nn2:1:2",
"status": "",
"uid": "0"
}}}]}}]}},{
"rtctrlAfCtrl": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.783+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-ucast",
"status": "",
"type": "ipv4-ucast",
"uid": "0"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.811+00:00",
"name": "",
"operRttAuto": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rn": "rttp-import",
"status": "",
"type": "import",
"uid": "0"
},
"children": [
{
"rtctrlMapP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.811+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "rtctrlmap",
"rtMap": "map1",
"status": "",
"uid": "0"
}}}]}},{
"rtctrlRttP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.783+00:00",
"name": "",
"operRttAuto": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rn": "rttp-export",
"status": "",
"type": "export",
"uid": "0"
},
"children": [
{
"rtctrlRttEntry": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.783+00:00",
"persistentOnReload": "true",
"rn": "ent-route-target:as2-nn2:1:2",
"rtt": "route-target:as2-nn2:1:2",
"status": "",
"uid": "0"
}}},{
"rtctrlMapP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.796+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "rtctrlmap",
"rtMap": "map1",
"status": "",
"uid": "0"
}}},{
"rtctrlDomDefMapP": {
"attributes": {
"allowVpn": "no",
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.825+00:00",
"name": "",
"persistentOnReload": "true",
"pfxLimit": "0",
"rn": "rtctrldefmap",
"rtMap": "map1",
"status": "",
"uid": "0"
}}}]}}]}}]}}]}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"bgpRd": "0,0,0,0,0,0,0,0",
"bgpRdDisp": "0:0",
"childAction": "",
"createTs": "2017-12-23T13:54:24.344+00:00",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-VRF_2",
"encap": "unknown",
"gsdbCtx": "0",
"id": "4",
"l3vmCfgFailedBmp": "",
"l3vmCfgFailedTs": "00:00:00:00.000",
"l3vmCfgState": "0",
"lastChgdTs": "2017-12-23T13:54:24.410+00:00",
"modTs": "2017-12-23T13:55:07.850+00:00",
"monPolDn": "",
"name": "VRF_2",
"oldOperStQual": "invalid",
"operStQual": "invalid",
"operState": "up",
"oui": "0",
"pending": "no",
"persistentOnReload": "true",
"prtclBmp": "32",
"resourceId": "0",
"scope": "1",
"secLbl": "0",
"status": "",
"uid": "0",
"v4TibId": "4",
"v4TibName": "base",
"v4TibOldOperStQual": "invalid",
"v4TibOperStQual": "invalid",
"v4TibOperState": "up",
"v4TibPending": "no",
"v4TibValid": "yes",
"v6TibId": "2147483652",
"v6TibName": "base",
"v6TibOldOperStQual": "invalid",
"v6TibOperStQual": "invalid",
"v6TibOperState": "up",
"v6TibPending": "no",
"v6TibValid": "yes",
"vpnId": "0"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.879+00:00",
"name": "VRF_2",
"operRd": "rd:as2-nn2:1:2",
"persistentOnReload": "true",
"rd": "rd:as2-nn2:1:2",
"rn": "dom-VRF_2",
"status": "",
"uid": "0"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.898+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"status": "",
"type": "ipv4-ucast",
"uid": "0"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.918+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-ucast",
"status": "",
"type": "ipv4-ucast",
"uid": "0"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.918+00:00",
"name": "",
"operRttAuto": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rn": "rttp-export",
"status": "",
"type": "export",
"uid": "0"
},
"children": [
{
"rtctrlMapP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.918+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "rtctrlmap",
"rtMap": "map1",
"status": "",
"uid": "0"
}}},{
"rtctrlDomDefMapP": {
"attributes": {
"allowVpn": "yes",
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.936+00:00",
"name": "",
"persistentOnReload": "true",
"pfxLimit": "0",
"rn": "rtctrldefmap",
"rtMap": "map1",
"status": "",
"uid": "0"
}}}]}}]}}]}}]}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"bgpRd": "0,0,0,0,0,0,0,0",
"bgpRdDisp": "0:0",
"childAction": "",
"createTs": "2017-12-23T13:54:24.352+00:00",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-foo",
"encap": "unknown",
"gsdbCtx": "0",
"id": "5",
"l3vmCfgFailedBmp": "",
"l3vmCfgFailedTs": "00:00:00:00.000",
"l3vmCfgState": "0",
"lastChgdTs": "2017-12-23T13:54:24.418+00:00",
"modTs": "2017-12-23T13:55:07.954+00:00",
"monPolDn": "",
"name": "foo",
"oldOperStQual": "invalid",
"operStQual": "invalid",
"operState": "up",
"oui": "0",
"pending": "no",
"persistentOnReload": "true",
"prtclBmp": "0",
"resourceId": "0",
"scope": "1",
"secLbl": "0",
"status": "",
"uid": "0",
"v4TibId": "5",
"v4TibName": "base",
"v4TibOldOperStQual": "invalid",
"v4TibOperStQual": "invalid",
"v4TibOperState": "up",
"v4TibPending": "no",
"v4TibValid": "yes",
"v6TibId": "2147483653",
"v6TibName": "base",
"v6TibOldOperStQual": "invalid",
"v6TibOperStQual": "invalid",
"v6TibOperState": "up",
"v6TibPending": "no",
"v6TibValid": "yes",
"vpnId": "0"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.954+00:00",
"name": "foo",
"operRd": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-foo",
"status": "",
"uid": "0"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.976+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"status": "",
"type": "ipv4-ucast",
"uid": "0"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:07.993+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-ucast",
"status": "",
"type": "ipv4-ucast",
"uid": "0"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.993+00:00",
"name": "",
"operRttAuto": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rn": "rttp-export",
"status": "",
"type": "export",
"uid": "0"
},
"children": [
{
"rtctrlDomDefMapP": {
"attributes": {
"allowVpn": "yes",
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:07.993+00:00",
"name": "",
"persistentOnReload": "true",
"pfxLimit": "0",
"rn": "rtctrldefmap",
"rtMap": "map1",
"status": "",
"uid": "0"
}}}]}}]}}]}}]}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"bgpRd": "0,0,0,0,0,0,0,0",
"bgpRdDisp": "0:0",
"childAction": "",
"createTs": "2017-12-23T13:54:24.364+00:00",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-switchpool-default",
"encap": "unknown",
"gsdbCtx": "0",
"id": "6",
"l3vmCfgFailedBmp": "",
"l3vmCfgFailedTs": "00:00:00:00.000",
"l3vmCfgState": "0",
"lastChgdTs": "2017-12-23T13:54:24.419+00:00",
"modTs": "2017-12-23T13:55:08.105+00:00",
"monPolDn": "",
"name": "switchpool-default",
"oldOperStQual": "invalid",
"operStQual": "invalid",
"operState": "up",
"oui": "0",
"pending": "no",
"persistentOnReload": "true",
"prtclBmp": "0",
"resourceId": "0",
"scope": "1",
"secLbl": "0",
"status": "",
"uid": "0",
"v4TibId": "6",
"v4TibName": "base",
"v4TibOldOperStQual": "invalid",
"v4TibOperStQual": "invalid",
"v4TibOperState": "up",
"v4TibPending": "no",
"v4TibValid": "yes",
"v6TibId": "2147483654",
"v6TibName": "base",
"v6TibOldOperStQual": "invalid",
"v6TibOperStQual": "invalid",
"v6TibOperState": "up",
"v6TibPending": "no",
"v6TibValid": "yes",
"vpnId": "0"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.105+00:00",
"name": "switchpool-default",
"operRd": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-switchpool-default",
"status": "",
"uid": "0"
}}}]}},{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"bgpRd": "0,0,0,0,0,0,0,0",
"bgpRdDisp": "0:0",
"childAction": "",
"createTs": "2017-12-23T13:54:24.373+00:00",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-test1",
"encap": "unknown",
"gsdbCtx": "0",
"id": "7",
"l3vmCfgFailedBmp": "",
"l3vmCfgFailedTs": "00:00:00:00.000",
"l3vmCfgState": "0",
"lastChgdTs": "2017-12-23T13:54:24.420+00:00",
"modTs": "2017-12-23T13:55:08.132+00:00",
"monPolDn": "",
"name": "test1",
"oldOperStQual": "invalid",
"operStQual": "invalid",
"operState": "up",
"oui": "0",
"pending": "no",
"persistentOnReload": "true",
"prtclBmp": "0",
"resourceId": "0",
"scope": "1",
"secLbl": "0",
"status": "",
"uid": "0",
"v4TibId": "7",
"v4TibName": "base",
"v4TibOldOperStQual": "invalid",
"v4TibOperStQual": "invalid",
"v4TibOperState": "up",
"v4TibPending": "no",
"v4TibValid": "yes",
"v6TibId": "2147483655",
"v6TibName": "base",
"v6TibOldOperStQual": "invalid",
"v6TibOperStQual": "invalid",
"v6TibOperState": "up",
"v6TibPending": "no",
"v6TibValid": "yes",
"vpnId": "0"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.132+00:00",
"name": "test1",
"operRd": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-test1",
"status": "",
"uid": "0"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.162+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"status": "",
"type": "ipv4-ucast",
"uid": "0"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.184+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-mvpn",
"status": "",
"type": "ipv4-mvpn",
"uid": "0"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:08.184+00:00",
"name": "",
"operRttAuto": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rn": "rttp-import",
"status": "",
"type": "import",
"uid": "0"
},
"children": [
{
"rtctrlRttEntry": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.184+00:00",
"persistentOnReload": "true",
"rn": "ent-route-target:as2-nn2:1:2",
"rtt": "route-target:as2-nn2:1:2",
"status": "",
"uid": "0"
}}}]}}]}}]}}]}}]}}]}
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"bgpRd": "0,0,0,0,0,0,0,0",
"bgpRdDisp": "0:0",
"childAction": "",
"createTs": "2017-12-23T13:54:24.385+00:00",
"ctrlrId": "0",
"descr": "",
"dn": "sys/inst-v1",
"encap": "unknown",
"gsdbCtx": "0",
"id": "8",
"l3vmCfgFailedBmp": "",
"l3vmCfgFailedTs": "00:00:00:00.000",
"l3vmCfgState": "0",
"lastChgdTs": "2017-12-23T13:54:24.421+00:00",
"modTs": "2017-12-23T13:55:08.204+00:00",
"monPolDn": "",
"name": "v1",
"oldOperStQual": "invalid",
"operStQual": "invalid",
"operState": "up",
"oui": "0",
"pending": "no",
"persistentOnReload": "true",
"prtclBmp": "0",
"resourceId": "0",
"scope": "1",
"secLbl": "0",
"status": "",
"uid": "0",
"v4TibId": "8",
"v4TibName": "base",
"v4TibOldOperStQual": "invalid",
"v4TibOperStQual": "invalid",
"v4TibOperState": "up",
"v4TibPending": "no",
"v4TibValid": "yes",
"v6TibId": "2147483656",
"v6TibName": "base",
"v6TibOldOperStQual": "invalid",
"v6TibOperStQual": "invalid",
"v6TibOperState": "up",
"v6TibPending": "no",
"v6TibValid": "yes",
"vpnId": "0"
},
"children": [
{
"rtctrlDom": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.204+00:00",
"name": "v1",
"operRd": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rd": "unknown:unknown:0:0",
"rn": "dom-v1",
"status": "",
"uid": "0"
},
"children": [
{
"rtctrlDomAf": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.230+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "af-ipv4-ucast",
"status": "",
"type": "ipv4-ucast",
"uid": "0"
},
"children": [
{
"rtctrlAfCtrl": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.253+00:00",
"name": "",
"persistentOnReload": "true",
"rn": "ctrl-ipv4-mvpn",
"status": "",
"type": "ipv4-mvpn",
"uid": "0"
},
"children": [
{
"rtctrlRttP": {
"attributes": {
"childAction": "",
"descr": "",
"modTs": "2017-12-23T13:55:08.253+00:00",
"name": "",
"operRttAuto": "unknown:unknown:0:0",
"persistentOnReload": "true",
"rn": "rttp-import",
"status": "",
"type": "import",
"uid": "0"
},
"children": [
{
"rtctrlRttEntry": {
"attributes": {
"childAction": "",
"modTs": "2017-12-23T13:55:08.253+00:00",
"persistentOnReload": "true",
"rn": "ent-route-target:as2-nn2:1:2",
"rtt": "route-target:as2-nn2:1:2",
"status": "",
"uid": "0"
}}}]}}]}}]}}]}}]}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/inst-items
<inst-items>
<Inst-list>
<name>test1</name>
<adminState>admin-up</adminState>
<bgpRd>0,0,0,0,0,0,0,0</bgpRd>
<bgpRdDisp>0:0</bgpRdDisp>
<createTs>2017-12-23T13:54:24.373+00:00</createTs>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>test1</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-mvpn</type>
<rttp-items>
<RttP-list>
<type>import</type>
<ent-items>
<RttEntry-list>
<rtt>route-target:as2-nn2:1:2</rtt>
</RttEntry-list>
</ent-items>
<operRttAuto>unknown:unknown:0:0</operRttAuto>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
<operRd>unknown:unknown:0:0</operRd>
</Dom-list>
</dom-items>
<gsdbCtx>0</gsdbCtx>
<id>7</id>
<lastChgdTs>2017-12-23T13:54:24.420+00:00</lastChgdTs>
<oldOperStQual>invalid</oldOperStQual>
<operStQual>invalid</operStQual>
<operState>up</operState>
<oui>0</oui>
<pending>false</pending>
<prtclBmp>0</prtclBmp>
<resourceId>0</resourceId>
<scope>1</scope>
<secLbl>0</secLbl>
<v4TibId>7</v4TibId>
<v4TibName>base</v4TibName>
<v4TibOldOperStQual>invalid</v4TibOldOperStQual>
<v4TibOperStQual>invalid</v4TibOperStQual>
<v4TibOperState>up</v4TibOperState>
<v4TibPending>false</v4TibPending>
<v4TibValid>true</v4TibValid>
<v6TibId>2147483655</v6TibId>
<v6TibName>base</v6TibName>
<v6TibOldOperStQual>invalid</v6TibOldOperStQual>
<v6TibOperStQual>invalid</v6TibOperStQual>
<v6TibOperState>up</v6TibOperState>
<v6TibPending>false</v6TibPending>
<v6TibValid>true</v6TibValid>
<vpnId>0</vpnId>
</Inst-list>
<Inst-list>
<name>default</name>
<adminState>admin-up</adminState>
<bgpRd>0,0,0,0,0,0,0,0</bgpRd>
<bgpRdDisp>0:0</bgpRdDisp>
<createTs>2017-12-23T13:53:29.232+00:00</createTs>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>default</name>
<operRd>unknown:unknown:0:0</operRd>
</Dom-list>
</dom-items>
<gsdbCtx>0</gsdbCtx>
<id>1</id>
<lastChgdTs>2017-12-23T13:54:24.605+00:00</lastChgdTs>
<oldOperStQual>invalid</oldOperStQual>
<operStQual>invalid</operStQual>
<operState>up</operState>
<oui>0</oui>
<pending>false</pending>
<prtclBmp>96</prtclBmp>
<resourceId>0</resourceId>
<rsvrfMbr-items>
<RsVrfMbr-list>
<tDn>/System/intf-items/LbRtdIf-list[id='lo1']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/LbRtdIf-list[id='lo0']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/PhysIf-list[id='eth1/6']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/LbRtdIf-list[id='lo2']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/PhysIf-list[id='eth1/7']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/PhysIf-list[id='eth1/1']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
<RsVrfMbr-list>
<tDn>/System/intf-items/PhysIf-list[id='eth1/2']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
</rsvrfMbr-items>
<scope>1</scope>
<secLbl>0</secLbl>
<v4TibId>1</v4TibId>
<v4TibName>base</v4TibName>
<v4TibOldOperStQual>invalid</v4TibOldOperStQual>
<v4TibOperStQual>invalid</v4TibOperStQual>
<v4TibOperState>up</v4TibOperState>
<v4TibPending>false</v4TibPending>
<v4TibValid>true</v4TibValid>
<v6TibId>2147483649</v6TibId>
<v6TibName>base</v6TibName>
<v6TibOldOperStQual>invalid</v6TibOldOperStQual>
<v6TibOperStQual>invalid</v6TibOperStQual>
<v6TibOperState>up</v6TibOperState>
<v6TibPending>false</v6TibPending>
<v6TibValid>true</v6TibValid>
<vpnId>0</vpnId>
</Inst-list>
<Inst-list>
<name>VRF_2</name>
<adminState>admin-up</adminState>
<bgpRd>0,0,0,0,0,0,0,0</bgpRd>
<bgpRdDisp>0:0</bgpRdDisp>
<createTs>2017-12-23T13:54:24.344+00:00</createTs>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>VRF_2</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-ucast</type>
<rttp-items>
<RttP-list>
<type>export</type>
<operRttAuto>unknown:unknown:0:0</operRttAuto>
<rtctrldefmap-items>
<allowVpn>true</allowVpn>
<pfxLimit>0</pfxLimit>
<rtMap>map1</rtMap>
</rtctrldefmap-items>
<rtctrlmap-items>
<rtMap>map1</rtMap>
</rtctrlmap-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
<operRd>rd:as2-nn2:1:2</operRd>
<rd>rd:as2-nn2:1:2</rd>
</Dom-list>
</dom-items>
<gsdbCtx>0</gsdbCtx>
<id>4</id>
<lastChgdTs>2017-12-23T13:54:24.410+00:00</lastChgdTs>
<oldOperStQual>invalid</oldOperStQual>
<operStQual>invalid</operStQual>
<operState>up</operState>
<oui>0</oui>
<pending>false</pending>
<prtclBmp>32</prtclBmp>
<resourceId>0</resourceId>
<scope>1</scope>
<secLbl>0</secLbl>
<v4TibId>4</v4TibId>
<v4TibName>base</v4TibName>
<v4TibOldOperStQual>invalid</v4TibOldOperStQual>
<v4TibOperStQual>invalid</v4TibOperStQual>
<v4TibOperState>up</v4TibOperState>
<v4TibPending>false</v4TibPending>
<v4TibValid>true</v4TibValid>
<v6TibId>2147483652</v6TibId>
<v6TibName>base</v6TibName>
<v6TibOldOperStQual>invalid</v6TibOldOperStQual>
<v6TibOperStQual>invalid</v6TibOperStQual>
<v6TibOperState>up</v6TibOperState>
<v6TibPending>false</v6TibPending>
<v6TibValid>true</v6TibValid>
<vpnId>0</vpnId>
</Inst-list>
<Inst-list>
<name>switchpool-default</name>
<adminState>admin-up</adminState>
<bgpRd>0,0,0,0,0,0,0,0</bgpRd>
<bgpRdDisp>0:0</bgpRdDisp>
<createTs>2017-12-23T13:54:24.364+00:00</createTs>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>switchpool-default</name>
<operRd>unknown:unknown:0:0</operRd>
</Dom-list>
</dom-items>
<gsdbCtx>0</gsdbCtx>
<id>6</id>
<lastChgdTs>2017-12-23T13:54:24.419+00:00</lastChgdTs>
<oldOperStQual>invalid</oldOperStQual>
<operStQual>invalid</operStQual>
<operState>up</operState>
<oui>0</oui>
<pending>false</pending>
<prtclBmp>0</prtclBmp>
<resourceId>0</resourceId>
<scope>1</scope>
<secLbl>0</secLbl>
<v4TibId>6</v4TibId>
<v4TibName>base</v4TibName>
<v4TibOldOperStQual>invalid</v4TibOldOperStQual>
<v4TibOperStQual>invalid</v4TibOperStQual>
<v4TibOperState>up</v4TibOperState>
<v4TibPending>false</v4TibPending>
<v4TibValid>true</v4TibValid>
<v6TibId>2147483654</v6TibId>
<v6TibName>base</v6TibName>
<v6TibOldOperStQual>invalid</v6TibOldOperStQual>
<v6TibOperStQual>invalid</v6TibOperStQual>
<v6TibOperState>up</v6TibOperState>
<v6TibPending>false</v6TibPending>
<v6TibValid>true</v6TibValid>
<vpnId>0</vpnId>
</Inst-list>
<Inst-list>
<name>foo</name>
<adminState>admin-up</adminState>
<bgpRd>0,0,0,0,0,0,0,0</bgpRd>
<bgpRdDisp>0:0</bgpRdDisp>
<createTs>2017-12-23T13:54:24.352+00:00</createTs>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>foo</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-ucast</type>
<rttp-items>
<RttP-list>
<type>export</type>
<operRttAuto>unknown:unknown:0:0</operRttAuto>
<rtctrldefmap-items>
<allowVpn>true</allowVpn>
<pfxLimit>0</pfxLimit>
<rtMap>map1</rtMap>
</rtctrldefmap-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
<operRd>unknown:unknown:0:0</operRd>
</Dom-list>
</dom-items>
<gsdbCtx>0</gsdbCtx>
<id>5</id>
<lastChgdTs>2017-12-23T13:54:24.418+00:00</lastChgdTs>
<oldOperStQual>invalid</oldOperStQual>
<operStQual>invalid</operStQual>
<operState>up</operState>
<oui>0</oui>
<pending>false</pending>
<prtclBmp>0</prtclBmp>
<resourceId>0</resourceId>
<scope>1</scope>
<secLbl>0</secLbl>
<v4TibId>5</v4TibId>
<v4TibName>base</v4TibName>
<v4TibOldOperStQual>invalid</v4TibOldOperStQual>
<v4TibOperStQual>invalid</v4TibOperStQual>
<v4TibOperState>up</v4TibOperState>
<v4TibPending>false</v4TibPending>
<v4TibValid>true</v4TibValid>
<v6TibId>2147483653</v6TibId>
<v6TibName>base</v6TibName>
<v6TibOldOperStQual>invalid</v6TibOldOperStQual>
<v6TibOperStQual>invalid</v6TibOperStQual>
<v6TibOperState>up</v6TibOperState>
<v6TibPending>false</v6TibPending>
<v6TibValid>true</v6TibValid>
<vpnId>0</vpnId>
</Inst-list>
<Inst-list>
<name>VRF_1</name>
<adminState>admin-up</adminState>
<bgpRd>0,0,0,0,0,0,0,0</bgpRd>
<bgpRdDisp>0:0</bgpRdDisp>
<createTs>2017-12-23T13:54:24.329+00:00</createTs>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>VRF_1</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-mvpn</type>
<rttp-items>
<RttP-list>
<type>import</type>
<ent-items>
<RttEntry-list>
<rtt>route-target:as2-nn2:1:2</rtt>
</RttEntry-list>
</ent-items>
<operRttAuto>unknown:unknown:0:0</operRttAuto>
</RttP-list>
</rttp-items>
</AfCtrl-list>
<AfCtrl-list>
<type>ipv4-ucast</type>
<rttp-items>
<RttP-list>
<type>export</type>
<ent-items>
<RttEntry-list>
<rtt>route-target:as2-nn2:1:2</rtt>
</RttEntry-list>
</ent-items>
<operRttAuto>unknown:unknown:0:0</operRttAuto>
<rtctrldefmap-items>
<allowVpn>false</allowVpn>
<pfxLimit>0</pfxLimit>
<rtMap>map1</rtMap>
</rtctrldefmap-items>
<rtctrlmap-items>
<rtMap>map1</rtMap>
</rtctrlmap-items>
</RttP-list>
<RttP-list>
<type>import</type>
<operRttAuto>unknown:unknown:0:0</operRttAuto>
<rtctrlmap-items>
<rtMap>map1</rtMap>
</rtctrlmap-items>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
<operRd>unknown:unknown:0:0</operRd>
</Dom-list>
</dom-items>
<gsdbCtx>0</gsdbCtx>
<id>3</id>
<lastChgdTs>2017-12-23T13:54:24.397+00:00</lastChgdTs>
<oldOperStQual>invalid</oldOperStQual>
<operStQual>invalid</operStQual>
<operState>up</operState>
<oui>0</oui>
<pending>false</pending>
<prtclBmp>64</prtclBmp>
<resourceId>0</resourceId>
<scope>1</scope>
<secLbl>0</secLbl>
<v4TibId>3</v4TibId>
<v4TibName>base</v4TibName>
<v4TibOldOperStQual>invalid</v4TibOldOperStQual>
<v4TibOperStQual>invalid</v4TibOperStQual>
<v4TibOperState>up</v4TibOperState>
<v4TibPending>false</v4TibPending>
<v4TibValid>true</v4TibValid>
<v6TibId>2147483651</v6TibId>
<v6TibName>base</v6TibName>
<v6TibOldOperStQual>invalid</v6TibOldOperStQual>
<v6TibOperStQual>invalid</v6TibOperStQual>
<v6TibOperState>up</v6TibOperState>
<v6TibPending>false</v6TibPending>
<v6TibValid>true</v6TibValid>
<vpnId>0</vpnId>
</Inst-list>
<Inst-list>
<name>management</name>
<adminState>admin-up</adminState>
<bgpRd>0,0,0,0,0,0,0,0</bgpRd>
<bgpRdDisp>0:0</bgpRdDisp>
<createTs>2017-12-23T13:53:29.418+00:00</createTs>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>management</name>
<operRd>unknown:unknown:0:0</operRd>
</Dom-list>
</dom-items>
<gsdbCtx>0</gsdbCtx>
<id>2</id>
<lastChgdTs>2017-12-23T13:54:29.613+00:00</lastChgdTs>
<oldOperStQual>invalid</oldOperStQual>
<operStQual>invalid</operStQual>
<operState>up</operState>
<oui>0</oui>
<pending>false</pending>
<prtclBmp>0</prtclBmp>
<resourceId>0</resourceId>
<rsvrfMbr-items>
<RsVrfMbr-list>
<tDn>/System/MgmtAddr-list[addr='mgmt0']</tDn>
<tCl>nwIf</tCl>
</RsVrfMbr-list>
</rsvrfMbr-items>
<scope>1</scope>
<secLbl>0</secLbl>
<v4TibId>2</v4TibId>
<v4TibName>base</v4TibName>
<v4TibOldOperStQual>invalid</v4TibOldOperStQual>
<v4TibOperStQual>invalid</v4TibOperStQual>
<v4TibOperState>up</v4TibOperState>
<v4TibPending>false</v4TibPending>
<v4TibValid>true</v4TibValid>
<v6TibId>2147483650</v6TibId>
<v6TibName>base</v6TibName>
<v6TibOldOperStQual>invalid</v6TibOldOperStQual>
<v6TibOperStQual>invalid</v6TibOperStQual>
<v6TibOperState>up</v6TibOperState>
<v6TibPending>false</v6TibPending>
<v6TibValid>true</v6TibValid>
<vpnId>0</vpnId>
</Inst-list>
<Inst-list>
<name>v1</name>
<adminState>admin-up</adminState>
<bgpRd>0,0,0,0,0,0,0,0</bgpRd>
<bgpRdDisp>0:0</bgpRdDisp>
<createTs>2017-12-23T13:54:24.385+00:00</createTs>
<ctrlrId>0</ctrlrId>
<dom-items>
<Dom-list>
<name>v1</name>
<af-items>
<DomAf-list>
<type>ipv4-ucast</type>
<ctrl-items>
<AfCtrl-list>
<type>ipv4-mvpn</type>
<rttp-items>
<RttP-list>
<type>import</type>
<ent-items>
<RttEntry-list>
<rtt>route-target:as2-nn2:1:2</rtt>
</RttEntry-list>
</ent-items>
<operRttAuto>unknown:unknown:0:0</operRttAuto>
</RttP-list>
</rttp-items>
</AfCtrl-list>
</ctrl-items>
</DomAf-list>
</af-items>
<operRd>unknown:unknown:0:0</operRd>
</Dom-list>
</dom-items>
<gsdbCtx>0</gsdbCtx>
<id>8</id>
<lastChgdTs>2017-12-23T13:54:24.421+00:00</lastChgdTs>
<oldOperStQual>invalid</oldOperStQual>
<operStQual>invalid</operStQual>
<operState>up</operState>
<oui>0</oui>
<pending>false</pending>
<prtclBmp>0</prtclBmp>
<resourceId>0</resourceId>
<scope>1</scope>
<secLbl>0</secLbl>
<v4TibId>8</v4TibId>
<v4TibName>base</v4TibName>
<v4TibOldOperStQual>invalid</v4TibOldOperStQual>
<v4TibOperStQual>invalid</v4TibOperStQual>
<v4TibOperState>up</v4TibOperState>
<v4TibPending>false</v4TibPending>
<v4TibValid>true</v4TibValid>
<v6TibId>2147483656</v6TibId>
<v6TibName>base</v6TibName>
<v6TibOldOperStQual>invalid</v6TibOldOperStQual>
<v6TibOperStQual>invalid</v6TibOperStQual>
<v6TibOperState>up</v6TibOperState>
<v6TibPending>false</v6TibPending>
<v6TibValid>true</v6TibValid>
<vpnId>0</vpnId>
</Inst-list>
</inst-items>
Note: The CLI output only covers a subset of the model output.
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|
CLI Output |
---|
|
Querying VRRP Information
Querying VRRP Information
GET http://<IP_Address>/api/mo/sys/vrrp/inst.json?rsp-subtree=full
{
"totalCount": "1",
"imdata": [
{
"vrrpInst": {
"attributes": {
"adminSt": "enabled",
"childAction": "",
"ctrl": "",
"dn": "sys/vrrp/inst",
"modTs": "2017-12-23T13:55:06.368+00:00",
"monPolDn": "",
"name": "",
"operErr": "",
"persistentOnReload": "true",
"status": "",
"uid": "0"
},
"children": [
{
"vrrpInterface": {
"attributes": {
"adminSt": "enabled",
"childAction": "",
"descr": "",
"id": "eth1/7",
"isCreate": "1",
"modTs": "2017-12-23T13:55:09.473+00:00",
"monPolDn": "",
"name": "",
"persistentOnReload": "true",
"rn": "if-[eth1/7]",
"status": "",
"uid": "0"
},
"children": [
{
"vrrpId": {
"attributes": {
"adminSt": "disabled",
"advIntvl": "1",
"authText": "",
"authType": "none",
"bfdPeerAddr": "0.0.0.0",
"bfdSessionSt": "disabled",
"childAction": "",
"fwdLwrThrld": "1",
"fwdUprThrld": "100",
"groupSt": "init",
"groupStQual": "up",
"id": "123",
"mac": "00:00:00:00:00:00",
"masterAddr": "0.0.0.0",
"modTs": "2017-12-23T13:55:09.490+00:00",
"persistentOnReload": "true",
"preempt": "enabled",
"priCfg": "100",
"primary": "123.1.2.3",
"rn": "id-123",
"status": "",
"uid": "0",
"vrrpCfgFailedBmp": "",
"vrrpCfgFailedTs": "00:00:00:00.000",
"vrrpCfgState": "0"
}}}]}}]}}]}
GET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/vrrp-items
<vrrp-items>
<adminSt>enabled</adminSt>
<inst-items>
<adminSt>enabled</adminSt>
<if-items>
<Interface-list>
<id>eth1/7</id>
<adminSt>enabled</adminSt>
<id-items>
<Id-list>
<id>123</id>
<adminSt>disabled</adminSt>
<advIntvl>1</advIntvl>
<authType>none</authType>
<bfdSessionSt>disabled</bfdSessionSt>
<fwdLwrThrld>1</fwdLwrThrld>
<fwdUprThrld>0</fwdUprThrld>
<groupSt>init</groupSt>
<groupStQual>admin-down</groupStQual>
<mac>00:00:5E:00:01:7B</mac>
<masterAddr>0.0.0.0</masterAddr>
<preempt>enabled</preempt>
<priCfg>100</priCfg>
<primary>123.1.2.3</primary>
</Id-list>
</id-items>
<isCreate>0</isCreate>
</Interface-list>
</if-items>
<operErr/>
</inst-items>
<operErr/>
<operSt>enabled</operSt>
</vrrp-items>
Note: This example was added in Cisco NX-OS Release 7.0(3)I7(3).
CLI Output |
---|
|