cisco.nxos.nxos_vxlan_vtep_vni (7.0.0) — module

Creates a Virtual Network Identifier member (VNI)

| "added in version" 1.0.0 of cisco.nxos"

Authors: Gabriele Gerbino (@GGabriele)

Install collection

Install with ansible-galaxy collection install cisco.nxos:==7.0.0


Add to requirements.yml

  collections:
    - name: cisco.nxos
      version: 7.0.0

Description

Creates a Virtual Network Identifier member (VNI) for an NVE overlay interface.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- cisco.nxos.nxos_vxlan_vtep_vni:
    interface: nve1
    vni: 6000
    ingress_replication: default
    multisite_ingress_replication: enable

Inputs

    
vni:
    description:
    - ID of the Virtual Network Identifier.
    required: true
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Determines whether the config should be present or not on the device.
    type: str

assoc_vrf:
    description:
    - This attribute is used to identify and separate processing VNIs that are associated
      with a VRF and used for routing. The VRF and VNI specified with this command must
      match the configuration of the VNI under the VRF.
    type: bool

interface:
    description:
    - Interface name for the VXLAN Network Virtualization Endpoint.
    required: true
    type: str

peer_list:
    description:
    - Set the ingress-replication static peer list. Valid values are an array, a space-separated
      string of ip addresses, or the keyword 'default'.
    elements: str
    type: list

suppress_arp:
    description:
    - Suppress arp under layer 2 VNI.
    type: bool

multicast_group:
    description:
    - The multicast group (range) of the VNI. Valid values are string and keyword 'default'.
    type: str

ingress_replication:
    choices:
    - bgp
    - static
    - default
    description:
    - Specifies mechanism for host reachability advertisement.
    type: str

suppress_arp_disable:
    description:
    - Overrides the global ARP suppression config. This is available on NX-OS 9K series
      running 9.2.x or higher.
    type: bool

multisite_ingress_replication:
    choices:
    - disable
    - enable
    - optimized
    description:
    - Enables multisite ingress replication.
    type: str
    version_added: 1.1.0
    version_added_collection: cisco.nxos

Outputs

commands:
  description: commands sent to the device
  returned: always
  sample:
  - interface nve1
  - member vni 6000
  - multisite ingress-replication
  type: list