cisco / cisco.nxos / 7.0.0 / module / nxos_evpn_vni Manages Cisco EVPN VXLAN Network Identifier (VNI). | "added in version" 1.0.0 of cisco.nxos" Authors: Gabriele Gerbino (@GGabriele)cisco.nxos.nxos_evpn_vni (7.0.0) — module
Install with ansible-galaxy collection install cisco.nxos:==7.0.0
collections: - name: cisco.nxos version: 7.0.0
Manages Cisco Ethernet Virtual Private Network (EVPN) VXLAN Network Identifier (VNI) configurations of a Nexus device.
- name: vni configuration cisco.nxos.nxos_evpn_vni: vni: 6000 route_distinguisher: 60:10 route_target_import: - "5000:10" - "4100:100" route_target_export: auto route_target_both: default
vni: description: - The EVPN VXLAN 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 route_target_both: description: - Enables/Disables route-target settings for both import and export target communities using a single property. elements: str type: list route_distinguisher: description: - The VPN Route Distinguisher (RD). The RD is combined with the IPv4 or IPv6 prefix learned by the PE router to create a globally unique address. type: str route_target_export: description: - Sets the route-target 'export' extended communities. elements: str type: list route_target_import: description: - Sets the route-target 'import' extended communities. elements: str type: list
commands: description: commands sent to the device returned: always sample: - evpn - vni 6000 l2 - route-target import 5001:10 type: list