Configuring BGP EVPN Filtering

This section contains examples that demonstrate how to configure BGP EVPN Filtering. For more information, see the Cisco Nexus 9000 Series NX-OS VXLAN Configuration Guide:

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

Matching MAC List Enteries

 Matching MAC List Enteries
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "MAP_123"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtMacList": {
                      "children": [
                        {
                          "rtmapRsRtMacListAtt": {
                            "attributes": {
                              "tDn": "sys/rpm/maclist-[mlist]"
}}}]}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>MAP_123</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrtmaclist-items>
              <rsrtMacListAtt-items>
                <RsRtMacListAtt-list>
                  <tDn>/System/rpm-items/maclist-items/RuleMac-list[name='mlist']</tDn>
                </RsRtMacListAtt-list>
              </rsrtMacListAtt-items>
            </mrtmaclist-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map MAP_123
  match mac-list mlist


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[MAP_123]
rtmapEntry sys/rpm/rtmap-[MAP_123]/ent-10
rtmapMatchRtMacList sys/rpm/rtmap-[MAP_123]/ent-10/mrtmaclist
rtmapRsRtMacListAtt sys/rpm/rtmap-[MAP_123]/ent-10/mrtmaclist/rsrtMacListAtt-[sys/rpm/maclist-[mlist]]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapRsRtMacListAtt Properties

The following table contains information about the rtmapRsRtMacListAtt 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
tDn
reln:Dn
reference:BinRef
The distinguished name of the target.


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 Configured MAC List Enteries Matches

 Deleting Configured MAC List Enteries Matches
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "MAP_123"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtMacList": {
                      "children": [
                        {
                          "rtmapRsRtMacListAtt": {
                            "attributes": {
                              "status": "deleted",
                              "tDn": "sys/rpm/maclist-[mlist]"
}}}]}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>MAP_123</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrtmaclist-items>
              <rsrtMacListAtt-items>
                <RsRtMacListAtt-list nc:operation="delete">
                  <tDn>/System/rpm-items/maclist-items/RuleMac-list[name='mlist']</tDn>
                </RsRtMacListAtt-list>
              </rsrtMacListAtt-items>
            </mrtmaclist-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map MAP_123
  no match mac-list mlist


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[MAP_123]
rtmapEntry sys/rpm/rtmap-[MAP_123]/ent-10
rtmapMatchRtMacList sys/rpm/rtmap-[MAP_123]/ent-10/mrtmaclist
rtmapRsRtMacListAtt sys/rpm/rtmap-[MAP_123]/ent-10/mrtmaclist/rsrtMacListAtt-[sys/rpm/maclist-[mlist]]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapRsRtMacListAtt Properties

The following table contains information about the rtmapRsRtMacListAtt 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
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced
tDn
reln:Dn
reference:BinRef
The distinguished name of the target.


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

Matching BGP EVPN Routes

 Matching BGP EVPN Routes
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R1"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>R1</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  match evpn route-type 1


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 Configured Match of BGP EVPN Routes

 Deleting Configured Match of BGP EVPN Routes
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R1",
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list nc:operation="delete">
                <routeT>R1</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no match evpn route-type 1


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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 Match for BGP EVPN Routes Type 2

Configuring a Match for BGP EVPN Routes Type 2
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R2_ALL"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>R2_ALL</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 match evpn route-type 2


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 Match for BGP EVPN Routes Type 2

Deleting a Match for BGP EVPN Routes Type 2
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R2_ALL",
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list xc:operation="delete">
                <routeT>R2_ALL</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 no match evpn route-type 2


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

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

Configuring a Match for BGP EVPN Route Type 2 MAC-IP

Configuring a Match for BGP EVPN Route Type 2 MAC-IP
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "mac-ip"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>mac-ip</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 match evpn route-type 2-mac-ip


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 Match for BGP EVPN Route MAC-IP in Type 2 MAC-IP

Deleting a Match for BGP EVPN Route MAC-IP in Type 2 MAC-IP
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "mac-ip",
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list xc:operation="delete">
                <routeT>mac-ip</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 no match evpn route-type 2-mac-ip


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

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

Configuring a Match for BGP EVPN Route Type 2 MAC Only

Configuring a Match for BGP EVPN Route Type 2 MAC Only
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "mac-only"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>mac-only</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 match evpn route-type 2-mac-only


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 Match for BGP EVPN Route Type 2 MAC Only

Deleting a Match for BGP EVPN Route Type 2 MAC Only
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "mac-only",
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list xc:operation="delete">
                <routeT>mac-only</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 no match evpn route-type 2-mac-only


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

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

Configuring a Match for BGP EVPN Route Type 3

Configuring a Match for BGP EVPN Route Type 3
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R3"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>R3</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 match evpn route-type 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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 Match for BGP EVPN Route Type 3

Deleting a Match for BGP EVPN Route Type 3
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R3",
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list xc:operation="delete">
                <routeT>R3</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 no match evpn route-type 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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

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

Configuring a Match for BGP EVPN Route Type 4

Configuring a Match for BGP EVPN Route Type 4
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R4"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>R4</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 match evpn route-type 4


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 Match for BGP EVPN Route Type 4

Deleting a Match for BGP EVPN Route Type 4
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R4",
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list xc:operation="delete">
                <routeT>R4</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 no match evpn route-type 4


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

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

Configuring a Match for BGP EVPN Route Type 5

