.. _junos_pmtud: junos_pmtud - Perform path MTU discovery on junos devices +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ :Author: Martin Komon .. contents:: :local: :depth: 1 Synopsis -------- .. versionadded:: 2.4 perform path MTU discovery on junos devices Options ------- .. raw:: html
parameter required default choices comments
dest_ip yes
    Destination IPv4 address or hostname
    interface no
      Interface used to send traffic out
      max_range no 512
        Max range of path MTU discovery. Must be 2^n.
        max_size no 1472
          Start and max size for path MTU discovery.
          mode no None
            mode of console connection (telnet/serial). If mode is not provided SSH connection is used.
            passwd no assumes ssh-key active
              Login password
              port no 830
                port number to use when connecting to the device
                routing_instance no
                  Name of the routing instance to use to send the ping
                  source_ip no
                    Source IPv4 address used to send the ping
                    ssh_private_key_file no None
                      This can be used if you need to provide a private key rather than loading the key into the ssh-key-ring/environment. if your ssh-key requires a password, then you must provide it via **passwd**
                      timeout no 0
                        Extend the NETCONF RPC timeout beyond the default value of 30 seconds. Set this value to accommodate pings that might take longer than the default timeout interval.
                        user no $USER
                          Login username
                          .. note:: Requires junos-eznc >= 1.2.2 Examples -------- .. raw:: html
                          :: # Simple example tasks: - name: "Check MTU on backup circuit" junos_pmtud: host={{ junos_host }} port={{ netconf_port }} user={{ ansible_ssh_user }} passwd={{ ansible_ssh_pass }} dest_ip=8.8.8.8 # Using more parameters tasks: - name: "Check MTU on backup circuit" junos_pmtud: host={{ junos_host }} port={{ netconf_port }} user={{ ansible_ssh_user }} passwd={{ ansible_ssh_pass }} dest_ip=8.8.8.8 routing_instance=internet max_range=128