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 vlan-support [enable | disable]
config member 
edit <name1> 
set type [ aggregate | physical | vap]
set port
set vids {1-4089}
set pvid {1-4089} 
next
end
set stp [enable | disable]
unset
next
show
abort
end
delete <name>
purge
show
end
Sample command:
FXW30FTF23000019 # config system switch-interface
FXW30FTF23000019 (switch-interface) # show
config system switch-interface
edit sw1
set vlan-support enable
config member
edit agg
set type aggregate
set port aggw
set vids 22 33 11
set pvid 0
next
edit wifi
set type vap
set vap vap2
set pvid 22
next
end
set stp disable
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 vlan-support [enable | disable]
config member 
edit <name1> 
set type [ aggregate | physical | vap]
set port
set vids {1-4089}
set pvid {1-4089} 
next
end
set stp [enable | disable]
unset
next
show
abort
end
delete <name>
purge
show
end
Sample command:
FXW30FTF23000019 # config system switch-interface
FXW30FTF23000019 (switch-interface) # show
config system switch-interface
edit sw1
set vlan-support enable
config member
edit agg
set type aggregate
set port aggw
set vids 22 33 11
set pvid 0
next
edit wifi
set type vap
set vap vap2
set pvid 22
next
end
set stp disable
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.