Fortinet white logo
Fortinet white logo

CLI Reference

config switch-interface

config switch-interface

Description: Configure software switch devices.

config switch-interface

edit <name>

set members <name1>, <name2>, …

set stp [enable | disable]

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
FX201E5919000057 (switch-interface) # show
config system switch-interface
    edit 1
        set members lo
        set stp enable
    next
end
Parametrer Description Type Size Default
members Interfaces within the virtual switch. option - none
stp Spanning Tree Protocol. option - disable
Option Description
enable Enable Spanning Tree Protocol.
disable Disable Spanning Tree Protocol.

config switch-interface

config switch-interface

Description: Configure software switch devices.

config switch-interface

edit <name>

set members <name1>, <name2>, …

set stp [enable | disable]

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
FX201E5919000057 (switch-interface) # show
config system switch-interface
    edit 1
        set members lo
        set stp enable
    next
end
Parametrer Description Type Size Default
members Interfaces within the virtual switch. option - none
stp Spanning Tree Protocol. option - disable
Option Description
enable Enable Spanning Tree Protocol.
disable Disable Spanning Tree Protocol.