ansible.builtin.nxos_igmp_snooping (v2.9.0) — module

Manages IGMP snooping global configuration.

| "added in version" 2.2 of ansible.builtin"

Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.9.0

Description

Manages IGMP snooping global configuration.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# ensure igmp snooping params supported in this module are in there default state
- nxos_igmp_snooping:
    state: default
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# ensure following igmp snooping params are in the desired state
- nxos_igmp_snooping:
   group_timeout: never
   snooping: true
   link_local_grp_supp: false
   optimize_mcast_flood: false
   report_supp: true
   v3_report_supp: true

Inputs

    
state:
    choices:
    - present
    - default
    default: present
    description:
    - Manage the state of the resource.

snooping:
    description:
    - Enables/disables IGMP snooping on the switch.
    type: bool

report_supp:
    description:
    - Global IGMPv1/IGMPv2 Report Suppression.
    type: bool

group_timeout:
    description:
    - Group membership timeout value for all VLANs on the device. Accepted values are
      integer in range 1-10080, I(never) and I(default).

v3_report_supp:
    description:
    - Global IGMPv3 Report Suppression and Proxy Reporting.
    type: bool

link_local_grp_supp:
    description:
    - Global link-local groups suppression.
    type: bool

Outputs

commands:
  description: command sent to the device
  returned: always
  sample:
  - ip igmp snooping link-local-groups-suppression
  - ip igmp snooping group-timeout 50
  - no ip igmp snooping report-suppression
  - no ip igmp snooping v3-report-suppression
  - no ip igmp snooping
  type: list