:source: fortiswitch_switch_global.py :orphan: .. fortiswitch_switch_global: fortiswitch_switch_global -- Configure global settings in Fortinet's FortiSwitch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.0.0 .. contents:: :local: :depth: 1 Synopsis -------- - This module is able to configure a FortiSwitch device by allowing the user to set and modify switch feature and global category. Examples include all parameters and values need to be adjusted to datasources before usage. Tested with FOS v7.0.0 Requirements ------------ The below requirements are needed on the host that executes this module. - ansible>=2.16 FortiSwitch Version Compatibility --------------------------------- .. raw:: html
Supported Version Ranges
fortiswitch_switch_global v7.0.0 -> 7.4.3

Parameters ---------- .. raw:: html

Examples -------- .. code-block:: yaml+jinja - name: Configure global settings. fortinet.fortiswitch.fortiswitch_switch_global: switch_global: access_vlan_mode: "legacy" auto_fortilink_discovery: "enable" auto_isl: "enable" auto_isl_port_group: "6" auto_stp_priority: "enable" bpdu_learn: "enable" dhcp_snooping_database_export: "enable" dmi_global_all: "enable" flapguard_retain_trigger: "enable" flood_unknown_multicast: "enable" flood_vtp: "enable" forti_trunk_dmac: "" fortilink_heartbeat_timeout: "15" fortilink_p2p_native_vlan: "16" fortilink_p2p_tpid: "17" fortilink_vlan_optimization: "enable" ip_mac_binding: "enable" l2_memory_check: "enable" l2_memory_check_interval: "21" log_mac_limit_violations: "enable" loop_guard_tx_interval: "23" mac_address: "24" mac_address_algorithm: "auto" mac_aging_interval: "26" mac_violation_timer: "27" max_path_in_ecmp_group: "28" mclag_igmpsnooping_aware: "enable" mclag_peer_info_timeout: "30" mclag_port_base: "31" mclag_split_brain_all_ports_down: "disable" mclag_split_brain_detect: "enable" mclag_split_brain_priority: "34" mclag_stp_aware: "enable" mirror_qos: "36" name: "default_name_37" poe_alarm_threshold: "38" poe_guard_band: "39" poe_power_budget: "40" poe_power_mode: "priority" poe_pre_standard_detect: "enable" port_security: link_down_auth: "set-unauth" mab_entry_as: "static" mab_reauth: "disable" mac_called_station_delimiter: "hyphen" mac_calling_station_delimiter: "hyphen" mac_case: "uppercase" mac_password_delimiter: "hyphen" mac_username_delimiter: "hyphen" max_reauth_attempt: "52" quarantine_vlan: "disable" reauth_period: "54" tx_period: "55" storm_control_high_rate: "56" storm_control_monitor: "enable" storm_control_rate_filter: "58" trunk_hash_mode: "default" trunk_hash_unicast_src_port: "enable" trunk_hash_unkunicast_src_dst: "enable" virtual_wire_tpid: "62" vlan_pruning: "enable" vxlan_dport: "64" vxlan_port: "65" vxlan_sport: "32767" vxlan_stp_virtual_mac: "" vxlan_stp_virtual_root: "enable" Return Values ------------- Common return values are documented: https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values, the following are the fields unique to this module: .. raw:: html Status ------ - This module is not guaranteed to have a backwards compatible interface. Authors ------- - Link Zheng (@chillancezen) - Jie Xue (@JieX19) - Hongbin Lu (@fgtdev-hblu) - Frank Shen (@frankshen01) - Miguel Angel Munoz (@mamunozgonzalez) .. hint:: If you notice any issues in this documentation, feel free to create a pull request to improve it.