'Multi-Tenancy' refers to the process of exporting FortiSwitch ports from a VDOM to another on FortiOS.
The following error is seen upon trying to rename a switch in a 'Multi-Tenancy' environment:
FGT-LAB (managed-switch) # rename S124FPTM12345678 to SwAcceso1
Multi tenancy parent switch S124FPTM12345678 cannot be renamed.
Command fail. Return code 1
This option is blocked because the configuration name in different VDOMS should match in configuration options.
The workaround is to 'un-export' all ports from VDOMs and then export them again.
config switch-controller managed-switch
edit <switch-id>
config ports
edit "portX"
unset export-to
next
end
next
end
Rename FortiSwitch:
config switch-controller managed-switch
rename <old-id> to <new-name>
end
And finally, export the FortiSwitch ports to VDOMs again.
|