fortios_switch_controller_stp_settings
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_stp_settings
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 | |||
| switch_controller_stp_settings | dict | |||
| vdom | str | root |
Example
yaml
- fortinet.fortios.fortios_switch_controller_stp_settings:
switch_controller_stp_settings:
forward_time: "15"
hello_time: "2"
max_age: "20"
max_hops: "20"
name: default_name_7
pending_timer: "4"
revision: "0"
status: enable
vdom: root
name: Configure FortiSwitch spanning tree protocol (STP).