Description
This article describes software switch intra-switch policy options.
Solution
Similar to a hardware switch, a software switch functions like a single interface.
Traffic between units connected to each interface are not regulated by security policies, and traffic passing in and out of the switch is affected by the same policy.
Note that to add an interface to a software switch, the interface cannot be referenced in the existing configuration. So change the role from LAN to Undefined, remove the object address associated with the interface, and then it can be added to the software switch (thanks to @mmfn42 for specification)
It must also have its IP address set to 0.0.0.0/0.0.0.0.
config system switch-interface
edit "vxlan-switch"
set vdom "root"
set member "lan1" "vxlan"
set intra-switch-policy implicit <- Default is ‘implicit’.
next
end
The config can only be changed from the CLI. Additionally, note that this change has to be applied during the time of initial creation of the switch interface. When created from the GUI, it automatically selects the intra-switch-policy setting to be 'implicit' as this is the default setting.
Once the switch interface has been created successfully, it will not be possible to change the 'intra-switch-policy' from implicit to explicit or vice-versa even from CLI.
An error like the following would appear:
intra-switch-policy cannot be changed once set.
object set operator error, 5 discard the setting
Command fail. Return code 5
Referring to the 'intra-switch-policy' command, there are two possibilities.
Set intra-switch-policy implicit.
Set intra-switch-policy explicit.
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.