.. _cisco.nxos.nxos_bgp_address_family_module:
**********************************
cisco.nxos.nxos_bgp_address_family
**********************************
**BGP Address Family resource module.**
Version added: 2.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages BGP Address Family configuration on devices running Cisco NX-OS.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
dictionary
|
|
A list of BGP process configuration.
|
|
address_family
list
/ elements=dictionary
|
|
Address Family related configurations.
|
|
|
additional_paths
dictionary
|
|
Additional paths configuration.
|
|
|
|
install_backup
boolean
|
|
Install backup path.
|
|
|
|
receive
boolean
|
|
Additional paths Receive capability.
|
|
|
|
selection
dictionary
|
|
Additional paths selection
|
|
|
|
|
route_map
string
|
|
Route-map for additional paths selection
|
|
|
|
send
boolean
|
|
Additional paths Send capability
|
|
|
advertise_l2vpn_evpn
boolean
|
|
Enable advertising EVPN routes.
|
|
|
advertise_pip
boolean
|
|
Advertise physical ip for type-5 route.
|
|
|
advertise_system_mac
boolean
|
|
Advertise extra EVPN RT-2 with system MAC.
|
|
|
afi
string
/ required
|
Choices:
- ipv4
- ipv6
- link-state
- vpnv4
- vpnv6
- l2vpn
|
Address Family indicator.
|
|
|
aggregate_address
list
/ elements=dictionary
|
|
Configure BGP aggregate prefixes
|
|
|
|
advertise_map
string
|
|
Select attribute information from specific routes.
|
|
|
|
as_set
boolean
|
|
Generate AS-SET information.
|
|
|
|
attribute_map
string
|
|
Set attribute information of aggregate.
|
|
|
|
prefix
string
|
|
Aggregate prefix.
|
|
|
|
summary_only
boolean
|
|
Do not advertise more specifics.
|
|
|
|
suppress_map
string
|
|
Conditionally filter more specific routes.
|
|
|
allow_vni_in_ethertag
boolean
|
|
Allow VNI in Ethernet Tag field in EVPN route.
|
|
|
client_to_client
dictionary
|
|
Configure client-to-client route reflection.
|
|
|
|
no_reflection
boolean
|
|
Reflection of routes permitted.
|
|
|
dampen_igp_metric
integer
|
|
Dampen IGP metric-related changes.
|
|
|
dampening
dictionary
|
|
Configure route flap dampening.
|
|
|
|
decay_half_life
integer
|
|
Decay half life.
|
|
|
|
max_suppress_time
integer
|
|
Maximum suppress time for stable route.
|
|
|
|
route_map
string
|
|
Apply route-map to specify dampening criteria.
|
|
|
|
set
boolean
|
|
Set route flap dampening.
|
|
|
|
start_reuse_route
integer
|
|
Value to start reusing a route.
|
|
|
|
start_suppress_route
integer
|
|
Value to start suppressing a route.
|
|
|
default_information
dictionary
|
|
Control distribution of default information.
|
|
|
|
originate
boolean
|
|
Distribute a default route.
|
|
|
default_metric
integer
|
|
Set metric of redistributed routes.
|
|
|
distance
dictionary
|
|
Configure administrative distance.
|
|
|
|
ebgp_routes
integer
|
|
Distance for EBGP routes.
|
|
|
|
ibgp_routes
integer
|
|
Distance for IBGP routes.
|
|
|
|
local_routes
integer
|
|
Distance for local routes.
|
|
|
export_gateway_ip
boolean
|
|
Export Gateway IP to Type-5 EVPN routes for VRF
|
|
|
inject_map
list
/ elements=dictionary
|
|
Routemap which specifies prefixes to inject.
|
|
|
|
copy_attributes
boolean
|
|
Copy attributes from aggregate.
|
|
|
|
exist_map
string
|
|
Routemap which specifies exist condition.
|
|
|
|
route_map
string
|
|
Route-map name.
|
|
|
maximum_paths
dictionary
|
|
Forward packets over multipath paths.
|
|
|
|
eibgp
dictionary
|
|
Configure multipath for both EBGP and IBGP paths.
|
|
|
|
|
parallel_paths
integer
|
|
Number of parallel paths.
|
|
|
|
ibgp
dictionary
|
|
Configure multipath for IBGP paths.
|
|
|
|
|
parallel_paths
integer
|
|
Number of parallel paths.
|
|
|
|
local
dictionary
|
|
Configure multipath for local paths.
|
|
|
|
|
parallel_paths
integer
|
|
Number of parallel paths.
|
|
|
|
mixed
dictionary
|
|
Configure multipath for local and remote paths.
|
|
|
|
|
parallel_paths
integer
|
|
Number of parallel paths.
|
|
|
|
parallel_paths
integer
|
|
Number of parallel paths.
|
|
|
networks
list
/ elements=dictionary
|
|
Configure an IP prefix to advertise.
|
|
|
|
prefix
string
|
|
IP prefix in CIDR format.
|
|
|
|
route_map
string
|
|
Route-map name.
|
|
|
nexthop
dictionary
|
|
Nexthop tracking.
|
|
|
|
route_map
string
|
|
Route-map name.
|
|
|
|
trigger_delay
dictionary
|
|
Set the delay to trigger nexthop tracking.
|
|
|
|
|
critical_delay
integer
|
|
Nexthop changes affecting reachability.
Delay value (miliseconds).
|
|
|
|
|
non_critical_delay
integer
|
|
Other nexthop changes.
Delay value (miliseconds).
|
|
|
redistribute
list
/ elements=dictionary
|
|
Configure redistribution.
|
|
|
|
id
string
|
|
The identifier for the protocol specified.
|
|
|
|
protocol
string
/ required
|
Choices:
- am
- direct
- eigrp
- isis
- lisp
- ospf
- ospfv3
- rip
- static
- hmm
|
The name of the protocol.
|
|
|
|
route_map
string
/ required
|
|
The route map policy to constrain redistribution.
|
|
|
retain
dictionary
|
|
Retain the routes based on Target VPN Extended Communities.
|
|
|
|
route_target
dictionary
|
|
Specify Target VPN Extended Communities
|
|
|
|
|
retain_all
boolean
|
|
All the routes regardless of Target-VPN community
|
|
|
|
|
route_map
string
|
|
Apply route-map to filter routes.
|
|
|
safi
string
|
Choices:
- unicast
- multicast
- mvpn
- evpn
|
Sub Address Family indicator.
|
|
|
suppress_inactive
boolean
|
|
Advertise only active routes to peers.
|
|
|
table_map
dictionary
|
|
Policy for filtering/modifying OSPF routes before sending them to RIB.
|
|
|
|
filter
boolean
|
|
Block the OSPF routes from being sent to RIB.
|
|
|
|
name
string
/ required
|
|
The Route Map name.
|
|
|
timers
dictionary
|
|
Configure bgp related timers.
|
|
|
|
bestpath_defer
dictionary
|
|
Configure bestpath defer timer value for batch prefix processing.
|
|
|
|
|
defer_time
integer
|
|
Bestpath defer time (mseconds).
|
|
|
|
|
maximum_defer_time
integer
|
|
Maximum bestpath defer time (mseconds).
|
|
|
vrf
string
|
|
Virtual Router Context.
|
|
|
wait_igp_convergence
boolean
|
|
Delay initial bestpath until redistributed IGPs have converged.
|
|
as_number
string
|
|
Autonomous System Number of the router.
|
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the NX-OS device by executing the command show running-config | section '^router bgp'.
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
- parsed
- gathered
- rendered
|
The state the configuration should be left in.
State deleted only removes BGP attributes that this modules manages and does not negate the BGP process completely.
Refer to examples for more details.
|