▲ 3 r/fortinet
How do I remove the initial-config VLAN's (quarantine, _default, rspan, etc) from FortiLink?
The templates are referenced by the vlans, but the vlan's don't appear to have any way to be deleted.
mobileftg (core) $ conf switch-controller initial-config template
mobileftg (template) $ show
config switch-controller initial-config template
edit "_default"
set vlanid 1
next
edit "quarantine"
set vlanid 4093
set dhcp-server enable
next
edit "rspan"
set vlanid 4092
set dhcp-server enable
next
edit "voice"
set vlanid 4091
next
edit "video"
set vlanid 4090
next
edit "onboarding"
set vlanid 4089
next
edit "nac_segment"
set vlanid 4088
set dhcp-server enable
next
end
mobileftg (template) $ end
mobileftg (core) $ diag sys cmdb refcnt show switch-controller.initial-config.template.name "voice"
entry used by complex switch-controller.initial-config.vlans:voice (From VDOM: 'core')
mobileftg (core) $ conf switch-controller initial-config vlans
mobileftg (vlans) $ show f
config switch-controller initial-config vlans
set default-vlan "_default"
set quarantine "quarantine"
set rspan "rspan"
set voice "voice"
set video "video"
set nac "onboarding"
set nac-segment "nac_segment"
end
mobileftg (vlans) $
set Modify value.
unset Set to default value.
get Get dynamic and system information.
show Show configuration.
abort End and discard last config.
end End and save last config.
mobileftg (vlans) $ end
mobileftg (core) $ get sys status
Version: FortiGate-60F v7.2.8,build1639,240313 (GA.M)
u/nardstorm — 1 day ago