Configuring VRFs
Cisco NX-OS supports multiple virtual routing and forwarding instances (VRFs). Each VRF contains a separate address space with unicast and multicast route tables for IPv4 and IPv6 and makes routing decisions independent of any other VRF.
For more information, see the Cisco Nexus 9000 Series NX-OS Unicast Routing Configuration Guide
Creating a VRF
Creating a VRF
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"l3Inst": {
"attributes": {
"name": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<inst-items>
<Inst-list>
<name>VRF_1</name>
</Inst-list>
</inst-items>
</System>
CLI Command
The CLI command below is the equivalent of the payload example displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
vrf context VRF_1
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
l3Inst | sys/inst-{name} |
l3Inst Properties
The following table contains information about the l3Inst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 128 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting VRF
Deleting VRF
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"l3Inst": {
"attributes": {
"name": "VRF_1",
"status": "deleted"
}}}]}}
{
imdata:[]
}
<System>
<inst-items>
<Inst-list xc:operation="delete">
<name>VRF_1</name>
</Inst-list>
</inst-items>
</System>
CLI Command
The CLI command below is the equivalent of the payload example displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
no vrf context VRF_1
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
l3Inst | sys/inst-{name} |
l3Inst Properties
The following table contains information about the l3Inst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 128 |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring a VRF Description
Configuring a VRF Description
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"l3Inst": {
"attributes": {
"descr": "Default VRF for user L3 routing shutdown",
"name": "switchpool-default"
}
}
}
]
}
}
{
imdata:[]
}
<System>
<inst-items>
<Inst-list>
<name>switchpool-default</name>
<descr>Default VRF for user L3 routing shutdown</descr>
</Inst-list>
</inst-items>
</System>
Creates a description of the VRF.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
vrf context switchpool-default
description Default VRF for user L3 routing shutdown
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
l3Inst | sys/inst-{name} |
l3Inst Properties
The following table contains information about the l3Inst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | string:Basic | Description | A sequence of characters |
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 128 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Querying 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>
CLI Output |
---|
switch# show running | section vrf limit-resource vrf minimum 2 maximum 4096 use-vrf test_vrf vrf context VRF_1 address-family ipv4 unicast route-target import 1:2 mvpn route-target export 1:2 export map map1 import map map1 export vrf default map map1 vrf context VRF_2 rd 1:2 address-family ipv4 unicast export map map1 export vrf default map map1 allow-vpn vrf context foo address-family ipv4 unicast export vrf default map map1 allow-vpn vrf context management ip route 0.0.0.0/0 172.27.122.1 vrf context switchpool-default vrf context test1 address-family ipv4 unicast route-target import 1:2 mvpn vrf context v1 address-family ipv4 unicast route-target import 1:2 mvpn vrf member management vrf VRF_2 router-id 3.6.9.12 |
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
l3Inst | sys/inst-{name} |
rtctrlDom | sys/inst-{name}/dom-{name} |
l3RsVrfMbr | sys/inst-{name}/rsvrfMbr-{[tDn]} |
rtctrlDomAf | sys/inst-{name}/dom-{name}/af-{[type]} |
rtctrlAfCtrl | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]} |
rtctrlRttP | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]}/rttp-{type} |
rtctrlRttEntry | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]}/rttp-{type}/ent-{[rtt]} |
rtctrlMapP | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]}/rttp-{type}/rtctrlmap |
rtctrlDomDefMapP | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]}/rttp-{type}/rtctrldefmap |
l3Inst Properties
The following table contains information about the l3Inst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminState | l3:VrfAdminState (scalar:Enum8) | vrf Admin State | SELECTION: 1 - shutdown 2 - admin-up DEFAULT: admin-up |
ctrlrId | aggregate:ControllerID (scalar:Uint32) | Controller ID | RANGE: [0 , 16] DEFAULT: 0 |
descr | string:Basic | Description | A sequence of characters |
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
encap | base:Encap | Encap for this Context | SELECTION: unknown, vlan-%d or vxlan-%d |
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 128 |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rtctrlDom Properties
The following table contains information about the rtctrlDom properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rd | base:Community | Route Distinguisher | |
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. |
l3RsVrfMbr Properties
The following table contains information about the l3RsVrfMbr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
tDn | reln:Dn reference:BinRef | The distinguished name of the target. |
rtctrlDomAf Properties
The following table contains information about the rtctrlDomAf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
type | bgp:AfT (scalar:Enum8) | Type | SELECTION: 1 - ipv4-ucast 2 - ipv4-mcast 3 - vpnv4-ucast 5 - ipv6-ucast 6 - ipv6-mcast 7 - vpnv6-ucast 8 - vpnv6-mcast 9 - l2vpn-evpn 10 - ipv4-lucast 11 - ipv6-lucast 12 - lnkstate 13 - ipv4-mvpn 14 - ipv6-mvpn 15 - l2vpn-vpls 16 - ipv4-mdt DEFAULT: ipv4-ucast |
rtctrlAfCtrl Properties
The following table contains information about the rtctrlAfCtrl properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
type | bgp:AfT (scalar:Enum8) | Type | SELECTION: 1 - ipv4-ucast 2 - ipv4-mcast 3 - vpnv4-ucast 5 - ipv6-ucast 6 - ipv6-mcast 7 - vpnv6-ucast 8 - vpnv6-mcast 9 - l2vpn-evpn 10 - ipv4-lucast 11 - ipv6-lucast 12 - lnkstate 13 - ipv4-mvpn 14 - ipv6-mvpn 15 - l2vpn-vpls 16 - ipv4-mdt DEFAULT: ipv4-ucast |
rtctrlRttP Properties
The following table contains information about the rtctrlRttP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr string:Basic | The description of this configuration item. | RANGE: Min: "0" Max: "128" |
name | pol:ObjName string:Basic | The name of the object. | RANGE: Min: "0" Max: "64" |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
type | rtctrl:RttPType (scalar:Enum8) | Type | SELECTION: 1 - import 2 - export DEFAULT: import |
rtctrlRttEntry Properties
The following table contains information about the rtctrlRttEntry properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
rtt | base:Community | Route Target |
rtctrlMapP Properties
The following table contains information about the rtctrlMapP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | pol:Descr | Description of the specified attribute | |
name | pol:ObjName (naming:Name256) | Object name | MAX SIZE: 64 |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
rtMap | string:Basic | Route Map | A sequence of characters |
rtctrlDomDefMapP Properties
The following table contains information about the rtctrlDomDefMapP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
allowVpn | scalar:Bool | Allow VPN to be considered for route leaking | SELECTION: true or false |
descr | naming:Descr string:Basic | The description of this configuration item. | RANGE: Min: "0" Max: "128" |
name | pol:ObjName string:Basic | The name of the object. | RANGE: Min: "0" Max: "64" |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
pfxLimit | scalar:Uint32 | Default Vrf Prefix Limit | RANGE: [0 , 2147483647] DEFAULT: 0 |
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
rtMap | string:Basic | Route Map | A sequence of characters |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Querying 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.
CLI Output |
---|
switch# show vrf all VRF-Name VRF-ID State Reason VRF_1 3 Up -- VRF_2 4 Up -- default 1 Up -- foo 5 Up -- management 2 Up -- switchpool-default 6 Up -- test1 7 Up -- v1 8 Up -- |
CLI Output |
---|
switch(config)# show vrf interface |
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
l3Inst | sys/inst-{name} |
rtctrlDom | sys/inst-{name}/dom-{name} |
l3RsVrfMbr | sys/inst-{name}/rsvrfMbr-{[tDn]} |
rtctrlDomAf | sys/inst-{name}/dom-{name}/af-{[type]} |
rtctrlAfCtrl | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]} |
rtctrlRttP | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]}/rttp-{type} |
rtctrlRttEntry | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]}/rttp-{type}/ent-{[rtt]} |
rtctrlMapP | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]}/rttp-{type}/rtctrlmap |
rtctrlDomDefMapP | sys/inst-{name}/dom-{name}/af-{[type]}/ctrl-{[type]}/rttp-{type}/rtctrldefmap |
l3Inst Properties
The following table contains information about the l3Inst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminState | l3:VrfAdminState (scalar:Enum8) | vrf Admin State | SELECTION: 1 - shutdown 2 - admin-up DEFAULT: admin-up |
bgpRd | l3:BgpRdBytes (base:Uint8Array) | bgp route distinguisher | ARRAY SIZE: 8 |
bgpRdDisp | string:Basic | BGP Route Distinguisher for Display | A sequence of characters |
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
createTs | scalar:Date | vrf creation time | DATE FORMAT: %Y-%m-%dT%H:%M:%S.%f%z |
ctrlrId | aggregate:ControllerID (scalar:Uint32) | Controller ID | RANGE: [0 , 16] DEFAULT: 0 |
descr | string:Basic | Description | A sequence of characters |
dn | reference:BinRef | A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module. | |
encap | base:Encap | Encap for this Context | SELECTION: unknown, vlan-%d or vxlan-%d |
gsdbCtx | scalar:Uint32 | gsdb context | RANGE: [0, 4294967295] |
id | l3:VrfId (scalar:Uint16) | vrf id | RANGE: [0 , 65535] DEFAULT: 0 |
l3vmCfgFailedBmp | scalar:Bitmask64 | SELECTION:
| |
l3vmCfgFailedTs | scalar:Uint64 | ||
l3vmCfgState | scalar:UByte | ||
lastChgdTs | scalar:Date | last state change time | DATE FORMAT: %Y-%m-%dT%H:%M:%S.%f%z |
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
monPolDn | reference:BinRef | The monitoring policy for the Layer 3 instance object. | |
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 128 |
oldOperStQual | l3:VrfOperStateQual (scalar:Enum8) | old oper state reason | SELECTION: 1 - admin-down 2 - admin-down-pending 3 - delete-holddown 4 - delete-pending 5 - invalid 6 - create-pending DEFAULT: admin-down |
operStQual | l3:VrfOperStateQual (scalar:Enum8) | oper state reason | SELECTION: 1 - admin-down 2 - admin-down-pending 3 - delete-holddown 4 - delete-pending 5 - invalid 6 - create-pending DEFAULT: admin-down |
operState | l3:VrfOperState (scalar:Enum8) | The VRF operational state. | SELECTION: 1 - up 2 - down DEFAULT: down |
oui | string:Basic | vrf oui | A sequence of characters |
pending | scalar:Bool | pending operation status | SELECTION: true or false |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
prtclBmp | scalar:Uint32 | protocols in a vrf | RANGE: [0, 4294967295] |
resourceId | l3:VrfId (scalar:Uint16) | VRF ID | RANGE: [0 , 65535] DEFAULT: 0 |
scope | actrl:ScopeId (scalar:Uint32) | Scope of the context. It identifies the classId pool and all the epg/bd classIds belonging to this context needs to be allocated from this pool | RANGE: [1 , 0xffffff] DEFAULT: 1 |
secLbl | actrl:SecLbl (scalar:Uint16) | Security Label | RANGE: [1 , 0xfff] |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
uid | scalar:Uint16 | A unique identifier for this object. | |
v4TibId | scalar:Uint32 | ipv4 table id | RANGE: [0, 4294967295] |
v4TibName | string:Basic | ipv4 table name | A sequence of characters |
v4TibOldOperStQual | l3:VrfOperStateQual (scalar:Enum8) | ipv4 table old oper state reason | SELECTION: 1 - admin-down 2 - admin-down-pending 3 - delete-holddown 4 - delete-pending 5 - invalid 6 - create-pending DEFAULT: admin-down |
v4TibOperStQual | l3:VrfOperStateQual (scalar:Enum8) | ipv4 table oper state reason | SELECTION: 1 - admin-down 2 - admin-down-pending 3 - delete-holddown 4 - delete-pending 5 - invalid 6 - create-pending DEFAULT: admin-down |
v4TibOperState | l3:VrfOperState (scalar:Enum8) | ipv4 table operational state. | SELECTION: 1 - up 2 - down DEFAULT: down |
v4TibPending | scalar:Bool | ipv4 table pending operation status | SELECTION: true or false |
v4TibValid | scalar:Bool | ipv4 table valid | SELECTION: true or false |
v6TibId | scalar:Uint32 | ipv6 table id | RANGE: [0, 4294967295] |
v6TibName | string:Basic | ipv6 table name | A sequence of characters |
v6TibOldOperStQual | l3:VrfOperStateQual (scalar:Enum8) | ipv6 table old oper state reason | SELECTION: 1 - admin-down 2 - admin-down-pending 3 - delete-holddown 4 - delete-pending 5 - invalid 6 - create-pending DEFAULT: admin-down |
v6TibOperStQual | l3:VrfOperStateQual (scalar:Enum8) | ipv6 table oper state reason | SELECTION: 1 - admin-down 2 - admin-down-pending 3 - delete-holddown 4 - delete-pending 5 - invalid 6 - create-pending DEFAULT: admin-down |
v6TibOperState | l3:VrfOperState (scalar:Enum8) | ipv6 table Oper State | SELECTION: 1 - up 2 - down DEFAULT: down |
v6TibPending | scalar:Bool | ipv6 table pending operation status | SELECTION: true or false |
v6TibValid | scalar:Bool | ipv6 table valid | SELECTION: true or false |
vpnId | string:Basic | vrf vpnId | A sequence of characters |
rtctrlDom Properties
The following table contains information about the rtctrlDom properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
operRd | base:Community | Operational Route Distinguisher | |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rd | base:Community | Route Distinguisher | |
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
uid | scalar:Uint16 | A unique identifier for this object. |
l3RsVrfMbr Properties
The following table contains information about the l3RsVrfMbr properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
forceResolve | scalar:Bool | Whether the relation should force pull the target. | SELECTION: true or false DEFAULT: false |
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
parentSKey | naming:Name256 string:Basic | The secondary key of a relation source or target. This is used internally. | RANGE: Min: "0" Max: "256" |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rType | reln:ResolverType (scalar:Enum8) | Represents the type of resolver. | SELECTION: 1 - mo 2 - service 3 - local DEFAULT: mo |
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
state | reln:State (scalar:Enum8) | Represents the state of the relationship. | SELECTION: 0 - unformed 1 - formed 2 - missing-target 4 - invalid-target DEFAULT: unformed |
stateQual | reln:StateQual (scalar:Enum8) | Represents the state qualifier of the relationship. | SELECTION: 0 - none 1 - mismatch-target 2 - default-target DEFAULT: none |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
tCl | reln:ClassId scalar:Enum16 | The class ID of the target object. This property is managed internally and should not be modified by the user. | SELECTION:
|
tDn | reln:Dn reference:BinRef | The distinguished name of the target. | |
tSKey | nw:IfId base:IfIndex | An internal property that is used to maintain relationship between objects. | |
tType | reln:TargetType (scalar:Enum8) | The type of target. | SELECTION: 0 - name 1 - mo 2 - all DEFAULT: mo |
uid | scalar:Uint16 | A unique identifier for this object. |
rtctrlDomAf Properties
The following table contains information about the rtctrlDomAf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
type | bgp:AfT (scalar:Enum8) | Type | SELECTION: 1 - ipv4-ucast 2 - ipv4-mcast 3 - vpnv4-ucast 5 - ipv6-ucast 6 - ipv6-mcast 7 - vpnv6-ucast 8 - vpnv6-mcast 9 - l2vpn-evpn 10 - ipv4-lucast 11 - ipv6-lucast 12 - lnkstate 13 - ipv4-mvpn 14 - ipv6-mvpn 15 - l2vpn-vpls 16 - ipv4-mdt DEFAULT: ipv4-ucast |
uid | scalar:Uint16 | A unique identifier for this object. |
rtctrlAfCtrl Properties
The following table contains information about the rtctrlAfCtrl properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
name | naming:Name256 (string:Basic) | The name of the object. | MAX SIZE: 63 |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
type | bgp:AfT (scalar:Enum8) | Type | SELECTION: 1 - ipv4-ucast 2 - ipv4-mcast 3 - vpnv4-ucast 5 - ipv6-ucast 6 - ipv6-mcast 7 - vpnv6-ucast 8 - vpnv6-mcast 9 - l2vpn-evpn 10 - ipv4-lucast 11 - ipv6-lucast 12 - lnkstate 13 - ipv4-mvpn 14 - ipv6-mvpn 15 - l2vpn-vpls 16 - ipv4-mdt DEFAULT: ipv4-ucast |
uid | scalar:Uint16 | A unique identifier for this object. |
rtctrlRttP Properties
The following table contains information about the rtctrlRttP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
descr | naming:Descr string:Basic | The description of this configuration item. | RANGE: Min: "0" Max: "128" |
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
name | pol:ObjName string:Basic | The name of the object. | RANGE: Min: "0" Max: "64" |
operRttAuto | base:Community | Operational Route Target Import Auto Evpn | |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
type | rtctrl:RttPType (scalar:Enum8) | Type | SELECTION: 1 - import 2 - export DEFAULT: import |
uid | scalar:Uint16 | A unique identifier for this object. |
rtctrlRttEntry Properties
The following table contains information about the rtctrlRttEntry properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
rtt | base:Community | Route Target | |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
uid | scalar:Uint16 | A unique identifier for this object. |
rtctrlMapP Properties
The following table contains information about the rtctrlMapP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
descr | pol:Descr | Description of the specified attribute | |
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
name | pol:ObjName (naming:Name256) | Object name | MAX SIZE: 64 |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
rtMap | string:Basic | Route Map | A sequence of characters |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
uid | scalar:Uint16 | A unique identifier for this object. |
rtctrlDomDefMapP Properties
The following table contains information about the rtctrlDomDefMapP properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
allowVpn | scalar:Bool | Allow VPN to be considered for route leaking | SELECTION: true or false |
childAction | mo:ModificationChildAction scalar:Bitmask32 | Delete or ignore. For internal use only. | SELECTION:
|
descr | naming:Descr string:Basic | The description of this configuration item. | RANGE: Min: "0" Max: "128" |
modTs | mo:TStamp (scalar:Date) | The time when this object was last modified. | SELECTION: 0 - never DEFAULT: never |
name | pol:ObjName string:Basic | The name of the object. | RANGE: Min: "0" Max: "64" |
persistentOnReload | mo:Persistent scalar:Enum8 | NO COMMENTS | SELECTION:
|
pfxLimit | scalar:Uint32 | Default Vrf Prefix Limit | RANGE: [0 , 2147483647] DEFAULT: 0 |
rn | reference:BinRN | Identifies an object from its siblings within the context of its parent object. The distinguished name contains a sequence of relative names. | |
rtMap | string:Basic | Route Map | A sequence of characters |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
uid | scalar:Uint16 | A unique identifier for this object. |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring a Shutdown
Configuring a Shutdown
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"l3Inst": {
"attributes": {
"adminState": "shutdown",
"name": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<inst-items>
<Inst-list>
<name>VRF_1</name>
<adminState>shutdown</adminState>
</Inst-list>
</inst-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vrf context VRF_1
shutdown
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
l3Inst | sys/inst-VRF_1 |
l3Inst Properties
The following table contains information about the l3Inst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminState | l3:VrfAdminState (scalar:Enum8) | vrf Admin State | SELECTION: 1 - shutdown 2 - admin-up DEFAULT: admin-up |
name | naming:Name256 string:Basic | The Layer 3 instance name. | RANGE: Min: "1" Max: "128" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting a Configured Shutdown
Deleting a Configured Shutdown
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"l3Inst": {
"attributes": {
"adminState": "admin-up",
"name": "VRF_1"
}}}]}}
{
imdata:[]
}
<System>
<inst-items>
<Inst-list>
<name>VRF_1</name>
<adminState>admin-up</adminState>
</Inst-list>
</inst-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
vrf context VRF_1
no shutdown
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
l3Inst | sys/inst-VRF_1 |
l3Inst Properties
The following table contains information about the l3Inst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
adminState | l3:VrfAdminState (scalar:Enum8) | vrf Admin State | SELECTION: 1 - shutdown 2 - admin-up DEFAULT: admin-up |
name | naming:Name256 string:Basic | The Layer 3 instance name. | RANGE: Min: "1" Max: "128" |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference: https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: