.. _cisco.nxos.nxos_ospfv3_module:
**********************
cisco.nxos.nxos_ospfv3
**********************
**OSPFv3 resource module**
Version added: 1.2.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages OSPFv3 configuration on devices running Cisco NX-OS.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
dictionary
|
|
A list of OSPFv3 process configuration.
|
|
processes
list
/ elements=dictionary
|
|
A list of OSPFv3 instances' configurations.
|
|
|
address_family
dictionary
|
|
IPv6 unicast address-family OSPFv3 settings.
|
|
|
|
afi
string
|
|
Configure OSPFv3 settings under IPv6 address-family.
|
|
|
|
areas
list
/ elements=dictionary
|
|
Configure properties of OSPF Areas under address-family.
|
|
|
|
|
area_id
string
/ required
|
|
The Area ID as an integer or IP Address.
|
|
|
|
|
default_cost
integer
|
|
Specify the default cost.
|
|
|
|
|
filter_list
list
/ elements=dictionary
|
|
Filter prefixes between OSPF areas.
|
|
|
|
|
|
direction
string
/ required
|
|
The direction to apply the route map.
|
|
|
|
|
|
route_map
string
/ required
|
|
The Route-map name.
|
|
|
|
|
ranges
list
/ elements=dictionary
|
|
Configure an address range for the area.
|
|
|
|
|
|
cost
integer
|
|
Cost to use for the range.
|
|
|
|
|
|
not_advertise
boolean
|
|
Suppress advertising the specified range.
|
|
|
|
|
|
prefix
string
/ required
|
|
IP in Prefix format (x.x.x.x/len)
|
|
|
|
default_information
dictionary
|
|
Control distribution of default routes.
|
|
|
|
|
originate
dictionary
|
|
Distribute a default route.
|
|
|
|
|
|
always
boolean
|
|
Always advertise a default route.
|
|
|
|
|
|
route_map
string
|
|
Policy to control distribution of default routes
|
|
|
|
|
|
set
boolean
|
|
Enable distribution of default route.
|
|
|
|
distance
integer
|
|
Configure the OSPF administrative distance.
|
|
|
|
maximum_paths
integer
|
|
Maximum paths per destination.
|
|
|
|
redistribute
list
/ elements=dictionary
|
|
Redistribute information from another routing protocol.
|
|
|
|
|
id
string
|
|
The identifier for the protocol specified.
|
|
|
|
|
protocol
string
/ required
|
Choices:
- bgp
- direct
- eigrp
- isis
- lisp
- ospfv3
- rip
- static
|
The name of the protocol.
|
|
|
|
|
route_map
string
/ required
|
|
The route map policy to constrain redistribution.
|
|
|
|
safi
string
|
|
Configure OSPFv3 settings under IPv6 unicast address-family.
|
|
|
|
summary_address
list
/ elements=dictionary
|
|
Configure route summarization for redistribution.
|
|
|
|
|
not_advertise
boolean
|
|
Supress advertising the specified summary.
|
|
|
|
|
prefix
string
/ required
|
|
IPv6 prefix format 'xxxx:xxxx/ml', 'xxxx:xxxx::/ml' or 'xxxx::xx/128'
|
|
|
|
|
tag
integer
|
|
A 32-bit tag value.
|
|
|
|
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 timer related constants.
|
|
|
|
|
throttle
dictionary
|
|
Configure throttle related constants.
|
|
|
|
|
|
spf
dictionary
|
|
Set OSPF SPF timers.
|
|
|
|
|
|
|
initial_spf_delay
integer
|
|
Initial SPF schedule delay in milliseconds.
|
|
|
|
|
|
|
max_wait_time
integer
|
|
Maximum wait time between SPF calculations.
|
|
|
|
|
|
|
min_hold_time
integer
|
|
Minimum hold time between SPF calculations.
|
|
|
areas
list
/ elements=dictionary
|
|
Configure properties of OSPF Areas.
|
|
|
|
area_id
string
/ required
|
|
The Area ID as an integer or IP Address.
|
|
|
|
nssa
dictionary
|
|
NSSA settings for the area.
|
|
|
|
|
default_information_originate
boolean
|
|
Originate Type-7 default LSA into NSSA area.
|
|
|
|
|
no_redistribution
boolean
|
|
Do not send redistributed LSAs into NSSA area.
|
|
|
|
|
no_summary
boolean
|
|
Do not send summary LSAs into NSSA area.
|
|
|
|
|
route_map
string
|
|
Policy to control distribution of default route.
|
|
|
|
|
set
boolean
|
|
Configure area as NSSA.
|
|
|
|
|
translate
dictionary
|
|
Translate LSA.
|
|
|
|
|
|
type7
dictionary
|
|
Translate from Type 7 to Type 5.
|
|
|
|
|
|
|
always
boolean
|
|
Always translate LSAs
|
|
|
|
|
|
|
never
boolean
|
|
Never translate LSAs
|
|
|
|
|
|
|
supress_fa
boolean
|
|
Suppress forwarding address in translated LSAs.
|
|
|
|
stub
dictionary
|
|
Settings for configuring the area as a stub.
|
|
|
|
|
no_summary
boolean
|
|
Prevent ABR from sending summary LSAs into stub area.
|
|
|
|
|
set
boolean
|
|
Configure the area as a stub.
|
|
|
auto_cost
dictionary
|
|
Calculate OSPF cost according to bandwidth.
|
|
|
|
reference_bandwidth
integer
/ required
|
|
Reference bandwidth used to assign OSPF cost.
|
|
|
|
unit
string
/ required
|
|
Specify in which unit the reference bandwidth is specified.
|
|
|
flush_routes
boolean
|
|
Flush routes on a non-graceful controlled restart.
|
|
|
graceful_restart
dictionary
|
|
Configure graceful restart.
|
|
|
|
grace_period
integer
|
|
Configure maximum interval to restart gracefully.
|
|
|
|
helper_disable
boolean
|
|
Enable/Disable helper mode.
|
|
|
|
planned_only
boolean
|
|
Enable graceful restart only for a planned restart
|
|
|
|
set
boolean
|
|
Enable graceful-restart.
|
|
|
isolate
boolean
|
|
Isolate this router from OSPF perspective.
|
|
|
log_adjacency_changes
dictionary
|
|
Log changes in adjacency state.
|
|
|
|
detail
boolean
|
|
Notify all state changes.
|
|
|
|
log
boolean
|
|
Enable/disable logging changes in adjacency state.
|
|
|
max_lsa
dictionary
|
|
Feature to limit the number of non-self-originated LSAs.
|
|
|
|
ignore_count
integer
|
|
Set count on how many times adjacencies can be suppressed.
|
|
|
|
ignore_time
integer
|
|
Set time during which all adjacencies are suppressed.
|
|
|
|
max_non_self_generated_lsa
integer
/ required
|
|
Set the maximum number of non self-generated LSAs.
|
|
|
|
reset_time
integer
|
|
Set number of minutes after which ignore-count is reset to zero.
|
|
|
|
threshold
integer
|
|
Threshold value (%) at which to generate a warning message.
|
|
|
|
warning_only
boolean
|
|
Log a warning message when limit is exceeded.
|
|
|
max_metric
dictionary
|
|
Maximize the cost metric.
|
|
|
|
router_lsa
dictionary
|
|
Router LSA configuration.
|
|
|
|
|
external_lsa
dictionary
|
|
External LSA configuration.
|
|
|
|
|
|
max_metric_value
integer
|
|
Set max metric value for external LSAs.
|
|
|
|
|
|
set
boolean
|
|
Set external-lsa attribute.
|
|
|
|
|
inter_area_prefix_lsa
dictionary
|
|
Inter-area-prefix LSAs configuration.
|
|
|
|
|
|
max_metric_value
integer
|
|
Max metric value for summary LSAs.
|
|
|
|
|
|
set
boolean
|
|
Set summary-lsa attribute.
|
|
|
|
|
on_startup
dictionary
|
|
Effective only at startup.
|
|
|
|
|
|
set
boolean
|
|
Set on-startup attribute.
|
|
|
|
|
|
wait_for_bgp_asn
integer
|
|
ASN of BGP to wait for.
|
|
|
|
|
|
wait_period
integer
|
|
Wait period in seconds after startup.
|
|
|
|
|
set
boolean
|
|
Set router-lsa attribute.
|
|
|
|
|
stub_prefix_lsa
boolean
|
|
Advertise Max metric for Stub links as well.
|
|
|
name_lookup
boolean
|
|
Display OSPF router ids as DNS names.
|
|
|
passive_interface
dictionary
|
|
Suppress routing updates on the interface.
|
|
|
|
default
boolean
|
|
Interfaces passive by default.
|
|
|
process_id
string
/ required
|
|
The OSPF process tag.
|
|
|
router_id
string
|
|
Set OSPF process router-id.
|
|
|
shutdown
boolean
|
|
Shutdown the OSPF protocol instance.
|
|
|
timers
dictionary
|
|
Configure timer related constants.
|
|
|
|
lsa_arrival
integer
|
|
Mimimum interval between arrival of a LSA.
|
|
|
|
lsa_group_pacing
integer
|
|
LSA group refresh/maxage interval.
|
|
|
|
throttle
dictionary
|
|
Configure throttle related constants.
|
|
|
|
|
lsa
dictionary
|
|
Set rate-limiting for LSA generation.
|
|
|
|
|
|
hold_interval
integer
|
|
The hold interval.
|
|
|
|
|
|
max_interval
integer
|
|
The max interval.
|
|
|
|
|
|
start_interval
integer
|
|
The start interval.
|
|
|
vrfs
list
/ elements=dictionary
|
|
Configure VRF specific OSPF settings.
|
|
|
|
areas
list
/ elements=dictionary
|
|
Configure properties of OSPF Areas.
|
|
|
|
|
area_id
string
/ required
|
|
The Area ID as an integer or IP Address.
|
|
|
|
|
nssa
dictionary
|
|
NSSA settings for the area.
|
|
|
|
|
|
default_information_originate
boolean
|
|
Originate Type-7 default LSA into NSSA area.
|
|
|
|
|
|
no_redistribution
boolean
|
|
Do not send redistributed LSAs into NSSA area.
|
|
|
|
|
|
no_summary
boolean
|
|
Do not send summary LSAs into NSSA area.
|
|
|
|
|
|
route_map
string
|
|
Policy to control distribution of default route.
|
|
|
|
|
|
set
boolean
|
|
Configure area as NSSA.
|
|
|
|
|
|
translate
dictionary
|
|
Translate LSA.
|
|
|
|
|
|
|
type7
dictionary
|
|
Translate from Type 7 to Type 5.
|
|
|
|
|
|
|
|
always
boolean
|
|
Always translate LSAs
|
|
|
|
|
|
|
|
never
boolean
|
|
Never translate LSAs
|
|
|
|
|
|
|
|
supress_fa
boolean
|
|
Suppress forwarding address in translated LSAs.
|
|
|
|
|
stub
dictionary
|
|
Settings for configuring the area as a stub.
|
|
|
|
|
|
no_summary
boolean
|
|
Prevent ABR from sending summary LSAs into stub area.
|
|
|
|
|
|
set
boolean
|
|
Configure the area as a stub.
|
|
|
|
auto_cost
dictionary
|
|
Calculate OSPF cost according to bandwidth.
|
|
|
|
|
reference_bandwidth
integer
/ required
|
|
Reference bandwidth used to assign OSPF cost.
|
|
|
|
|
unit
string
/ required
|
|
Specify in which unit the reference bandwidth is specified.
|
|
|
|
graceful_restart
dictionary
|
|
Configure graceful restart.
|
|
|
|
|
grace_period
integer
|
|
Configure maximum interval to restart gracefully.
|
|
|
|
|
helper_disable
boolean
|
|
Enable/Disable helper mode.
|
|
|
|
|
planned_only
boolean
|
|
Enable graceful restart only for a planned restart
|
|
|
|
|
set
boolean
|
|
Enable graceful-restart.
|
|
|
|
log_adjacency_changes
dictionary
|
|
Log changes in adjacency state.
|
|
|
|
|
detail
boolean
|
|
Notify all state changes.
|
|
|
|
|
log
boolean
|
|
Enable/disable logging changes in adjacency state.
|
|
|
|
max_lsa
dictionary
|
|
Feature to limit the number of non-self-originated LSAs.
|
|
|
|
|
ignore_count
integer
|
|
Set count on how many times adjacencies can be suppressed.
|
|
|
|
|
ignore_time
integer
|
|
Set time during which all adjacencies are suppressed.
|
|
|
|
|
max_non_self_generated_lsa
integer
/ required
|
|
Set the maximum number of non self-generated LSAs.
|
|
|
|
|
reset_time
integer
|
|
Set number of minutes after which ignore-count is reset to zero.
|
|
|
|
|
threshold
integer
|
|
Threshold value (%) at which to generate a warning message.
|
|
|
|
|
warning_only
boolean
|
|
Log a warning message when limit is exceeded.
|
|
|
|
max_metric
dictionary
|
|
Maximize the cost metric.
|
|
|
|
|
router_lsa
dictionary
|
|
Router LSA configuration.
|
|
|
|
|
|
external_lsa
dictionary
|
|
External LSA configuration.
|
|
|
|
|
|
|
max_metric_value
integer
|
|
Set max metric value for external LSAs.
|
|
|
|
|
|
|
set
boolean
|
|
Set external-lsa attribute.
|
|
|
|
|
|
inter_area_prefix_lsa
dictionary
|
|
Inter-area-prefix LSAs configuration.
|
|
|
|
|
|
|
max_metric_value
integer
|
|
Max metric value for summary LSAs.
|
|
|
|
|
|
|
set
boolean
|
|
Set summary-lsa attribute.
|
|
|
|
|
|
on_startup
dictionary
|
|
Effective only at startup.
|
|
|
|
|
|
|
set
boolean
|
|
Set on-startup attribute.
|
|
|
|
|
|
|
wait_for_bgp_asn
integer
|
|
ASN of BGP to wait for.
|
|
|
|
|
|
|
wait_period
integer
|
|
Wait period in seconds after startup.
|
|
|
|
|
|
set
boolean
|
|
Set router-lsa attribute.
|
|
|
|
|
|
stub_prefix_lsa
boolean
|
|
Advertise Max metric for Stub links as well.
|
|
|
|
name_lookup
boolean
|
|
Display OSPF router ids as DNS names.
|
|
|
|
passive_interface
dictionary
|
|
Suppress routing updates on the interface.
|
|
|
|
|
default
boolean
|
|
Interfaces passive by default.
|
|
|
|
router_id
string
|
|
Set OSPF process router-id.
|
|
|
|
shutdown
boolean
|
|
Shutdown the OSPF protocol instance.
|
|
|
|
timers
dictionary
|
|
Configure timer related constants.
|
|
|
|
|
lsa_arrival
integer
|
|
Mimimum interval between arrival of a LSA.
|
|
|
|
|
lsa_group_pacing
integer
|
|
LSA group refresh/maxage interval.
|
|
|
|
|
throttle
dictionary
|
|
Configure throttle related constants.
|
|
|
|
|
|
lsa
dictionary
|
|
Set rate-limiting for LSA generation.
|
|
|
|
|
|
|
hold_interval
integer
|
|
The hold interval.
|
|
|
|
|
|
|
max_interval
integer
|
|
The max interval.
|
|
|
|
|
|
|
start_interval
integer
|
|
The start interval.
|
|
|
|
vrf
string
/ required
|
|
Name/Identifier 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 NX-OS device by executing the command show running-config | section "^router ospfv3".
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
- parsed
- rendered
|
The state the configuration should be left in.
|