Configuring a Match for BGP EVPN Route Type 5
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R5"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>R5</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 match evpn route-type 5


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 Match for BGP EVPN Route Type 5

Deleting a Match for BGP EVPN Route Type 5
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R5",
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list xc:operation="delete">
                <routeT>R5</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 no match evpn route-type 5


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

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

Configuring a Match for BGP EVPN Route Type 6

Configuring a Match for BGP EVPN Route Type 6
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R6"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>R6</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 match evpn route-type 6


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 Match for BGP EVPN Route Type 6

Deleting a Match for BGP EVPN Route Type 6
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtType": {
                      "attributes": {
                        "routeT": "R6",
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list xc:operation="delete">
                <routeT>R6</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
 no match evpn route-type 6


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
rpmEntitysys/rpm
rtmapEntrysys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtTypesys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapRulesys/rpm/rtmap-[Map_1]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

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

Matching BGP Community Lists

 Matching BGP Community Lists
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchExtComm": {
                      "children": [
                        {
                          "rtmapRsExtCommAtt": {
                            "attributes": {
                              "tDn": "sys/rpm/rtextcom-[extcom]"
}}}]}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mextcomm-items>
              <rsextCommAtt-items>
                <RsExtCommAtt-list>
                  <tDn>/System/rpm-items/rtextcom-items/Rule-list[name='extcom']</tDn>
                </RsExtCommAtt-list>
              </rsextCommAtt-items>
            </mextcomm-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  match extcommunity extcom


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchExtComm sys/rpm/rtmap-[Map_1]/ent-10/mextcomm
rtmapRsExtCommAtt sys/rpm/rtmap-[Map_1]/ent-10/mextcomm/rsextCommAtt-[sys/rpm/rtextcom-[extcom]]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapRsExtCommAtt Properties

The following table contains information about the rtmapRsExtCommAtt 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
tDn
reln:Dn
reference:BinRef
The distinguished name of the target.


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 the Configured BGP Community List Matches

 Deleting the Configured  BGP Community List Matches
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchExtComm": {
                      "children": [
                        {
                          "rtmapRsExtCommAtt": {
                            "attributes": {
                              "status": "deleted",
                              "tDn": "sys/rpm/rtextcom-[extcom]"
}}}]}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mextcomm-items>
              <rsextCommAtt-items>
                <RsExtCommAtt-list nc:operation="delete">
                  <tDn>/System/rpm-items/rtextcom-items/Rule-list[name='extcom']</tDn>
                </RsExtCommAtt-list>
              </rsextCommAtt-items>
            </mextcomm-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no match extcommunity extcom


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchExtComm sys/rpm/rtmap-[Map_1]/ent-10/mextcomm
rtmapRsExtCommAtt sys/rpm/rtmap-[Map_1]/ent-10/mextcomm/rsextCommAtt-[sys/rpm/rtextcom-[extcom]]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapRsExtCommAtt Properties

The following table contains information about the rtmapRsExtCommAtt 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
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced
tDn
reln:Dn
reference:BinRef
The distinguished name of the target.


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

