ansible.builtin.nxos_igmp (v2.8.11) — module

Manages IGMP 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.8.11

Description

Manages IGMP global configuration configuration settings.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Default igmp global params (all params except restart)
  nxos_igmp:
    state: default
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Ensure the following igmp global config exists on the device
  nxos_igmp:
    flush_routes: true
    enforce_rtr_alert: true
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Restart the igmp process
  nxos_igmp:
    restart: true

Inputs

    
state:
    choices:
    - present
    - default
    default: present
    description:
    - Manages desired state of the resource.

restart:
    description:
    - Restarts the igmp process (using an exec config command).
    type: bool

flush_routes:
    description:
    - Removes routes when the IGMP process is restarted. By default, routes are not flushed.
    type: bool

enforce_rtr_alert:
    description:
    - Enables or disables the enforce router alert option check for IGMPv2 and IGMPv3
      packets.
    type: bool

Outputs

updates:
  description: commands sent to the device
  returned: always
  sample:
  - ip igmp flush-routes
  type: list