PARALLAX

fortios_system_switch_interface

Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_system_switch_interface

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

NameTypeRequiredDefaultDescription
access_tokenstr
enable_logboolfalse
member_pathstr
member_statestr
statestryes
system_switch_interfacedict
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_switch_interface:
    access_token: '{{ fortios_access_token }}'
    state: present
    system_switch_interface:
        intra_switch_policy: implicit
        mac_ttl: "300"
        name: default_name_7
        span: disable
        span_direction: rx
        type: switch
    vdom: root
  name: Configure software switch interfaces by grouping physical and WiFi interfaces.
Search
    ↑ ↓ move↵ openesc close