.. _cisco.iosxr.iosxr_vrf_address_family_module:
************************************
cisco.iosxr.iosxr_vrf_address_family
************************************
**Resource module to configure VRF Address family.**
Version added: 10.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module configures and manages the attributes of VRF address family on Cisco IOS-XR devices.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
VRF address family configuration.
|
|
address_families
list
/ elements=dictionary
|
|
Enable address family and enter its config mode - AFI/SAFI configuration
|
|
|
afi
string
|
|
Address Family Identifier (AFI)
|
|
|
export
dictionary
|
|
VRF export
|
|
|
|
route_policy
string
|
|
Use route_policy for export
|
|
|
|
route_target
string
|
|
Specify export route target extended communities.
|
|
|
|
to
dictionary
|
|
Export routes to a VRF
|
|
|
|
|
default_vrf
dictionary
|
|
Export routes to default VRF
|
|
|
|
|
|
route_policy
string
|
|
Use route_policy for export
|
|
|
|
|
vrf
dictionary
|
|
Export routes to a VRF
|
|
|
|
|
|
allow_imported_vpn
boolean
|
|
Allow export of imported VPN routes to non-default VRF
|
|
|
import_config
dictionary
|
|
VRF import
|
|
|
|
from_config
dictionary
|
|
Import routes from a VRF
|
|
|
|
|
bridge_domain
dictionary
|
|
VRF import
|
|
|
|
|
|
advertise_as_vpn
boolean
|
|
Advertise local EVPN imported routes to PEs
|
|
|
|
|
default_vrf
dictionary
|
|
Export routes to default VRF
|
|
|
|
|
|
route_policy
string
|
|
Use route_policy for export
|
|
|
|
|
vrf
dictionary
|
|
Import routes from a VRF
|
|
|
|
|
|
advertise_as_vpn
boolean
|
|
Advertise local EVPN imported routes to PEs
|
|
|
|
route_policy
string
|
|
Use route_policy for export
|
|
|
|
route_target
string
|
|
Specify export route target extended communities.
|
|
|
maximum
dictionary
|
|
Set maximum prefix limit
|
|
|
|
prefix
integer
|
|
Set table's maximum prefix limit.
|
|
|
safi
string
|
Choices:
- flowspec
- multicast
- unicast
|
Address Family modifier
|
|
name
string
/ required
|
|
Name of the VRF.
|
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the IOS-XR device by executing the command show running-config vrf.
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:
- parsed
- gathered
- deleted
merged ←
- replaced
- rendered
- overridden
|
The state the configuration should be left in
The states rendered, gathered and parsed does not perform any change on the device.
The state rendered will transform the configuration in config option to platform specific CLI commands which will be returned in the rendered key within the result. For state rendered active connection to remote host is not required.
The state gathered will fetch the running configuration from device and transform it into structured data in the format as per the resource module argspec and the value is returned in the gathered key within the result.
The state parsed reads the configuration from running_config option and transforms it into JSON format as per the resource module parameters and the value is returned in the parsed key within the result. The value of running_config option should be the same format as the output of command show running-config vrf. connection to remote host is not required.
|