.. _cisco.ios.ios_evpn_evi_module:
**********************
cisco.ios.ios_evpn_evi
**********************
**Resource module to configure L2VPN EVPN EVI.**
Version added: 5.3.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module provides declarative management of L2VPN EVPN EVI on Cisco IOS network devices.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
list
/ elements=dictionary
|
|
A dictionary of L2VPN Ethernet Virtual Private Network (EVPN) EVI configuration
|
|
default_gateway
dictionary
|
|
Default Gateway parameters
|
|
|
advertise
dictionary
|
|
Advertise Default Gateway MAC/IP routes
|
|
|
|
disable
boolean
|
|
Disable advertisement of Default Gateway MAC/IP routes
|
|
|
|
enable
boolean
|
|
Enable advertisement of Default Gateway MAC/IP routes
|
|
encapsulation
string
|
|
EVPN encapsulation type
|
|
evi
integer
/ required
|
|
EVPN instance value
|
|
ip
dictionary
|
|
IP parameters
|
|
|
local_learning
dictionary
|
|
IP local learning
|
|
|
|
disable
boolean
|
|
Disable IP local learning
|
|
|
|
enable
boolean
|
|
Enable IP local learning
|
|
replication_type
string
|
|
Method for replicating BUM traffic
|
|
route_distinguisher
string
|
|
EVPN Route Distinguisher
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the IOS device by executing the command sh running-config nve | section ^l2vpn evpn$.
The state parsed reads the configuration from running_config option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the parsed key within the result.
|
state
string
|
Choices:
merged ←
- replaced
- overridden
- deleted
- gathered
- rendered
- parsed
|
The state the configuration should be left in
|