code: def disable_vxlan_feature(self, nexus_host):
          
  
          # Removing the "feature nv overlay" configuration also
          # removes the "interface nve" configuration.
  
          starttime = time.time()
  
          # Do CLI 'no feature nv overlay'
          self.send_edit_string(nexus_host, snipp.PATH_VXLAN_STATE,
                                (snipp.BODY_VXLAN_STATE % "disabled"))
  
          # Do CLI 'no feature vn-segment-vlan-based'
          self.send_edit_string(nexus_host, snipp.PATH_VNSEG_STATE,
                                (snipp.BODY_VNSEG_STATE % "disabled"))
  
          self.capture_and_print_timeshot(
              starttime, "disable_vxlan",
              switch=nexus_host)
docs: Disable VXLAN on the switch.