Description | This article describes how to remove the interface named 'default' on any of 7.x FortiOS versions |
Scope | FortiGate v7.0.x, v7.2.x and 7.4.x. |
Solution |
After upgrading from v6.x to any of the 7.x versions, if an interface named 'default' is configured on v6.x, and if the interface is still with the name 'default' after the upgrade, it is not possible to edit or delete the interface from CLI.
Below is an example of an interface named "default" on FortiOS 7.0.13:
config system interface edit "default" set vdom "root" set ip x.x.x.x y.y.y.y set allowaccess ping https set role wan set interface <interface_name> set vlanid 1 next end
When trying to edit or delete the interface named 'default', will receive the below outputs:
config system interface edit "default" The input 'default' can't be interface name node_check_object fail! for name default
value parse error before 'default' Command fail. Return code -651
config system interface delete "default" The input 'default' can't be interface name node_check_object fail! for name default
value parse error before 'default' Command fail. Return code -651
As per the above outputs, is not possible to edit and delete the interface from CLI.
To remove the interface named 'default', schedule a maintenance window, rename the interface along with the references, and restore the updated configuration on the FortiGate. |
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.