fortios_router_bgp
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_router_bgp
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| router_bgp | dict | |||
| vdom | str | root |
Example
yaml
- fortinet.fortios.fortios_router_bgp:
router_bgp:
additional_path: enable
additional_path_select: "2"
additional_path_select_vpnv4: "2"
additional_path_select_vpnv6: "2"
additional_path_select6: "2"
additional_path_vpnv4: enable
additional_path_vpnv6: enable
additional_path6: enable
admin_distance:
- distance: "0"
id: "13"
aggregate_address:
- as_set: enable
id: "18"
summary_only: enable
aggregate_address6:
- as_set: enable
id: "23"
summary_only: enable
always_compare_med: enable
bestpath_as_path_ignore: enable
bestpath_cmp_confed_aspath: enable
bestpath_cmp_routerid: enable
bestpath_med_confed: enable
bestpath_med_missing_as_worst: enable
client_to_client_reflection: enable
confederation_identifier: "0"
cross_family_conditional_adv: enable
dampening: enable
dampening_max_suppress_time: "60"
dampening_reachability_half_life: "15"
dampening_reuse: "750"
dampening_suppress: "2000"
dampening_unreachability_half_life: "15"
default_local_preference: "100"
deterministic_med: enable
distance_external: "20"
distance_internal: "200"
distance_local: "200"
ebgp_multipath: enable
enforce_first_as: enable
fast_external_failover: enable
graceful_end_on_timer: enable
graceful_restart: enable
graceful_restart_time: "120"
graceful_stalepath_time: "360"
graceful_update_delay: "120"
holdtime_timer: "180"
ibgp_multipath: enable
ignore_optional_capability: enable
keepalive_timer: "60"
log_neighbour_changes: enable
multipath_recursive_distance: enable
neighbor_group:
- activate: enable
activate_evpn: enable
activate_vpnv4: enable
activate_vpnv6: enable
activate6: enable
additional_path: send
additional_path_vpnv4: send
additional_path_vpnv6: send
additional_path6: send
adv_additional_path: "2"
adv_additional_path_vpnv4: "2"
adv_additional_path_vpnv6: "2"
adv_additional_path6: "2"
advertisement_interval: "30"
allowas_in: "3"
allowas_in_enable: enable
allowas_in_enable_evpn: enable
allowas_in_enable_vpnv4: enable
allowas_in_enable_vpnv6: enable
allowas_in_enable6: enable
allowas_in_evpn: "3"
allowas_in_vpnv4: "3"
allowas_in_vpnv6: "3"
allowas_in6: "3"
as_override: enable
as_override6: enable
attribute_unchanged: as-path
attribute_unchanged_vpnv4: as-path
attribute_unchanged_vpnv6: as-path
attribute_unchanged6: as-path
bfd: enable
capability_default_originate: enable
capability_default_originate6: enable
capability_dynamic: enable
capability_graceful_restart: enable
capability_graceful_restart_evpn: enable
capability_graceful_restart_vpnv4: enable
capability_graceful_restart_vpnv6: enable
capability_graceful_restart6: enable
capability_orf: none
capability_orf6: none
capability_route_refresh: enable
connect_timer: "4294967295"
dont_capability_negotiate: enable
ebgp_enforce_multihop: enable
ebgp_multihop_ttl: "255"
holdtime_timer: "4294967295"
keep_alive_timer: "4294967295"
link_down_failover: enable
local_as_no_prepend: enable
local_as_replace_as: enable
maximum_prefix: "0"
maximum_prefix_evpn: "0"
maximum_prefix_threshold: "75"
maximum_prefix_threshold_evpn: "75"
maximum_prefix_threshold_vpnv4: "75"
maximum_prefix_threshold_vpnv6: "75"
maximum_prefix_threshold6: "75"
maximum_prefix_vpnv4: "0"
maximum_prefix_vpnv6: "0"
maximum_prefix_warning_only: enable
maximum_prefix_warning_only_evpn: enable
maximum_prefix_warning_only_vpnv4: enable
maximum_prefix_warning_only_vpnv6: enable
maximum_prefix_warning_only6: enable
maximum_prefix6: "0"
name: default_name_325
next_hop_self: enable
next_hop_self_rr: enable
next_hop_self_rr6: enable
next_hop_self_vpnv4: enable
next_hop_self_vpnv6: enable
next_hop_self6: enable
override_capability: enable
passive: enable
remove_private_as: enable
remove_private_as_evpn: enable
remove_private_as_vpnv4: enable
remove_private_as_vpnv6: enable
remove_private_as6: enable
restart_time: "0"
retain_stale_time: "0"
route_reflector_client: enable
route_reflector_client_evpn: enable
route_reflector_client_vpnv4: enable
route_reflector_client_vpnv6: enable
route_reflector_client6: enable
route_server_client: enable
route_server_client_evpn: enable
route_server_client_vpnv4: enable
route_server_client_vpnv6: enable
route_server_client6: enable
rr_attr_allow_change: enable
rr_attr_allow_change_evpn: enable
rr_attr_allow_change_vpnv4: enable
rr_attr_allow_change_vpnv6: enable
rr_attr_allow_change6: enable
send_community: standard
send_community_evpn: standard
send_community_vpnv4: standard
send_community_vpnv6: standard
send_community6: standard
shutdown: enable
soft_reconfiguration: enable
soft_reconfiguration_evpn: enable
soft_reconfiguration_vpnv4: enable
soft_reconfiguration_vpnv6: enable
soft_reconfiguration6: enable
stale_route: enable
strict_capability_match: enable
weight: "4294967295"
neighbor_range:
- id: "399"
max_neighbor_num: "0"
neighbor_range6:
- id: "404"
max_neighbor_num: "0"
network:
- backdoor: enable
id: "410"
network_import_check: global
network_import_check: enable
network6:
- backdoor: enable
id: "418"
network_import_check: global
recursive_inherit_priority: enable
recursive_next_hop: enable
redistribute:
- name: default_name_425
status: enable
redistribute6:
- name: default_name_429
status: enable
scan_time: "60"
synchronization: enable
tag_resolve_mode: disable
vdom: root
name: Configure BGP.