config system global
set internal-switch-mode switch
end
config system global
set internal-switch-mode interface
end
FWF90D3Z13xxxxxx (policy) # show
config firewall policy
edit 1
set uuid 1dac0956-0e3f-51e7-9b91-b653bdf8af55
set srcintf "lan"
set dstintf "wan1"
set srcaddr "all"
set dstaddr "all"
set action accept
set schedule "always"
set service "ALL"
set nat enable
next
end
FWF90D3Z13xxxxxx (policy) # purge ----{ Caution! This will remove all policies
This operation will clear all table!
Do you want to continue? (y/n)y
FWF90D3Z13xxxxxx # config system switch-interface
FWF90D3Z13xxxxxx (switch-interface) # edit lan
FWF90D3Z13xxxxxx (lan) # show
config system switch-interface
edit "lan"
set vdom "root"
set member "wifi" "internal"
next
end
FWF90D3Z13xxxxxx (lan) # set member wifi
FWF90D3Z13xxxxxx (lan) # end
FWF90D3Z13xxxxxx (switch-interface) # show
config system switch-interface
edit "lan"
set vdom "root"
set member "wifi"
next
end
FWF90D3Z13xxxxxx # config system virtual-switch
FWF90D3Z13xxxxxx (virtual-switch) # show
config system virtual-switch
edit "internal"
set physical-switch "sw0"
config port
edit "internal1"
next
edit "internal2"
next
edit "internal3"
next
edit "internal4"
next
edit "internal5"
next
edit "internal6"
next
edit "internal7"
next
edit "internal8"
next
edit "internal9"
next
edit "internal10"
next
edit "internal11"
next
edit "internal12"
next
edit "internal13"
next
edit "internal14"
next
end
next
end
FWF90D3Z13xxxxxx (virtual-switch) # purge ----{ Caution! This will remove all ports.
This operation will clear all table!
Do you want to continue? (y/n)y
FWF90D3Z13xxxxxx # config system virtual-switch
FWF90D3Z13xxxxxx (internal) # config port
FWF90D3Z13xxxxxx (port) #
FWF90D3Z13xxxxxx (port) # delete internal1
FWF90D3Z13xxxxxx (port) # end
Related Articles
Technical Note: Comparison of FortiGate Switch Mode configs between v5.2 and v5.4
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.