community / community.general / 0.1.1 / module / pn_igmp_snooping CLI command to modify igmp-snooping Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communitycommunity.general.pn_igmp_snooping (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
This module can be used to modify Internet Group Management Protocol (IGMP) snooping.
- name: 'Modify IGMP Snooping' pn_igmp_snooping: pn_cliswitch: 'sw01' state: 'update' pn_vxlan: True pn_enable_vlans: '1-399,401-4092' pn_no_snoop_linklocal_vlans: 'none' pn_igmpv3_vlans: '1-399,401-4092'
- name: 'Modify IGMP Snooping' pn_igmp_snooping: pn_cliswitch: 'sw01' state: 'update' pn_vxlan: False pn_enable_vlans: '1-399' pn_no_snoop_linklocal_vlans: 'none' pn_igmpv3_vlans: '1-399'
state: choices: - update description: - State the action to perform. Use C(update) to modify the igmp-snooping. required: true type: str pn_scope: choices: - local - fabric description: - IGMP snooping scope - fabric or local. required: false pn_vxlan: description: - enable or disable IGMP snooping on vxlans. required: false type: bool pn_enable: description: - enable or disable IGMP snooping. required: false type: bool pn_cliswitch: description: - Target switch to run the CLI on. required: false type: str pn_enable_vlans: description: - enable per VLAN IGMP snooping. required: false type: str pn_igmpv2_vlans: description: - VLANs on which to use IGMPv2 protocol. required: false type: str pn_igmpv3_vlans: description: - VLANs on which to use IGMPv3 protocol. required: false type: str pn_query_interval: description: - IGMP query interval in seconds. required: false type: str pn_snoop_linklocal_vlans: description: - Allow snooping of link-local groups(224.0.0.0/24) on these vlans. required: false type: str pn_query_max_response_time: description: - maximum response time, in seconds, advertised in IGMP queries. required: false type: str pn_no_snoop_linklocal_vlans: description: - Remove snooping of link-local groups(224.0.0.0/24) on these vlans. required: false type: str
changed: description: indicates whether the CLI caused changes on the target. returned: always type: bool command: description: the CLI command run on the target node. returned: always type: str stderr: description: set of error responses from the igmp-snooping command. returned: on error type: list stdout: description: set of responses from the igmp-snooping command. returned: always type: list