| 1 |
.. _cisco.nxos.nxos_pim_module: |
| 2 |
|
| 3 |
|
| 4 |
******************* |
| 5 |
cisco.nxos.nxos_pim |
| 6 |
******************* |
| 7 |
|
| 8 |
**Manages configuration of a PIM instance.** |
| 9 |
|
| 10 |
|
| 11 |
Version added: 1.0.0 |
| 12 |
|
| 13 |
.. contents:: |
| 14 |
:local: |
| 15 |
:depth: 1 |
| 16 |
|
| 17 |
|
| 18 |
Synopsis |
| 19 |
-------- |
| 20 |
- Manages configuration of a Protocol Independent Multicast (PIM) instance. |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
Parameters |
| 26 |
---------- |
| 27 |
|
| 28 |
.. raw:: html |
| 29 |
|
| 30 |
<table border=0 cellpadding=0 class="documentation-table"> |
| 31 |
<tr> |
| 32 |
<th colspan="1">Parameter</th> |
| 33 |
<th>Choices/<font color="blue">Defaults</font></th> |
| 34 |
<th width="100%">Comments</th> |
| 35 |
</tr> |
| 36 |
<tr> |
| 37 |
<td colspan="1"> |
| 38 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 39 |
<b>bfd</b> |
| 40 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 41 |
<div style="font-size: small"> |
| 42 |
<span style="color: purple">string</span> |
| 43 |
</div> |
| 44 |
</td> |
| 45 |
<td> |
| 46 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 47 |
<li>enable</li> |
| 48 |
<li>disable</li> |
| 49 |
</ul> |
| 50 |
</td> |
| 51 |
<td> |
| 52 |
<div>Enables BFD on all PIM interfaces.</div> |
| 53 |
<div>Dependency: ''feature bfd''</div> |
| 54 |
</td> |
| 55 |
</tr> |
| 56 |
<tr> |
| 57 |
<td colspan="1"> |
| 58 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 59 |
<b>ssm_range</b> |
| 60 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 61 |
<div style="font-size: small"> |
| 62 |
<span style="color: purple">list</span> |
| 63 |
/ <span style="color: purple">elements=string</span> |
| 64 |
</div> |
| 65 |
</td> |
| 66 |
<td> |
| 67 |
<b>Default:</b><br/><div style="color: blue">[]</div> |
| 68 |
</td> |
| 69 |
<td> |
| 70 |
<div>Configure group ranges for Source Specific Multicast (SSM). Valid values are multicast addresses or the keyword <code>none</code> or keyword <code>default</code>. <code>none</code> removes all SSM group ranges. <code>default</code> will set ssm_range to the default multicast address. If you set multicast address, please ensure that it is not the same as the <code>default</code>, otherwise use the <code>default</code> option.</div> |
| 71 |
</td> |
| 72 |
</tr> |
| 73 |
</table> |
| 74 |
<br/> |
| 75 |
|
| 76 |
|
| 77 |
Notes |
| 78 |
----- |
| 79 |
|
| 80 |
.. note:: |
| 81 |
- Unsupported for Cisco MDS |
| 82 |
- For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>` |
| 83 |
- For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>` |
| 84 |
- For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_. |
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
Examples |
| 89 |
-------- |
| 90 |
|
| 91 |
.. code-block:: yaml |
| 92 |
|
| 93 |
- name: Configure ssm_range, enable bfd |
| 94 |
cisco.nxos.nxos_pim: |
| 95 |
bfd: enable |
| 96 |
ssm_range: 224.0.0.0/8 |
| 97 |
|
| 98 |
- name: Set to default |
| 99 |
cisco.nxos.nxos_pim: |
| 100 |
ssm_range: default |
| 101 |
|
| 102 |
- name: Remove all ssm group ranges |
| 103 |
cisco.nxos.nxos_pim: |
| 104 |
ssm_range: none |
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
Return Values |
| 109 |
------------- |
| 110 |
Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module: |
| 111 |
|
| 112 |
.. raw:: html |
| 113 |
|
| 114 |
<table border=0 cellpadding=0 class="documentation-table"> |
| 115 |
<tr> |
| 116 |
<th colspan="1">Key</th> |
| 117 |
<th>Returned</th> |
| 118 |
<th width="100%">Description</th> |
| 119 |
</tr> |
| 120 |
<tr> |
| 121 |
<td colspan="1"> |
| 122 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 123 |
<b>commands</b> |
| 124 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 125 |
<div style="font-size: small"> |
| 126 |
<span style="color: purple">list</span> |
| 127 |
</div> |
| 128 |
</td> |
| 129 |
<td>always</td> |
| 130 |
<td> |
| 131 |
<div>commands sent to the device</div> |
| 132 |
<br/> |
| 133 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 134 |
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['ip pim bfd', 'ip pim ssm range 224.0.0.0/8']</div> |
| 135 |
</td> |
| 136 |
</tr> |
| 137 |
</table> |
| 138 |
<br/><br/> |
| 139 |
|
| 140 |
|
| 141 |
Status |
| 142 |
------ |
| 143 |
|
| 144 |
|
| 145 |
Authors |
| 146 |
~~~~~~~ |
| 147 |
|
| 148 |
- Gabriele Gerbino (@GGabriele) |