cisco.nxos.nxos_igmp_snooping (7.0.0) — module

Manages IGMP snooping global configuration.

| "added in version" 1.0.0 of cisco.nxos"

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

Install collection

Install with ansible-galaxy collection install cisco.nxos:==7.0.0


Add to requirements.yml

  collections:
    - name: cisco.nxos
      version: 7.0.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
- cisco.nxos.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
- cisco.nxos.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.
    type: str

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).
    type: str

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