switch-controller : managed-switch
 
managed-switch
Use this command to configure a managed FortiSwitch unit.
Syntax
config switch-controller managed-switch
edit <switch_id>
set description <text_str>
set name <name_str>
set fsw-wan1-admin {enable | discovered | disable}
set fsw-wan2-admin {enable | discovered | disable}
set fsw-wan1-peer <port_str>
set fsw-wan2-peer <port_str>
config ports
edit <port-name>
set vlan <switch‑controller_vlan_name>
set speed <speed_str>
set status {up | down}
end
end
Variable
Description
Default
<switch_id>
Enter a number to identify this FortiSwitch unit.
No default.
description <text_str>
Optionally, enter a description.
No default.
name <name_str>
Enter a name to identify this switch
 
<port-name>
Enter the FortiSwitch port name, such as port1.
 
fsw-wan1-admin {enable | discovered | disable}
Set FortiSwitch WAN1 admin status.
 
fsw-wan2-admin {enable | discovered | disable}
Set FortiSwitch WAN2 admin status.
 
fsw-wan1-peer <port_str>
Set FortiSwitch WAN1 peer port.
 
fsw-wan2-peer <port_str>
Set FortiSwitch WAN2 peer port.
 
config ports variables
speed <speed_str>
Set port speed. Enter set speed ? to see a list of valid speed settings.
auto
status {up | down}
Set port status: up or down.
up
vlan <switch‑controller_vlan_name>
Enter the name of the VLAN to which this port belongs.
vsw.root
Read-only fields
dot1x-enable
 
 
dot1x-status
 
 
image-download progress