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

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-installation-and-configuration-guides-list.html/

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.

MODN
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 NameData TypeDescriptionValues
namenaming: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:

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

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.

MODN
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 NameData TypeDescriptionValues
namenaming:Name256
(string:Basic)
The name of the object.
MAX SIZE: 128
statusmo: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:

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

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.

MODN
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 NameData TypeDescriptionValues
descrstring:Basic
DescriptionA sequence of characters
namenaming: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:

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 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=&apos;lo1&apos;]</tDn>
                <tCl>nwIf</tCl>
            </RsVrfMbr-list>
            <RsVrfMbr-list>
                <tDn>/System/intf-items/LbRtdIf-list[id=&apos;lo0&apos;]</tDn>
                <tCl>nwIf</tCl>
            </RsVrfMbr-list>
            <RsVrfMbr-list>
                <tDn>/System/intf-items/PhysIf-list[id=&apos;eth1/6&apos;]</tDn>
                <tCl>nwIf</tCl>
            </RsVrfMbr-list>
            <RsVrfMbr-list>
                <tDn>/System/intf-items/LbRtdIf-list[id=&apos;lo2&apos;]</tDn>
                <tCl>nwIf</tCl>
            </RsVrfMbr-list>
            <RsVrfMbr-list>
                <tDn>/System/intf-items/PhysIf-list[id=&apos;eth1/7&apos;]</tDn>
                <tCl>nwIf</tCl>
            </RsVrfMbr-list>
            <RsVrfMbr-list>
                <tDn>/System/intf-items/PhysIf-list[id=&apos;eth1/1&apos;]</tDn>
                <tCl>nwIf</tCl>
            </RsVrfMbr-list>
            <RsVrfMbr-list>
                <tDn>/System/intf-items/PhysIf-list[id=&apos;eth1/2&apos;]</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=&apos;mgmt0&apos;]</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.

