Configure VXLAN FHS

Configure VXLAN FHS

Configure VXLAN FHS
POST http://<mgmt_IP>/api/mo/sys.json
{
  "topSystem": {
    "children": [
      {
        "dhcpEntity": {
          "children": [
            {
              "dhcpInst": {
                "children": [
                  {
                    "dhcpSnoopVlan": {
                      "attributes": {
                        "evpnEnabled": "yes",
                        "snoopVlanNum": "2"
                      }
                    }
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  }
}


<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
  <edit-config>
    <target>
      <running/>
    </target>
    <config>
      <System>
        <dhcp-items>
          <inst-items>
            <snoopvlan-items>
              <SnoopVlan-list>
                <snoopVlanNum>2</snoopVlanNum>
                <evpnEnabled>true</evpnEnabled>
              </SnoopVlan-list>
            </snoopvlan-items>
          </inst-items>
        </dhcp-items>
      </System>
    </config>
  </edit-config>
</rpc>






Note: This example was added in Release 10.4(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] ip dhcp snooping {vlan <vlan_id> { evpn }}


dhcpSnoopVlan Properties

The following table contains information about the dhcpSnoopVlan 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
snoopVlanNumScalar: Uint32Vlan IDVlan ID RANGE: [1 , 3967]
evpnEnabledScalar: boolTrue: enabled False: disabledEnables FHS (dhcp snooping for evpn routes)


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] (https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html)