cisco.nxos.nxos_vxlan_vtep_vni module – Creates a Virtual Network Identifier member (VNI)
Note
This module is part of the cisco.nxos collection (version 9.2.1).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install cisco.nxos
.
To use it in a playbook, specify: cisco.nxos.nxos_vxlan_vtep_vni
.
New in cisco.nxos 1.0.0
Synopsis
Creates a Virtual Network Identifier member (VNI) for an NVE overlay interface.
Aliases: vxlan_vtep_vni
Parameters
Parameter |
Comments |
---|---|
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. Choices:
|
|
Specifies mechanism for host reachability advertisement. Choices:
|
|
Interface name for the VXLAN Network Virtualization Endpoint. |
|
The multicast group (range) of the VNI. Valid values are string and keyword ‘default’. |
|
Enables multisite ingress replication. Choices:
|
|
Set the ingress-replication static peer list. Valid values are an array, a space-separated string of ip addresses, or the keyword ‘default’. |
|
Determines whether the config should be present or not on the device. Choices:
|
|
Suppress arp under layer 2 VNI. Choices:
|
|
Overrides the global ARP suppression config. This is available on NX-OS 9K series running 9.2.x or higher. Choices:
|
|
ID of the Virtual Network Identifier. |
Notes
Note
Tested against NXOSv 7.3.(0)D1(1) on VIRL
Unsupported for Cisco MDS
default, where supported, restores params default value.
For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
Examples
- cisco.nxos.nxos_vxlan_vtep_vni:
interface: nve1
vni: 6000
ingress_replication: default
multisite_ingress_replication: enable
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
commands sent to the device Returned: always Sample: |