cisco.nxos.nxos_igmp (7.0.0) — module

Manages IGMP 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 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)
  cisco.nxos.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
  cisco.nxos.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
  cisco.nxos.nxos_igmp:
    restart: true

Inputs

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

restart:
    default: false
    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