Debian Codegraph @

ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_igmp_snooping_module.rst

raw
1 .. _cisco.nxos.nxos_igmp_snooping_module:
2
3
4 *****************************
5 cisco.nxos.nxos_igmp_snooping
6 *****************************
7
8 **Manages IGMP snooping global configuration.**
9
10
11 Version added: 1.0.0
12
13 .. contents::
14 :local:
15 :depth: 1
16
17
18 Synopsis
19 --------
20 - Manages IGMP snooping global configuration.
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>group_timeout</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 </td>
47 <td>
48 <div>Group membership timeout value for all VLANs on the device. Accepted values are integer in range 1-10080, <em>never</em> and <em>default</em>.</div>
49 </td>
50 </tr>
51 <tr>
52 <td colspan="1">
53 <div class="ansibleOptionAnchor" id="parameter-"></div>
54 <b>link_local_grp_supp</b>
55 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
56 <div style="font-size: small">
57 <span style="color: purple">boolean</span>
58 </div>
59 </td>
60 <td>
61 <ul style="margin: 0; padding: 0"><b>Choices:</b>
62 <li>no</li>
63 <li>yes</li>
64 </ul>
65 </td>
66 <td>
67 <div>Global link-local groups suppression.</div>
68 </td>
69 </tr>
70 <tr>
71 <td colspan="1">
72 <div class="ansibleOptionAnchor" id="parameter-"></div>
73 <b>report_supp</b>
74 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
75 <div style="font-size: small">
76 <span style="color: purple">boolean</span>
77 </div>
78 </td>
79 <td>
80 <ul style="margin: 0; padding: 0"><b>Choices:</b>
81 <li>no</li>
82 <li>yes</li>
83 </ul>
84 </td>
85 <td>
86 <div>Global IGMPv1/IGMPv2 Report Suppression.</div>
87 </td>
88 </tr>
89 <tr>
90 <td colspan="1">
91 <div class="ansibleOptionAnchor" id="parameter-"></div>
92 <b>snooping</b>
93 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
94 <div style="font-size: small">
95 <span style="color: purple">boolean</span>
96 </div>
97 </td>
98 <td>
99 <ul style="margin: 0; padding: 0"><b>Choices:</b>
100 <li>no</li>
101 <li>yes</li>
102 </ul>
103 </td>
104 <td>
105 <div>Enables/disables IGMP snooping on the switch.</div>
106 </td>
107 </tr>
108 <tr>
109 <td colspan="1">
110 <div class="ansibleOptionAnchor" id="parameter-"></div>
111 <b>state</b>
112 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
113 <div style="font-size: small">
114 <span style="color: purple">string</span>
115 </div>
116 </td>
117 <td>
118 <ul style="margin: 0; padding: 0"><b>Choices:</b>
119 <li><div style="color: blue"><b>present</b>&nbsp;&larr;</div></li>
120 <li>default</li>
121 </ul>
122 </td>
123 <td>
124 <div>Manage the state of the resource.</div>
125 </td>
126 </tr>
127 <tr>
128 <td colspan="1">
129 <div class="ansibleOptionAnchor" id="parameter-"></div>
130 <b>v3_report_supp</b>
131 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
132 <div style="font-size: small">
133 <span style="color: purple">boolean</span>
134 </div>
135 </td>
136 <td>
137 <ul style="margin: 0; padding: 0"><b>Choices:</b>
138 <li>no</li>
139 <li>yes</li>
140 </ul>
141 </td>
142 <td>
143 <div>Global IGMPv3 Report Suppression and Proxy Reporting.</div>
144 </td>
145 </tr>
146 </table>
147 <br/>
148
149
150 Notes
151 -----
152
153 .. note::
154 - Tested against NXOSv 7.3.(0)D1(1) on VIRL
155 - Unsupported for Cisco MDS
156 - When ``state=default``, params will be reset to a default state.
157 - ``group_timeout`` also accepts *never* as an input.
158 - For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
159 - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
160 - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
161
162
163
164 Examples
165 --------
166
167 .. code-block:: yaml
168
169 # ensure igmp snooping params supported in this module are in there default state
170 - cisco.nxos.nxos_igmp_snooping:
171 state: default
172
173 # ensure following igmp snooping params are in the desired state
174 - cisco.nxos.nxos_igmp_snooping:
175 group_timeout: never
176 snooping: true
177 link_local_grp_supp: false
178 optimize_mcast_flood: false
179 report_supp: true
180 v3_report_supp: true
181
182
183
184 Return Values
185 -------------
186 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:
187
188 .. raw:: html
189
190 <table border=0 cellpadding=0 class="documentation-table">
191 <tr>
192 <th colspan="1">Key</th>
193 <th>Returned</th>
194 <th width="100%">Description</th>
195 </tr>
196 <tr>
197 <td colspan="1">
198 <div class="ansibleOptionAnchor" id="return-"></div>
199 <b>commands</b>
200 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
201 <div style="font-size: small">
202 <span style="color: purple">list</span>
203 </div>
204 </td>
205 <td>always</td>
206 <td>
207 <div>command sent to the device</div>
208 <br/>
209 <div style="font-size: smaller"><b>Sample:</b></div>
210 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;ip igmp snooping link-local-groups-suppression&#x27;, &#x27;ip igmp snooping group-timeout 50&#x27;, &#x27;no ip igmp snooping report-suppression&#x27;, &#x27;no ip igmp snooping v3-report-suppression&#x27;, &#x27;no ip igmp snooping&#x27;]</div>
211 </td>
212 </tr>
213 </table>
214 <br/><br/>
215
216
217 Status
218 ------
219
220
221 Authors
222 ~~~~~~~
223
224 - Jason Edelman (@jedelman8)
225 - Gabriele Gerbino (@GGabriele)