Configuring EIGRP in Interface Configuration Mode

Configuring Interface EIGRP Process

Configuring Interface EIGRP Process
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "interfaceEntity": {
          "children": [
            {
              "l1PhysIf": {
                "attributes": {
                  "id": "eth1/1"
                }
              }
            }
          ]
        }
      }
    ]
  }
}   
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>
    </config>
  </edit-config>
</rpc>


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] {ip|ipv6} router eigrp <eigrp-ptag>

Note: The property information for this example was added in release 10.3(1)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


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 EIGRP Hello Interval

Configuring EIGRP Hello Interval
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "helloIntvl": "50",
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "interfaceEntity": {
          "children": [
            {
              "l1PhysIf": {
                "attributes": {
                  "id": "eth1/1"
                }
              }
            }
          ]
        }
      }
    ]
  }
}  
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <helloIntvl>50</helloIntvl>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>
    </config>
  </edit-config>
</rpc>


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] {ip|ipv6} hello-interval eigrp <inst> <seconds>

Note: The property information for this example was added in release 10.3(1)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
helloIntvlscalar: Unit16Range: [1,65535]
Default: 5
Configure IP-EIGRP hello interval


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 EIGRP Hold Interval

Configuring EIGRP Hold Interval
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "holdIntvl": "50",
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "interfaceEntity": {
          "children": [
            {
              "l1PhysIf": {
                "attributes": {
                  "id": "eth1/1"
                }
              }
            }
          ]
        }
      }
    ]
  }
}  
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <holdIntvl>50</holdIntvl>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>
    </config>
  </edit-config>
</rpc>


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] {ip|ipv6} hold-time eigrp <inst> <seconds>

Note: The property information for this example was added in release 10.3(1)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
holdIntvlscalar: Unit16Range: [1,65535]
Default: 15
Configure IP-EIGRP hold time


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 EIGRP Bandwidth Percent

Configuring EIGRP Bandwidth Percent
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "bwPercent": "51",
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "interfaceEntity": {
          "children": [
            {
              "l1PhysIf": {
                "attributes": {
                  "id": "eth1/1"
                }
              }
            }
          ]
        }
      }
    ]
  }
} 
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <bwPercent>51</bwPercent>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>
    </config>
  </edit-config>
</rpc>


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] {ip|ipv6} bandwidth-percent eigrp <inst> <bandwidth>

Note: The property information for this example was added in release 10.3(1)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
bwPercentscalar: UByteRange: [1,100]
Default: 50
Set bandwidth percent for interface that EIGRP can use


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 EIGRP Interface Admin State

