alliedtelesis.awplus.awplus_bgp (1.0.0) — module

Manages BGP configuration.

| "added in version" 2.9 of alliedtelesis.awplus"

Authors: Jeremy Toth (@jtsource), Cheng Yi Kok (@cyk19)

preview | supported by network

Install collection

Install with ansible-galaxy collection install alliedtelesis.awplus:==1.0.0


Add to requirements.yml

  collections:
    - name: alliedtelesis.awplus
      version: 1.0.0

Description

Manages BGP configurations on AlliedWare Plus switches.

Inputs

    
asn:
    description:
    - BGP autonomous system number. Valid values are String, Integer in ASPLAIN or ASDOT
      notation.
    required: true

vrf:
    description:
    - Name of the VRF. The name 'default' is a valid VRF representing the global BGP.

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Determines whether the config should be present or not on the device.

router_id:
    description:
    - Router Identifier (ID) of the BGP router VRF instance.

cluster_id:
    description:
    - Route Reflector Cluster-ID.

timer_bgp_hold:
    description:
    - Set BGP hold timer.

confederation_id:
    description:
    - Routing domain confederation AS.

enforce_first_as:
    description:
    - Enable/Disable enforces the neighbor autonomous system to be the first AS number
      listed in the AS path attribute for eBGP. On NX-OS, this property is only supported
      in the global BGP context.
    type: bool

graceful_restart:
    description:
    - Enable/Disable graceful restart.
    type: bool

bestpath_med_confed:
    description:
    - Enable/Disable enforcement of bestpath to do a MED comparison only between paths
      originated within a confederation.
    type: bool

confederation_peers:
    description:
    - AS confederation parameters.

timer_bgp_keepalive:
    description:
    - Set BGP keepalive timer.

bestpath_compare_routerid:
    description:
    - Enable/Disable comparison of router IDs for identical eBGP paths.
    type: bool

bestpath_always_compare_med:
    description:
    - Enable/Disable MED comparison on paths from different autonomous systems.
    type: bool

bestpath_med_missing_as_worst:
    description:
    - Enable/Disable assigns the value of infinity to received routes that do not carry
      the MED attribute, making these routes the least desirable.
    type: bool

graceful_restart_timers_restart:
    description:
    - Set maximum time for a restart sent to the BGP peer.

graceful_restart_timers_stalepath_time:
    description:
    - Set maximum time that BGP keeps the stale routes from the restarting BGP peer.

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always
  sample:
  - - router bgp 100
    - bgp router-id 192.0.2.4
  type: list