MODN
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 NameData TypeDescriptionValues
adminStatel3:VrfAdminState
(scalar:Enum8)
vrf Admin StateSELECTION:
1 - shutdown
2 - admin-up
DEFAULT: admin-up
ctrlrIdaggregate:ControllerID
(scalar:Uint32)
Controller ID
RANGE: [0 , 16]
DEFAULT: 0
descrstring:Basic
DescriptionA sequence of characters
dn
reference:BinRef
A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module.
encapbase:Encap
Encap for this ContextSELECTION: unknown, vlan-%d or vxlan-%d
namenaming:Name256
(string:Basic)
The name of the object.
MAX SIZE: 128
persistentOnReload
mo:Persistent
scalar:Enum8
NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)

  • 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 NameData TypeDescriptionValues
    namenaming:Name256
    (string:Basic)
    The name of the object.
    MAX SIZE: 63
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • rdbase: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 NameData TypeDescriptionValues
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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 NameData TypeDescriptionValues
    namenaming:Name256
    (string:Basic)
    The name of the object.
    MAX SIZE: 63
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    typebgp:AfT
    (scalar:Enum8)
    TypeSELECTION:
    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 NameData TypeDescriptionValues
    namenaming:Name256
    (string:Basic)
    The name of the object.
    MAX SIZE: 63
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    typebgp:AfT
    (scalar:Enum8)
    TypeSELECTION:
    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 NameData TypeDescriptionValues
    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 COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    typertctrl:RttPType
    (scalar:Enum8)
    TypeSELECTION:
    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 NameData TypeDescriptionValues
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    rttbase: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 NameData TypeDescriptionValues
    descrpol:Descr
    Description of the specified attribute
    namepol:ObjName
    (naming:Name256)
    Object name
    MAX SIZE: 64
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    rtMapstring:Basic
    Route MapA 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 NameData TypeDescriptionValues
    allowVpnscalar:Bool
    Allow VPN to be considered for route leakingSELECTION: 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 COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • pfxLimitscalar: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.
    rtMapstring:Basic
    Route MapA sequence of characters


    Related Documentation

    For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:

    http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

    See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:

    https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/

    For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:

    https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

    Querying 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=&apos;lo1&apos;]</tDn>
                    <tCl>nwIf</tCl>
                </RsVrfMbr-list>
                <RsVrfMbr-list>
                    <tDn>/System/intf-items/LbRtdIf-list[id=&apos;lo0&apos;]</tDn>
                    <tCl>nwIf</tCl>
                </RsVrfMbr-list>
                <RsVrfMbr-list>
                    <tDn>/System/intf-items/PhysIf-list[id=&apos;eth1/6&apos;]</tDn>
                    <tCl>nwIf</tCl>
                </RsVrfMbr-list>
                <RsVrfMbr-list>
                    <tDn>/System/intf-items/LbRtdIf-list[id=&apos;lo2&apos;]</tDn>
                    <tCl>nwIf</tCl>
                </RsVrfMbr-list>
                <RsVrfMbr-list>
                    <tDn>/System/intf-items/PhysIf-list[id=&apos;eth1/7&apos;]</tDn>
                    <tCl>nwIf</tCl>
                </RsVrfMbr-list>
                <RsVrfMbr-list>
                    <tDn>/System/intf-items/PhysIf-list[id=&apos;eth1/1&apos;]</tDn>
                    <tCl>nwIf</tCl>
                </RsVrfMbr-list>
                <RsVrfMbr-list>
                    <tDn>/System/intf-items/PhysIf-list[id=&apos;eth1/2&apos;]</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=&apos;mgmt0&apos;]</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     
    
    

    Interface VRF-Name VRF-ID Site-of-Origin
    loopback0 default 1 --
    loopback1 default 1 --
    loopback2 default 1 --
    Null0 default 1 --
    Ethernet1/1 default 1 --
    Ethernet1/2 default 1 --
    Ethernet1/6 default 1 --
    Ethernet1/7 default 1 --
    mgmt0 management 2 --

    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.

    MODN
    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 NameData TypeDescriptionValues
    adminStatel3:VrfAdminState
    (scalar:Enum8)
    vrf Admin StateSELECTION:
    1 - shutdown
    2 - admin-up
    DEFAULT: admin-up
    bgpRdl3:BgpRdBytes
    (base:Uint8Array)
    bgp route distinguisher
    ARRAY SIZE: 8
    bgpRdDispstring:Basic
    BGP Route Distinguisher for DisplayA sequence of characters
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • createTsscalar:Date
    vrf creation timeDATE FORMAT: %Y-%m-%dT%H:%M:%S.%f%z
    ctrlrIdaggregate:ControllerID
    (scalar:Uint32)
    Controller ID
    RANGE: [0 , 16]
    DEFAULT: 0
    descrstring:Basic
    DescriptionA sequence of characters
    dn
    reference:BinRef
    A tag or metadata is a non-hierarchical keyword or term assigned to the fabric module.
    encapbase:Encap
    Encap for this ContextSELECTION: unknown, vlan-%d or vxlan-%d
    gsdbCtxscalar:Uint32
    gsdb contextRANGE: [0, 4294967295]
    idl3:VrfId
    (scalar:Uint16)
    vrf id
    RANGE: [0 , 65535]
    DEFAULT: 0
    l3vmCfgFailedBmp
    scalar:Bitmask64
    SELECTION:
  • -9223372036854775808ull - l3:InstmodTs_failed_flag
  • 1024ull - l3:Instname_failed_flag
  • 128ull - l3:Instscope_failed_flag
  • 16ull - l3:InstmonPolDn_failed_flag
  • 1ull - l3:InstadminState_failed_flag
  • 2305843009213693952ull - l3:Instuid_failed_flag
  • 256ull - l3:InstsecLbl_failed_flag
  • 2ull - l3:InstctrlrId_failed_flag
  • 32ull - l3:Instoui_failed_flag
  • 4611686018427387904ull - l3:InstpersistentOnReload_failed_flag
  • 4ull - l3:Instdescr_failed_flag
  • 512ull - l3:InstvpnId_failed_flag
  • 64ull - l3:InstresourceId_failed_flag
  • 8ull - l3:Instencap_failed_flag
  • DEFAULT: 0
  • l3vmCfgFailedTs
    scalar:Uint64
    l3vmCfgState
    scalar:UByte
    lastChgdTsscalar:Date
    last state change timeDATE FORMAT: %Y-%m-%dT%H:%M:%S.%f%z
    modTsmo: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.
    namenaming:Name256
    (string:Basic)
    The name of the object.
    MAX SIZE: 128
    oldOperStQuall3:VrfOperStateQual
    (scalar:Enum8)
    old oper state reasonSELECTION:
    1 - admin-down
    2 - admin-down-pending
    3 - delete-holddown
    4 - delete-pending
    5 - invalid
    6 - create-pending
    DEFAULT: admin-down
    operStQuall3:VrfOperStateQual
    (scalar:Enum8)
    oper state reasonSELECTION:
    1 - admin-down
    2 - admin-down-pending
    3 - delete-holddown
    4 - delete-pending
    5 - invalid
    6 - create-pending
    DEFAULT: admin-down
    operStatel3:VrfOperState
    (scalar:Enum8)
    The VRF operational state.SELECTION:
    1 - up
    2 - down
    DEFAULT: down
    ouistring:Basic
    vrf ouiA sequence of characters
    pendingscalar:Bool
    pending operation statusSELECTION: true or false
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • prtclBmpscalar:Uint32
    protocols in a vrfRANGE: [0, 4294967295]
    resourceIdl3:VrfId
    (scalar:Uint16)
    VRF ID
    RANGE: [0 , 65535]
    DEFAULT: 0
    scopeactrl: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
    secLblactrl:SecLbl
    (scalar:Uint16)
    Security Label
    RANGE: [1 , 0xfff]
    statusmo: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.
    v4TibIdscalar:Uint32
    ipv4 table idRANGE: [0, 4294967295]
    v4TibNamestring:Basic
    ipv4 table nameA sequence of characters
    v4TibOldOperStQuall3:VrfOperStateQual
    (scalar:Enum8)
    ipv4 table old oper state reasonSELECTION:
    1 - admin-down
    2 - admin-down-pending
    3 - delete-holddown
    4 - delete-pending
    5 - invalid
    6 - create-pending
    DEFAULT: admin-down
    v4TibOperStQuall3:VrfOperStateQual
    (scalar:Enum8)
    ipv4 table oper state reasonSELECTION:
    1 - admin-down
    2 - admin-down-pending
    3 - delete-holddown
    4 - delete-pending
    5 - invalid
    6 - create-pending
    DEFAULT: admin-down
    v4TibOperStatel3:VrfOperState
    (scalar:Enum8)
    ipv4 table operational state.SELECTION:
    1 - up
    2 - down
    DEFAULT: down
    v4TibPendingscalar:Bool
    ipv4 table pending operation statusSELECTION: true or false
    v4TibValidscalar:Bool
    ipv4 table validSELECTION: true or false
    v6TibIdscalar:Uint32
    ipv6 table idRANGE: [0, 4294967295]
    v6TibNamestring:Basic
    ipv6 table nameA sequence of characters
    v6TibOldOperStQuall3:VrfOperStateQual
    (scalar:Enum8)
    ipv6 table old oper state reasonSELECTION:
    1 - admin-down
    2 - admin-down-pending
    3 - delete-holddown
    4 - delete-pending
    5 - invalid
    6 - create-pending
    DEFAULT: admin-down
    v6TibOperStQuall3:VrfOperStateQual
    (scalar:Enum8)
    ipv6 table oper state reasonSELECTION:
    1 - admin-down
    2 - admin-down-pending
    3 - delete-holddown
    4 - delete-pending
    5 - invalid
    6 - create-pending
    DEFAULT: admin-down
    v6TibOperStatel3:VrfOperState
    (scalar:Enum8)
    ipv6 table Oper StateSELECTION:
    1 - up
    2 - down
    DEFAULT: down
    v6TibPendingscalar:Bool
    ipv6 table pending operation statusSELECTION: true or false
    v6TibValidscalar:Bool
    ipv6 table validSELECTION: true or false
    vpnIdstring:Basic
    vrf vpnIdA 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 NameData TypeDescriptionValues
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • modTsmo:TStamp
    (scalar:Date)
    The time when this object was last modified.SELECTION:
    0 - never
    DEFAULT: never
    namenaming:Name256
    (string:Basic)
    The name of the object.
    MAX SIZE: 63
    operRdbase:Community
    Operational Route Distinguisher
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • rdbase: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.
    statusmo: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 NameData TypeDescriptionValues
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • forceResolvescalar:Bool
    Whether the relation should force pull the target.SELECTION: true or false
    DEFAULT: false
    modTsmo: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 COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • rTypereln: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.
    statereln:State
    (scalar:Enum8)
    Represents the state of the relationship.SELECTION:
    0 - unformed
    1 - formed
    2 - missing-target
    4 - invalid-target
    DEFAULT: unformed
    stateQualreln:StateQual
    (scalar:Enum8)
    Represents the state qualifier of the relationship.SELECTION:
    0 - none
    1 - mismatch-target
    2 - default-target
    DEFAULT: none
    statusmo: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:
  • 0 - unspecified
  • 4 - connIf
  • 5 - datetimeNtpSrcIf
  • 13 - dhcpSourceIf
  • 14 - dhcpSrcIf
  • 15 - dhcpV6SourceIf
  • 16 - dhcpV6SrcIf
  • 17 - egressIf
  • 18 - ingressIf
  • 19 - ipSrcIf
  • 20 - l1EthIf
  • 26 - l3If
  • 36 - pktOnPassiveIf
  • 38 - rsactiveIf
  • 39 - rtactiveIf
  • 40 - rtlsNodeToIf
  • 41 - srcIf
  • 43 - vpcIf
  • 44 - l3Inst
  • 46 - rtregcomRule
  • 47 - rtpfxRule
  • 48 - rtmapMatchRtDst
  • 396 - cnwAggrIf
  • 401 - cnwPhysIf
  • 2537 - lacpIf
  • 2547 - arpIf
  • 2557 - icmpv4If
  • 2561 - mcpIf
  • 2567 - stpIf
  • 2637 - cdpIf
  • 2641 - ndIf
  • 2655 - ospfIf
  • 2671 - icmpv6If
  • 2687 - dhcpClientIf
  • 2690 - dhcpRelayIf
  • 2691 - dhcpPseudoIf
  • 2692 - dhcpServerIf
  • 2715 - igmpsnoopStRtrIf
  • 2741 - lldpIf
  • 2834 - isisIf
  • 3372 - regressIf
  • 3397 - l2InbandIf
  • 3400 - l2ExtIf
  • 3403 - l2BrIf
  • 3560 - nwIf
  • 3593 - ipv6If
  • 3627 - l1PhysIf
  • 3633 - mgmtMgmtIf
  • 3659 - pcAggrIf
  • 3677 - tunnelIf
  • 3757 - sviIf
  • 3761 - l3RtdIf
  • 3767 - l3EncRtdIf
  • 3784 - mgmtRtdMgmtIf
  • 3787 - l3LbRtdIf
  • 3794 - ipv4If
  • 5751 - mldsnoopStRtrIf
  • 5774 - bfdIf
  • 5828 - ospfv3If
  • 5854 - eigrpIf
  • 6128 - hmmFwdIf
  • 6371 - udldPhysIf
  • 6464 - l1PhysIfExtended
  • 6473 - pcAggrIfExtended
  • 6477 - pcShadowAggrIfExtended
  • 6478 - pcShadowAggrIf
  • 6485 - vpcOrphanPort
  • 6486 - vpcPeerLink
  • 6508 - tunnelifIf
  • 6655 - platformIf
  • 6743 - dhcpDAIIf
  • 6749 - dhcpIpsgIf
  • 6752 - dhcpSnoopIf
  • 6757 - hsrpIf
  • 6762 - igmpExtIf
  • 6763 - igmpIf
  • 6801 - mplsIf
  • 6886 - ospfInternalIf
  • 6924 - pimIf
  • 7003 - vrrpInterface
  • 7011 - vrrpv3Interface
  • 7126 - poePhysIf
  • 7144 - isisInternalIf
  • 7165 - sisfFhsIf
  • 7190 - l2VfcIf
  • 7432 - pim6If
  • 7795 - srteIf
  • 7810 - dhclientPhysIf
  • 7812 - l3vmL3vmIf
  • 7961 - pktmgrIf
  • 7985 - sflowSflowFsDataSource
  • 7999 - natIf
  • 8053 - dot1xIf
  • 8167 - igmpsnoopIntf
  • 8201 - igmpMvrIf
  • 8227 - mldIf
  • 8289 - mplsldpIf
  • 8440 - l1VethIf
  • 8527 - mldsnoopIntf
  • 8683 - mplsstripclMplsTA
  • 8692 - tunnelencTunencIf
  • DEFAULT: nwIf(3560)
  • 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.
    tTypereln: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 NameData TypeDescriptionValues
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • modTsmo:TStamp
    (scalar:Date)
    The time when this object was last modified.SELECTION:
    0 - never
    DEFAULT: never
    namenaming:Name256
    (string:Basic)
    The name of the object.
    MAX SIZE: 63
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    statusmo:ModificationStatus
    (scalar:Bitmask32)
    The upgrade status. This property is for internal use only.SELECTION:
    2 - created
    4 - modified
    8 - deleted
    16 - replaced
    typebgp:AfT
    (scalar:Enum8)
    TypeSELECTION:
    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 NameData TypeDescriptionValues
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • modTsmo:TStamp
    (scalar:Date)
    The time when this object was last modified.SELECTION:
    0 - never
    DEFAULT: never
    namenaming:Name256
    (string:Basic)
    The name of the object.
    MAX SIZE: 63
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    statusmo:ModificationStatus
    (scalar:Bitmask32)
    The upgrade status. This property is for internal use only.SELECTION:
    2 - created
    4 - modified
    8 - deleted
    16 - replaced
    typebgp:AfT
    (scalar:Enum8)
    TypeSELECTION:
    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 NameData TypeDescriptionValues
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • descr
    naming:Descr
    string:Basic
    The description of this configuration item. RANGE: Min: "0" Max: "128"
    modTsmo: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"
    operRttAutobase:Community
    Operational Route Target Import Auto Evpn
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    statusmo:ModificationStatus
    (scalar:Bitmask32)
    The upgrade status. This property is for internal use only.SELECTION:
    2 - created
    4 - modified
    8 - deleted
    16 - replaced
    typertctrl:RttPType
    (scalar:Enum8)
    TypeSELECTION:
    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 NameData TypeDescriptionValues
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • modTsmo:TStamp
    (scalar:Date)
    The time when this object was last modified.SELECTION:
    0 - never
    DEFAULT: never
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    rttbase:Community
    Route Target
    statusmo: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 NameData TypeDescriptionValues
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • descrpol:Descr
    Description of the specified attribute
    modTsmo:TStamp
    (scalar:Date)
    The time when this object was last modified.SELECTION:
    0 - never
    DEFAULT: never
    namepol:ObjName
    (naming:Name256)
    Object name
    MAX SIZE: 64
    persistentOnReload
    mo:Persistent
    scalar:Enum8
    NO COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • 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.
    rtMapstring:Basic
    Route MapA sequence of characters
    statusmo: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 NameData TypeDescriptionValues
    allowVpnscalar:Bool
    Allow VPN to be considered for route leakingSELECTION: true or false
    childAction
    mo:ModificationChildAction
    scalar:Bitmask32
    Delete or ignore. For internal use only.SELECTION:
  • 16384u - deleteAll
  • 4096u - ignore
  • 8192u - deleteNonPresent
  • DEFAULT: 0
  • descr
    naming:Descr
    string:Basic
    The description of this configuration item. RANGE: Min: "0" Max: "128"
    modTsmo: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 COMMENTSSELECTION:
  • 0 - false
  • 1 - true
  • DEFAULT: true(1)
  • pfxLimitscalar: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.
    rtMapstring:Basic
    Route MapA sequence of characters
    statusmo: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:

    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

    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.

    MODN
    l3Instsys/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 NameData TypeDescriptionValues
    adminStatel3:VrfAdminState
    (scalar:Enum8)
    vrf Admin StateSELECTION:
    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:

    http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

    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:

    https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

    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.

    MODN
    l3Instsys/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 NameData TypeDescriptionValues
    adminStatel3:VrfAdminState
    (scalar:Enum8)
    vrf Admin StateSELECTION:
    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:

    http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

    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:

    https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html