Configuring EIGRP Interface Admin State
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "adminSt": "disabled",
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "interfaceEntity": {
          "children": [
            {
              "l1PhysIf": {
                "attributes": {
                  "id": "eth1/1"
                }
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <adminSt>disabled</adminSt>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>
    </config>
  </edit-config>
</rpc>


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] {ip|ipv6} eigrp <inst> shutdown

Note: The property information for this example was added in release 10.3(1)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
adminStfm: AdminState
scalar: Enum8
Selection:
1: enabled
2: disabled
Default: enabled(1)
Admin state of the EIGRP on If Af for EIGRP instance shut on the interface


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 EIGRP Delay

Configuring EIGRP Delay
POST http://<mgmt_IP>/api/mo/sys.json
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "delay": "100",
                                    "delayUnit": "pico",
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "interfaceEntity": {
          "children": [
            {
              "l1PhysIf": {
                "attributes": {
                  "id": "eth1/1"
                }
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <delay>100</delay>
                          <delayUnit>pico</delayUnit>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>
    </config>
  </edit-config>
</rpc>


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] {ip|ipv6} delay eigrp <inst> <delay> [picoseconds]

Note: The property information for this example was added in release 10.3(1)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
delayscalar: Unit32Range: [1-0xFFFFFF]Set delay for interface used in EIGRP metric calculation


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 EIGRP Bandwidth

Configuring EIGRP Bandwidth
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "bw": "100000",
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <bw>100000</bw>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} bandwidth eigrp <eigrp-ptag> <bw>

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
bwScalar: uint32Range: [0- 2560000000]
Default: 0
Set bandwidth for interface used in Eigrp metric calculation


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 EIGRP mtu(max packet size used by EIGRP)

Configuring EIGRP mtu(max packet size used by EIGRP)
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "mtu": "1500",
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <mtu>12345</mtu>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} mtu eigrp <eigrp-ptag> <mtu>

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
mtuScalar: uint32Range: [209 - 16384]
Default: 209
Set Max Packet Size to be used by EIGRP


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 EIGRP BFD

Configuring EIGRP BFD
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "bfd": "enabled”,
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <bfd>enabled</bfd>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} eigrp <eigrp-tag> bfd [disable]

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
bfdScalar: uint32Selection:
True: enabled
False: disabled
Default: False
Enable BFD


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 EIGRP passive-interface

Configuring EIGRP passive-interface
POST http://<mgmt_IP>/api/mo/sys.json
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "passive": "enabled”,
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
             <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <passive>enabled</passive >
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} passive-interface eigrp <eigrp-ptag>

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
passiveScalar: enumSelection:
1: inherit
2: enabled
3. disabled
Default: inherit (1)
Configures eigrp passive on interface


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 EIGRP next hop self on interface

Configuring EIGRP next hop self on interface
POST http://<mgmt_IP>/api/mo/sys.json
      {
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "nhSelf": "enabled”,
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
            <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <nhSelf>true</nhSelf>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} next-hop-self eigrp <eigrp-ptag>

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
nhselfScalar: boolSelection:
True: enabled
False: disabled
Default: true
Configures eigrp next hop self on interface


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 EIGRP split horizon

Configuring EIGRP split horizon
POST http://<mgmt_IP>/api/mo/sys.json
      {
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "splitHorizon": "true”,
                                    "type": "ipv4-ucast"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          < splitHorizon>true</splitHorizon>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} split-horizon eigrp <eigrp-ptag>

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpIfAf sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type


eigrpIfAf Properties

The following table contains information about the eigrpIfAf 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 TypeValuesDescription
splitHorizonScalar: boolSelection:
True: enabled
False: disabled
Default: true
Configures eigrp split-horizon on interface


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 EIGRP Authentication Mode

Configuring EIGRP Authentication Mode
POST http://<mgmt_IP>/api/mo/sys.json
      {
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "router_1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpDomAf": {
                            "attributes": {
                              "type": "ipv4-ucast"
                            },
                            "children": [
                              {
                                "eigrpAuthP": {
                                  "attributes": {
                                    "mode": "md5"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>router_1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <af-items>
                    <DomAf-list>
                      <type>ipv4-ucast</type>
                      <auth-items>
                        <mode>md5</mode>
                      </auth-items>
                    </DomAf-list>
                  </af-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} authentication eigrp <eigrp-ptag> mode md5

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpAuth sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type/auth


eigrpAuth Properties

The following table contains information about the eigrpAuth 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 TypeValuesDescription
modeScalar: Enum8Selection:
0: none 1: md5
Default: none
Holds Authentication Mode


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 EIGRP Authentication Key Chain

Configuring EIGRP Authentication Key Chain
POST http://<mgmt_IP>/api/mo/sys.json
      {
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "router_1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpDomAf": {
                            "attributes": {
                              "type": "ipv4-ucast"
                            },
                            "children": [
                              {
                                "eigrpAuthP": {
                                  "attributes": {
                                    "keyChain": "key_1"
                                  }
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
                <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <af-items>
                    <DomAf-list>
                      <type>ipv4-ucast</type>
                      <auth-items>
                        <keyChain>key_chain_value</keyChain>
                      </auth-items>
                    </DomAf-list>
                  </af-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} authentication eigrp <eigrp-ptag> key-chain <chain>

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpAuth sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type/auth


eigrpAuth Properties

The following table contains information about the eigrpAuth 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 TypeValuesDescription
keyChainString: BasicMAXSIZE: 63Holds key chain name


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 EIGRP Route Control Policy(distribute-list)

Configuring EIGRP Route Control Policy(distribute-list)
POST http://<mgmt_IP>/api/mo/sys.json
      {
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "type": "ipv4-ucast"
                                  },
                                  "children": [
                                    {
                                      "eigrpRtCtrlP": {
                                        "attributes": {
                                          "direction": "in",
                                          "pfxList": "",
                                          "rtMap": "12333"
                                        }
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
       <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <rtctrl-items>
                            <RtCtrlP-list>
                              <direction>in</direction>
                              <rtMap>rtmap_value</rtMap>
                              <pfxList>pfxlist_value</pfxList>
                            </RtCtrlP-list>
                          </rtctrl-items>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} distribute-list eigrp <eigrp-ptag> {{route-map <map>} | {prefix-list <list>}} {in | out}

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpRtCtrl sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type/rtctrl


eigrpRtCtrl Properties

The following table contains information about the eigrpRtCtrl 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 TypeValuesDescription
directionScalar:enumSelection:
1: in
2: out
Default: in (1)
Direction
rtMapString: BasicPattern: “.*[!~]{0,63}.*"Route map used in distribution of routes
pfxListString: BasicPattern.*[!~]{0,63}.*"Prefix list to control route distribution


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 EIGRP Route metric Alteration Policy (offset-list)

Configuring EIGRP Route metric Alteration Policy (offset-list)
POST http://<mgmt_IP>/api/mo/sys.json
      {
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "type": "ipv4-ucast"
                                  },
                                  "children": [
                                    {
                                      " eigrpRtMetricAlterP": {
                                        "attributes": {
                                          "direction": "in",
                       "offset": "12234",
                                          "pfxList": "",
                                          "rtMap": "12333"
                                        }
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
       <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <rtmetricalter-items>
                            <RtMetricAlterP-list>
                              <direction>in</direction>
                              <rtMap>rtmap_val</rtMap>
                              <pfxList></pfxList>
                              <offset>12345</offset>
                            </RtMetricAlterP-list>
                          </rtmetricalter-items>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} offset-list eigrp <eigrp-ptag> {{route-map <map>} | {prefix-list <list>}} {in | out} <offset>

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpRtMetricAlter sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type/rtmetricalter


eigrpRtMetricAlter Properties

The following table contains information about the eigrpRtMetricAlter 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 TypeValuesDescription
directionScalar:enumSelection:
1: in
2: out
Default: in (1)
Direction
rtMapString: BasicPattern: “.*[!~]{0,63}.*"Route map used in distribution of routes
pfxListString: BasicPattern.*[!~]{0,63}.*"Prefix list to control route distribution
offsetscalar: uint32Range: [0 -2147483647 ]
Default: 0
Offset value for metric alter


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 EIGRP Route Summarization Policy

Configuring EIGRP Route Summarization Policy
POST http://<mgmt_IP>/api/mo/sys.json
      {
  "topSystem": {
    "children": [
      {
        "eigrpEntity": {
          "children": [
            {
              "eigrpInst": {
                "attributes": {
                  "name": "1"
                },
                "children": [
                  {
                    "eigrpDom": {
                      "attributes": {
                        "name": "default"
                      },
                      "children": [
                        {
                          "eigrpIf": {
                            "attributes": {
                              "id": "eth1/1"
                            },
                            "children": [
                              {
                                "eigrpIfAf": {
                                  "attributes": {
                                    "type": "ipv4-ucast"
                                  },
                                  "children": [
                                    {
                           "eigrpRtSum": {
                                        "attributes": {
                                          "addr": "10.10.10.10/32",
                                          "distance": "200",
                                          "rtMap": "100"
                                        }
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
{
    imdata:[]
}
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
       <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
        <eigrp-items>
          <inst-items>
            <Inst-list>
              <name>1</name>
              <dom-items>
                <Dom-list>
                  <name>default</name>
                  <if-items>
                    <If-list>
                      <id>eth1/1</id>
                      <af-items>
                        <IfAf-list>
                          <type>ipv4-ucast</type>
                          <rtsum-items>
                            <RtSum-list>
                              <addr>10.10.10.10/32</addr>
                              <rtMap>route_map</rtMap>
                              <distance>100</distance>
                            </RtSum-list>
                          </rtsum-items>
                        </IfAf-list>
                      </af-items>
                    </If-list>
                  </if-items>
                </Dom-list>
              </dom-items>
            </Inst-list>
          </inst-items>
        </eigrp-items>
      </System>


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] {ip|ipv6} summary-address eigrp <eigrp-ptag> { {<address> <mask>} | {<prefix>} } [<distance>] [leak-map <leak-map>]

Note: The property information for this example was added in release 10.3(2)F.


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
eigrpRtSum sys/eigrp/inst-eigrp-ptag/dom-vrf-name/if-[interface]/af-type/rtsum


eigrpRtSum Properties

The following table contains information about the eigrpRtSum 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 TypeValuesDescription
addrscalar: unionIp-addressIp address
rtMapString: BasicPattern: “.*[!~]{0,63}.*"Route map to allow dynamic prefixes
distanceScalar: Unit8Range: [1-255]
Default: 5
Administrative distance for summary address


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