eos_staticroute

Synopsis

Added in version 1.2.0

The eos_staticroute module manages static route configuration options on Arista EOS nodes.

Options

parameter required default choices comments
distance no 1
    Distance designated for this route
    (added in 1.2.0)
    ip_dest yes
      Destination IP address
      (added in 1.2.0)
      next_hop yes
        Next hop IP address or egress interface
        (added in 1.2.0)
        next_hop_ip no
          IP address of the next router. Only valid when next_hop is an egress interface
          (added in 1.2.0)
          route_name no
            Descriptive name for the route
            (added in 1.2.0)
            tag no
              Tag assigned for the route
              (added in 1.2.0)

              Important

              Requires Arista EOS 4.13.7M or later with command API enabled

              Important

              Requires Python Client for eAPI 0.4.0 or later

              Examples


              - eos_staticroute: ip_dest=1.1.1.0/24 next_hop=Ethernet1
                                 next_hop_ip=1.1.1.1 distance=1
                                 tag=15 name=route1
              

              Note

              All configuration is idempotent unless otherwise specified

              Note

              Supports eos metaparameters for using the eAPI transport

              Note

              Supports stateful resource configuration.