Setting Gateway IP for Type 5 EVPN Routes

 Setting Gateway IP for Type 5 EVPN Routes
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetEvpn": {
                      "attributes": {
                        "ip": "1.2.3.4"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sevpn-items>
              <ip>1.2.3.4</ip>
            </sevpn-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  set evpn gateway-ip 1.2.3.4


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetEvpn sys/rpm/rtmap-[Map_1]/ent-10/sevpn


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetEvpn Properties

The following table contains information about the rtmapSetEvpn 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
ipaddress:Ip
EVPN Gateway IP AddressValue must match ipv4 or ipv6 known format


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 the Set Gateway IP for Type 5 EVPN Routes

 Deleting the Set Gateway IP for Type 5 EVPN Routes
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetEvpn": {
                      "attributes": {
                        "ip": "0.0.0.0"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sevpn-items>
              <ip>0.0.0.0</ip>
            </sevpn-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no set evpn gateway-ip 1.2.3.4


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetEvpn sys/rpm/rtmap-[Map_1]/ent-10/sevpn


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetEvpn Properties

The following table contains information about the rtmapSetEvpn 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
ipaddress:Ip
EVPN Gateway IP AddressValue must match ipv4 or ipv6 known format


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

Building a MAC List (Permit)

 Building a MAC List (Permit)
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmaclistRuleMac": {
          "attributes": {
            "name": "SampleString_123"
          },
          "children": [
            {
              "rtmaclistEntry": {
                "attributes": {
                  "action": "permit",
                  "macAddr": "D8:B1:90:71:E9:03",
                  "macAddrMask": "D8:B1:90:71:E9:03",
                  "order": "123"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <maclist-items>
      <RuleMac-list>
        <name>SampleString_123</name>
        <ent-items>
          <Entry-list>
            <order>123</order>
            <action>permit</action>
            <macAddr>D8:B1:90:71:E9:03</macAddr>
            <macAddrMask>D8:B1:90:71:E9:03</macAddrMask>
          </Entry-list>
        </ent-items>
      </RuleMac-list>
    </maclist-items>
  </rpm-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.

mac-list SampleString_123 seq 123 permit d8b1.9071.e903 d8b1.9071.e903


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
rpmEntity sys/rpm
rtmaclistRuleMac sys/rpm/maclist-[SampleString_123]
rtmaclistEntry sys/rpm/maclist-[SampleString_123]/ent-123


rtmaclistRuleMac Properties

The following table contains information about the rtmaclistRuleMac 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmaclistEntry Properties

The following table contains information about the rtmaclistEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
macAddraddress:MAC
Mac AddressValue must match MM:MM:MM:SS:SS:SS format
macAddrMaskaddress:MAC
Mac Address MaskValue must match MM:MM:MM:SS:SS:SS format
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


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 a MAC List (Permit)

 Deleting a MAC List (Permit)
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmaclistRuleMac": {
          "attributes": {
            "name": "SampleString_123"
          },
          "children": [
            {
              "rtmaclistEntry": {
                "attributes": {
                  "order": "123",
                  "status": "deleted"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <maclist-items>
      <RuleMac-list>
        <name>SampleString_123</name>
        <ent-items>
          <Entry-list nc:operation="delete">
            <order>123</order>
          </Entry-list>
        </ent-items>
      </RuleMac-list>
    </maclist-items>
  </rpm-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.

no mac-list SampleString_123 seq 123 permit d8b1.9071.e903 d8b1.9071.e903


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
rpmEntity sys/rpm
rtmaclistRuleMac sys/rpm/maclist-[SampleString_123]
rtmaclistEntry sys/rpm/maclist-[SampleString_123]/ent-123


rtmaclistRuleMac Properties

The following table contains information about the rtmaclistRuleMac 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmaclistEntry Properties

The following table contains information about the rtmaclistEntry 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
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

Building a MAC List (Deny)

 Building a MAC List (Deny)
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmaclistRuleMac": {
          "attributes": {
            "name": "SampleString_123"
          },
          "children": [
            {
              "rtmaclistEntry": {
                "attributes": {
                  "action": "deny",
                  "macAddr": "D8:B1:90:71:E9:03",
                  "macAddrMask": "D8:B1:90:71:E9:03",
                  "order": "1243"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <maclist-items>
      <RuleMac-list>
        <name>SampleString_123</name>
        <ent-items>
          <Entry-list>
            <order>1243</order>
            <action>deny</action>
            <macAddr>D8:B1:90:71:E9:03</macAddr>
            <macAddrMask>D8:B1:90:71:E9:03</macAddrMask>
          </Entry-list>
        </ent-items>
      </RuleMac-list>
    </maclist-items>
  </rpm-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.

mac-list SampleString_123 seq 1243 deny d8b1.9071.e903 d8b1.9071.e903


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
rpmEntity sys/rpm
rtmaclistRuleMac sys/rpm/maclist-[SampleString_123]
rtmaclistEntry sys/rpm/maclist-[SampleString_123]/ent-1243


rtmaclistRuleMac Properties

The following table contains information about the rtmaclistRuleMac 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmaclistEntry Properties

The following table contains information about the rtmaclistEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
macAddraddress:MAC
Mac AddressValue must match MM:MM:MM:SS:SS:SS format
macAddrMaskaddress:MAC
Mac Address MaskValue must match MM:MM:MM:SS:SS:SS format
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


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 a MAC List (Deny)

 Deleting a MAC List (Deny)
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmaclistRuleMac": {
          "attributes": {
            "name": "SampleString_123"
          },
          "children": [
            {
              "rtmaclistEntry": {
                "attributes": {
                  "order": "1243",
                  "status": "deleted"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <maclist-items>
      <RuleMac-list>
        <name>SampleString_123</name>
        <ent-items>
          <Entry-list nc:operation="delete">
            <order>1243</order>
          </Entry-list>
        </ent-items>
      </RuleMac-list>
    </maclist-items>
  </rpm-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.

no mac-list SampleString_123 seq 1243 deny d8b1.9071.e903 d8b1.9071.e903


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
rpmEntity sys/rpm
rtmaclistRuleMac sys/rpm/maclist-[SampleString_123]
rtmaclistEntry sys/rpm/maclist-[SampleString_123]/ent-1243


rtmaclistRuleMac Properties

The following table contains information about the rtmaclistRuleMac 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmaclistEntry Properties

The following table contains information about the rtmaclistEntry 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
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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 Table Map

 Configuring a Table Map
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "rtctrlL2Evpn": {
          "attributes": {
            "adminSt": "enabled"
          },
          "children": [
            {
              "rtctrlBDEvi": {
                "attributes": {
                  "encap": "vxlan-101",
                  "tblMap": "ROUTE-MAP_123",
                  "tblMapFltr": "no"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <evpn-items>
    <adminSt>enabled</adminSt>
    <bdevi-items>
      <BDEvi-list>
        <encap>vxlan-101</encap>
        <tblMap>ROUTE-MAP_123</tblMap>
        <tblMapFltr>false</tblMapFltr>
      </BDEvi-list>
    </bdevi-items>
  </evpn-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.

evpn
  vni 101 l2
   table-map ROUTE-MAP_123


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
rtctrlL2Evpn sys/evpn
rtctrlBDEvi sys/evpn/bdevi-[vxlan-101]


rtctrlL2Evpn Properties

The following table contains information about the rtctrlL2Evpn 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
adminStnw:AdminSt
(scalar:Enum8)
The administrative state of the object or policy.SELECTION:
1 - enabled
2 - disabled
DEFAULT: enabled


rtctrlBDEvi Properties

The following table contains information about the rtctrlBDEvi 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
encapbase:Encap
EncapsulationSELECTION: unknown, vlan-%d or vxlan-%d
tblMapstring:Basic
Route-map name for table-map command to filter routes.A sequence of characters
tblMapFltrscalar:Bool
Filter option used with table-map configuration for selective route download.SELECTION: true or false


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 a Table Map

 Deleting a Table Map
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "rtctrlL2Evpn": {
          "attributes": {
            "adminSt": "enabled"
          },
          "children": [
            {
              "rtctrlBDEvi": {
                "attributes": {
                  "encap": "vxlan-101",
                  "tblMap": "",
                  "tblMapFltr": "no"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <evpn-items>
    <adminSt>enabled</adminSt>
    <bdevi-items>
      <BDEvi-list>
        <encap>vxlan-101</encap>
        <tblMap></tblMap>
        <tblMapFltr>false</tblMapFltr>
      </BDEvi-list>
    </bdevi-items>
  </evpn-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.

evpn
  vni 101 l2
   no table-map ROUTE-MAP_123


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
rtctrlL2Evpn sys/evpn
rtctrlBDEvi sys/evpn/bdevi-[vxlan-101]


rtctrlL2Evpn Properties

The following table contains information about the rtctrlL2Evpn 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
adminStnw:AdminSt
(scalar:Enum8)
The administrative state of the object or policy.SELECTION:
1 - enabled
2 - disabled
DEFAULT: enabled


rtctrlBDEvi Properties

The following table contains information about the rtctrlBDEvi 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
encapbase:Encap
EncapsulationSELECTION: unknown, vlan-%d or vxlan-%d
tblMapstring:Basic
Route-map name for table-map command to filter routes.A sequence of characters
tblMapFltrscalar:Bool
Filter option used with table-map configuration for selective route download.SELECTION: true or false


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 Filtered Table Map

 Configuring a Filtered Table Map
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "rtctrlL2Evpn": {
          "attributes": {
            "adminSt": "enabled"
          },
          "children": [
            {
              "rtctrlBDEvi": {
                "attributes": {
                  "encap": "vxlan-101",
                  "tblMap": "ROUTE-MAP_123",
                  "tblMapFltr": "yes"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <evpn-items>
    <adminSt>enabled</adminSt>
    <bdevi-items>
      <BDEvi-list>
        <encap>vxlan-101</encap>
        <tblMap>ROUTE-MAP_123</tblMap>
        <tblMapFltr>true</tblMapFltr>
      </BDEvi-list>
    </bdevi-items>
  </evpn-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.

evpn
  vni 101 l2
   table-map ROUTE-MAP_123 filter


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
rtctrlL2Evpn sys/evpn
rtctrlBDEvi sys/evpn/bdevi-[vxlan-101]


rtctrlL2Evpn Properties

The following table contains information about the rtctrlL2Evpn 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
adminStnw:AdminSt
(scalar:Enum8)
The administrative state of the object or policy.SELECTION:
1 - enabled
2 - disabled
DEFAULT: enabled


rtctrlBDEvi Properties

The following table contains information about the rtctrlBDEvi 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
encapbase:Encap
EncapsulationSELECTION: unknown, vlan-%d or vxlan-%d
tblMapstring:Basic
Route-map name for table-map command to filter routes.A sequence of characters
tblMapFltrscalar:Bool
Filter option used with table-map configuration for selective route download.SELECTION: true or false


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 a Filtered Table Map

 Deleting a Filtered Table Map
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "rtctrlL2Evpn": {
          "attributes": {
            "adminSt": "enabled"
          },
          "children": [
            {
              "rtctrlBDEvi": {
                "attributes": {
                  "encap": "vxlan-101",
                  "tblMap": "",
                  "tblMapFltr": "no"
}}}]}}]}}
{
    imdata:[]
}
<System>
  <evpn-items>
    <adminSt>enabled</adminSt>
    <bdevi-items>
      <BDEvi-list>
        <encap>vxlan-101</encap>
        <tblMap></tblMap>
        <tblMapFltr>false</tblMapFltr>
      </BDEvi-list>
    </bdevi-items>
  </evpn-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.

evpn
  vni 101 l2
   no table-map ROUTE-MAP_123 filter


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
rtctrlL2Evpn sys/evpn
rtctrlBDEvi sys/evpn/bdevi-[vxlan-101]


rtctrlL2Evpn Properties

The following table contains information about the rtctrlL2Evpn 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
adminStnw:AdminSt
(scalar:Enum8)
The administrative state of the object or policy.SELECTION:
1 - enabled
2 - disabled
DEFAULT: enabled


rtctrlBDEvi Properties

The following table contains information about the rtctrlBDEvi 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
encapbase:Encap
EncapsulationSELECTION: unknown, vlan-%d or vxlan-%d
tblMapstring:Basic
Route-map name for table-map command to filter routes.A sequence of characters
tblMapFltrscalar:Bool
Filter option used with table-map configuration for selective route download.SELECTION: true or false


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 Generic Extended Community With No Generic Attribute

Configuring a Generic Extended Community With No Generic Attribute
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetExtComm": {
                      "attributes": {
                        "noCommAttr": "enabled"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcomm-items>
              <noCommAttr>enabled</noCommAttr>
            </sextcomm-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  set extcommunity 4byteas-generic none


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtComm sys/rpm/rtmap-[Map_1]/ent-10/sextcomm


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtComm Properties

The following table contains information about the rtmapSetExtComm 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
noCommAttrrtmap:AdminSt
(scalar:Enum8)
No Community AttributeSELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled


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 a Generic Extended Community With No Generic Attribute

Deleting a Generic Extended Community With No Generic Attribute
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetExtComm": {
                      "attributes": {
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcomm-items nc:operation="delete">
            </sextcomm-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no set extcommunity 4byteas-generic none


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtComm sys/rpm/rtmap-[Map_1]/ent-10/sextcomm


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtComm Properties

The following table contains information about the rtmapSetExtComm 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
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

Adding to an Existing Generic Extended Community

Adding to an Existing Generic Extended Community
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "rpmEntity": {
          "children": [
            {
              "rtmapRule": {
                "attributes": {
                  "name": "Map_1"
                },
                "children": [
                  {
                    "rtmapEntry": {
                      "attributes": {
                        "action": "permit",
                        "order": "10"
                      },
                      "children": [
                        {
                          "rtmapSetExtComm": {
                            "attributes": {
                              "additive": "enabled"
                            },
                            "children": [
                              {
                                "rtextcomItem": {
                                  "attributes": {
                                    "community": "extended:as2-nn2:123:12",
                                    "scope": "non-transitive"
                                  }
                                }
                              },
                              {
                                "rtextcomItem": {
                                  "attributes": {
                                    "community": "extended:as2-nn2:123:12",
                                    "scope": "transitive"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcomm-items>
              <additive>enabled</additive>
              <item-items>
                <Item-list>
                  <scope>non-transitive</scope>
                  <community>extended:as2-nn2:123:12</community>
                </Item-list>
                <Item-list>
                  <scope>transitive</scope>
                  <community>extended:as2-nn2:123:12</community>
                </Item-list>
              </item-items>
            </sextcomm-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  set extcommunity 4byteas-generic transitive 123:12 non-transitive 123:12 additive


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtComm sys/rpm/rtmap-[Map_1]/ent-10/sextcomm
rtextcomItem sys/rpm/rtmap-[Map_1]/ent-10/sextcomm/item-[non-transitive]-extended:as2-nn2:123:12
rtextcomItem sys/rpm/rtmap-[Map_1]/ent-10/sextcomm/item-[transitive]-extended:as2-nn2:123:12


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtComm Properties

The following table contains information about the rtmapSetExtComm 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
additivertmap:AdminSt
(scalar:Enum8)
Add To Existing CommunitySELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled


rtextcomItem Properties

The following table contains information about the rtextcomItem 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
communitybase:Community
Community
scopertextcom:Scope
(scalar:Enum8)
The domain applicable to the capability.SELECTION:
0 - transitive
1 - non-transitive
DEFAULT: transitive


rtextcomItem Properties

The following table contains information about the rtextcomItem 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
communitybase:Community
Community
scopertextcom:Scope
(scalar:Enum8)
The domain applicable to the capability.SELECTION:
0 - transitive
1 - non-transitive
DEFAULT: transitive


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 an Addition to an Existing Generic Extended Community

Deleting an Addition to an Existing Generic Extended Community
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "rpmEntity": {
          "children": [
            {
              "rtmapRule": {
                "attributes": {
                  "name": "Map_1"
                },
                "children": [
                  {
                    "rtmapEntry": {
                      "attributes": {
                        "action": "permit",
                        "order": "10"
                      },
                      "children": [
                        {
                          "rtmapSetExtComm": {
                            "attributes": {
                              "additive": "disabled"
                            },
                            "children": [
                              {
                                "rtextcomItem": {
                                  "attributes": {
                                    "community": "extended:as2-nn2:123:12",
                                    "scope": "non-transitive",
                                    "status": "deleted"
                                  }
                                }
                              },
                              {
                                "rtextcomItem": {
                                  "attributes": {
                                    "community": "extended:as2-nn2:123:12",
                                    "scope": "transitive",
                                    "status": "deleted"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcomm-items>
              <additive>disabled</additive>
              <item-items>
                <Item-list nc:operation="delete">
                  <scope>non-transitive</scope>
                  <community>extended:as2-nn2:123:12</community>
                </Item-list>
                <Item-list nc:operation="delete">
                  <scope>transitive</scope>
                  <community>extended:as2-nn2:123:12</community>
                </Item-list>
              </item-items>
            </sextcomm-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no set extcommunity 4byteas-generic transitive 123:12 non-transitive 123:12 additive


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtComm sys/rpm/rtmap-[Map_1]/ent-10/sextcomm
rtextcomItem sys/rpm/rtmap-[Map_1]/ent-10/sextcomm/item-[non-transitive]-extended:as2-nn2:123:12
rtextcomItem sys/rpm/rtmap-[Map_1]/ent-10/sextcomm/item-[transitive]-extended:as2-nn2:123:12


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtComm Properties

The following table contains information about the rtmapSetExtComm 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
additivertmap:AdminSt
(scalar:Enum8)
Add To Existing CommunitySELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled


rtextcomItem Properties

The following table contains information about the rtextcomItem 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
communitybase:Community
Community
scopertextcom:Scope
(scalar:Enum8)
The domain applicable to the capability.SELECTION:
0 - transitive
1 - non-transitive
DEFAULT: transitive
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


rtextcomItem Properties

The following table contains information about the rtextcomItem 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
communitybase:Community
Community
scopertextcom:Scope
(scalar:Enum8)
The domain applicable to the capability.SELECTION:
0 - transitive
1 - non-transitive
DEFAULT: transitive
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

Adding to an Existing RT Extended Community

Adding to an Existing RT Extended Community
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetRttComm": {
                      "attributes": {
                        "additive": "enabled"
                      },
                      "children": [
                        {
                          "rtextcomItem": {
                            "attributes": {
                              "community": "route-target:as2-nn2:123:12",
                              "scope": "transitive"
}}}]}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <srtt-items>
              <additive>enabled</additive>
              <item-items>
                <Item-list>
                  <scope>transitive</scope>
                  <community>route-target:as2-nn2:123:12</community>
                </Item-list>
              </item-items>
            </srtt-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  set extcommunity rt 123:12 123:12 additive


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetRttComm sys/rpm/rtmap-[Map_1]/ent-10/srtt
rtextcomItem sys/rpm/rtmap-[Map_1]/ent-10/srtt/item-[transitive]-route-target:as2-nn2:123:12


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetRttComm Properties

The following table contains information about the rtmapSetRttComm 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
additivertmap:AdminSt
(scalar:Enum8)
Add To Existing CommunitySELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled


rtextcomItem Properties

The following table contains information about the rtextcomItem 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
communitybase:Community
Community
scopertextcom:Scope
(scalar:Enum8)
The domain applicable to the capability.SELECTION:
0 - transitive
1 - non-transitive
DEFAULT: transitive


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 an Addition to an Existing RT Extended Community

Deleting an Addition to an Existing RT Extended Community
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetRttComm": {
                      "attributes": {
                        "additive": "disabled"
                      },
                      "children": [
                        {
                          "rtextcomItem": {
                            "attributes": {
                              "community": "route-target:as2-nn2:123:12",
                              "scope": "transitive",
                              "status": "deleted"
}}}]}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <srtt-items>
              <additive>disabled</additive>
              <item-items>
                <Item-list nc:operation="delete">
                  <scope>transitive</scope>
                  <community>route-target:as2-nn2:123:12</community>
                </Item-list>
              </item-items>
            </srtt-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no set extcommunity rt 123:12 123:12 additive


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetRttComm sys/rpm/rtmap-[Map_1]/ent-10/srtt
rtextcomItem sys/rpm/rtmap-[Map_1]/ent-10/srtt/item-[transitive]-route-target:as2-nn2:123:12


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetRttComm Properties

The following table contains information about the rtmapSetRttComm 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
additivertmap:AdminSt
(scalar:Enum8)
Add To Existing CommunitySELECTION:
1 - enabled
2 - disabled
DEFAULT: disabled


rtextcomItem Properties

The following table contains information about the rtextcomItem 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
communitybase:Community
Community
scopertextcom:Scope
(scalar:Enum8)
The domain applicable to the capability.SELECTION:
0 - transitive
1 - non-transitive
DEFAULT: transitive
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

Comparing IGP Cost

Comparing IGP Cost
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetExtCommCost": {
                      "attributes": {
                        "commCrit": "igp",
                        "commId": "3",
                        "commValue": "1"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcommcost-items>
              <SetExtCommCost-list>
                <commCrit>igp</commCrit>
                <commId>3</commId>
                <commValue>1</commValue>
              </SetExtCommCost-list>
            </sextcommcost-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  set extcommunity cost igp 3 1


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtCommCost sys/rpm/rtmap-[Map_1]/ent-10/sextcommcost-[igp]-3


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtCommCost Properties

The following table contains information about the rtmapSetExtCommCost 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
commCritrtmap:SetCriteria
(scalar:Enum8)
CriteriaSELECTION:
1 - none
2 - append
3 - replace
4 - igp
5 - pre-bestpath
DEFAULT: none
commIdrtmap:CommunityId
(scalar:UByte)
Community Id
RANGE: [0 , 255]
commValuertmap:CommunityVal
(scalar:Uint32)
Community Value
RANGE: [0 , 4294967295]


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 an IGP Cost Comparison

Deleting an IGP Cost Comparison
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetExtCommCost": {
                      "attributes": {
                        "commCrit": "igp",
                        "commId": "3",
                        "commValue": "0"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcommcost-items>
              <SetExtCommCost-list>
                <commCrit>igp</commCrit>
                <commId>3</commId>
                <commValue>0</commValue>
              </SetExtCommCost-list>
            </sextcommcost-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no set extcommunity cost igp 3 1


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtCommCost sys/rpm/rtmap-[Map_1]/ent-10/sextcommcost-[igp]-3


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtCommCost Properties

The following table contains information about the rtmapSetExtCommCost 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
commCritrtmap:SetCriteria
(scalar:Enum8)
CriteriaSELECTION:
1 - none
2 - append
3 - replace
4 - igp
5 - pre-bestpath
DEFAULT: none
commIdrtmap:CommunityId
(scalar:UByte)
Community Id
RANGE: [0 , 255]
commValuertmap:CommunityVal
(scalar:Uint32)
Community Value
RANGE: [0 , 4294967295]


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

Comparing Before All Other Steps in Bestpath Calculation

Comparing Before All Other Steps in Bestpath Calculation
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetExtCommCost": {
                      "attributes": {
                        "commCrit": "pre-bestpath",
                        "commId": "3",
                        "commValue": "1"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcommcost-items>
              <SetExtCommCost-list>
                <commCrit>pre-bestpath</commCrit>
                <commId>3</commId>
                <commValue>1</commValue>
              </SetExtCommCost-list>
            </sextcommcost-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  set extcommunity cost pre-bestpath 3 1


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtCommCost sys/rpm/rtmap-[Map_1]/ent-10/sextcommcost-[pre-bestpath]-3


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtCommCost Properties

The following table contains information about the rtmapSetExtCommCost 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
commCritrtmap:SetCriteria
(scalar:Enum8)
CriteriaSELECTION:
1 - none
2 - append
3 - replace
4 - igp
5 - pre-bestpath
DEFAULT: none
commIdrtmap:CommunityId
(scalar:UByte)
Community Id
RANGE: [0 , 255]
commValuertmap:CommunityVal
(scalar:Uint32)
Community Value
RANGE: [0 , 4294967295]


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 a Comparison Made Before All Other Steps in Bestpath Calculation

Deleting a Comparison Made Before All Other Steps in Bestpath Calculation
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetExtCommCost": {
                      "attributes": {
                        "commCrit": "pre-bestpath",
                        "commId": "3",
                        "commValue": "0"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcommcost-items>
              <SetExtCommCost-list>
                <commCrit>pre-bestpath</commCrit>
                <commId>3</commId>
                <commValue>0</commValue>
              </SetExtCommCost-list>
            </sextcommcost-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no set extcommunity cost pre-bestpath 3 1


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtCommCost sys/rpm/rtmap-[Map_1]/ent-10/sextcommcost-[pre-bestpath]-3


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtCommCost Properties

The following table contains information about the rtmapSetExtCommCost 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
commCritrtmap:SetCriteria
(scalar:Enum8)
CriteriaSELECTION:
1 - none
2 - append
3 - replace
4 - igp
5 - pre-bestpath
DEFAULT: none
commIdrtmap:CommunityId
(scalar:UByte)
Community Id
RANGE: [0 , 255]
commValuertmap:CommunityVal
(scalar:Uint32)
Community Value
RANGE: [0 , 4294967295]


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 Color Extended Community

Configuring a Color Extended Community
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetExtCommColor": {
                      "attributes": {
                        "commValue": "1"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcommcolor-items>
              <commValue>1</commValue>
            </sextcommcolor-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  set extcommunity color 1


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtCommColor sys/rpm/rtmap-[Map_1]/ent-10/sextcommcolor


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtCommColor Properties

The following table contains information about the rtmapSetExtCommColor 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
commValuescalar:Uint32
Color Community Value
RANGE: [1 , 4294967295]


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 a Color Extended Community

Deleting a Color Extended Community
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapSetExtCommColor": {
                      "attributes": {
                        "status": "deleted"
}}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <sextcommcolor-items nc:operation="delete">
            </sextcommcolor-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no set extcommunity color 1


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapSetExtCommColor sys/rpm/rtmap-[Map_1]/ent-10/sextcommcolor


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapSetExtCommColor Properties

The following table contains information about the rtmapSetExtCommColor 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
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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

Matching the BGP EVPN Route Type

Matching the BGP EVPN Route Type
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "rpmEntity": {
          "children": [
            {
              "rtmapRule": {
                "attributes": {
                  "name": "Map_1"
                },
                "children": [
                  {
                    "rtmapEntry": {
                      "attributes": {
                        "action": "permit",
                        "order": "10"
                      },
                      "children": [
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R4"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R5"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R6"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "mac-ip"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R1"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R2_ALL"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "mac-only"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R3"
                            }
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list>
                <routeT>R4</routeT>
              </MatchRtType-list>
              <MatchRtType-list>
                <routeT>R5</routeT>
              </MatchRtType-list>
              <MatchRtType-list>
                <routeT>R6</routeT>
              </MatchRtType-list>
              <MatchRtType-list>
                <routeT>mac-ip</routeT>
              </MatchRtType-list>
              <MatchRtType-list>
                <routeT>R1</routeT>
              </MatchRtType-list>
              <MatchRtType-list>
                <routeT>R2_ALL</routeT>
              </MatchRtType-list>
              <MatchRtType-list>
                <routeT>mac-only</routeT>
              </MatchRtType-list>
              <MatchRtType-list>
                <routeT>R3</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  match evpn route-type 1 2 2-mac-only 3 5 2-mac-ip 6 4


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[mac-ip]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[mac-only]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external


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 the BGP EVPN Route Type Match Configuration

Deleting the BGP EVPN Route Type Match Configuration
POST http://<mgmt0_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "rpmEntity": {
          "children": [
            {
              "rtmapRule": {
                "attributes": {
                  "name": "Map_1"
                },
                "children": [
                  {
                    "rtmapEntry": {
                      "attributes": {
                        "action": "permit",
                        "order": "10"
                      },
                      "children": [
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R4",
                              "status": "deleted"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R5",
                              "status": "deleted"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R6",
                              "status": "deleted"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "mac-ip",
                              "status": "deleted"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R1",
                              "status": "deleted"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R2_ALL",
                              "status": "deleted"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "mac-only",
                              "status": "deleted"
                            }
                          }
                        },
                        {
                          "rtmapMatchRtType": {
                            "attributes": {
                              "routeT": "R3",
                              "status": "deleted"
                            }
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrttype-items>
              <MatchRtType-list nc:operation="delete">
                <routeT>R4</routeT>
              </MatchRtType-list>
              <MatchRtType-list nc:operation="delete">
                <routeT>R5</routeT>
              </MatchRtType-list>
              <MatchRtType-list nc:operation="delete">
                <routeT>R6</routeT>
              </MatchRtType-list>
              <MatchRtType-list nc:operation="delete">
                <routeT>mac-ip</routeT>
              </MatchRtType-list>
              <MatchRtType-list nc:operation="delete">
                <routeT>R1</routeT>
              </MatchRtType-list>
              <MatchRtType-list nc:operation="delete">
                <routeT>R2_ALL</routeT>
              </MatchRtType-list>
              <MatchRtType-list nc:operation="delete">
                <routeT>mac-only</routeT>
              </MatchRtType-list>
              <MatchRtType-list nc:operation="delete">
                <routeT>R3</routeT>
              </MatchRtType-list>
            </mrttype-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no match evpn route-type 1 2 2-mac-only 3 5 2-mac-ip 6 4


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R4]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R5]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R6]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[mac-ip]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R1]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R2_ALL]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[mac-only]
rtmapMatchRtType sys/rpm/rtmap-[Map_1]/ent-10/mrttype-[R3]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced


rtmapMatchRtType Properties

The following table contains information about the rtmapMatchRtType 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
routeTrtmap:RouteT
(scalar:Enum8)
Route TypeSELECTION:
1 - external
2 - internal
3 - ospf-inter-area
4 - ospf-intra-area
5 - isis-l1
6 - isis-l2
7 - local
8 - ospf-nssa-external
9 - ospf-type1
10 - ospf-type2
11 - R1
12 - mac-only
13 - mac-ip
14 - R2_ALL
15 - R3
16 - R4
17 - R5
18 - R6
DEFAULT: external
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
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 Match Entries of MAC Lists

Configuring Match Entries of MAC Lists
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtMacList": {
                      "children": [
                        {
                          "rtmapRsRtMacListAtt": {
                            "attributes": {
                              "tDn": "sys/rpm/maclist-[SampleString_123]"
}}}]}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrtmaclist-items>
              <rsrtMacListAtt-items>
                <RsRtMacListAtt-list>
                  <tDn>/System/rpm-items/maclist-items/RuleMac-list[name='SampleString_123']</tDn>
                </RsRtMacListAtt-list>
              </rsrtMacListAtt-items>
            </mrtmaclist-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  match mac-list SampleString_123


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtMacList sys/rpm/rtmap-[Map_1]/ent-10/mrtmaclist
rtmapRsRtMacListAtt sys/rpm/rtmap-[Map_1]/ent-10/mrtmaclist/rsrtMacListAtt-[sys/rpm/maclist-[SampleString_123]]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapRsRtMacListAtt Properties

The following table contains information about the rtmapRsRtMacListAtt 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
tDn
reln:Dn
reference:BinRef
The distinguished name of the target.


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 Match Entries of MAC Lists

Deleting Match Entries of MAC Lists
POST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
  "rpmEntity": {
    "children": [
      {
        "rtmapRule": {
          "attributes": {
            "name": "Map_1"
          },
          "children": [
            {
              "rtmapEntry": {
                "attributes": {
                  "action": "permit",
                  "order": "10"
                },
                "children": [
                  {
                    "rtmapMatchRtMacList": {
                      "children": [
                        {
                          "rtmapRsRtMacListAtt": {
                            "attributes": {
                              "status": "deleted",
                              "tDn": "sys/rpm/maclist-[SampleString_123]"
}}}]}}]}}]}}]}}
{
    imdata:[]
}
<System>
  <rpm-items>
    <rtmap-items>
      <Rule-list>
        <name>Map_1</name>
        <ent-items>
          <Entry-list>
            <order>10</order>
            <action>permit</action>
            <mrtmaclist-items>
              <rsrtMacListAtt-items>
                <RsRtMacListAtt-list nc:operation="delete">
                  <tDn>/System/rpm-items/maclist-items/RuleMac-list[name='SampleString_123']</tDn>
                </RsRtMacListAtt-list>
              </rsrtMacListAtt-items>
            </mrtmaclist-items>
          </Entry-list>
        </ent-items>
      </Rule-list>
    </rtmap-items>
  </rpm-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.

route-map Map_1
  no match mac-list SampleString_123


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
rpmEntity sys/rpm
rtmapRule sys/rpm/rtmap-[Map_1]
rtmapEntry sys/rpm/rtmap-[Map_1]/ent-10
rtmapMatchRtMacList sys/rpm/rtmap-[Map_1]/ent-10/mrtmaclist
rtmapRsRtMacListAtt sys/rpm/rtmap-[Map_1]/ent-10/mrtmaclist/rsrtMacListAtt-[sys/rpm/maclist-[SampleString_123]]


rtmapRule Properties

The following table contains information about the rtmapRule 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
name
pol:ObjName
string:Basic
The name of the object. RANGE: Min: "1" Max: "63"


rtmapEntry Properties

The following table contains information about the rtmapEntry 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
actionrtflt:Action
(scalar:Enum8)
ActionSELECTION:
0 - deny
1 - permit
DEFAULT: permit
orderrtflt:Order
(scalar:Uint32)
Order
RANGE: [0 , 65535]


rtmapRsRtMacListAtt Properties

The following table contains information about the rtmapRsRtMacListAtt 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
statusmo:ModificationStatus
(scalar:Bitmask32)
Modification statusSELECTION:
2 - created
4 - modified
8 - deleted
16 - replaced
tDn
reln:Dn
reference:BinRef
The distinguished name of the target.


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