PARALLAX

fortios_switch_controller_mac_policy

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

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_switch_controller_mac_policy

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
switch_controller_mac_policydict
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_switch_controller_mac_policy:
    access_token: '{{ fortios_access_token }}'
    state: present
    switch_controller_mac_policy:
        bounce_port_duration: "5"
        bounce_port_link: disable
        count: disable
        drop: disable
        name: default_name_9
        poe_reset: disable
    vdom: root
  name: Configure MAC policy to be applied on the managed FortiSwitch devices through NAC device.
Search
    ↑ ↓ move↵ openesc close