Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
darrencarr
New Contributor II

Renaming a VLAN interface

Hi All I want to rename a VLAN interface (MCI-INTERNET) but cannot do it in the GUI. Is there anyway you can do this in the CLI? Cheers D
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
14 REPLIES 14
darrencarr

Guys Thanks for all of the valuable input... As Bob says... far too easy... Cheers Darren
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
darrencarr
New Contributor II

Ok, so out of hours I tried renaming my VLAN interface but got this error? I am using FortiOS 3 MR7 (Patch1) Any ideas? Thanks Darren
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
rwpatterson
Valued Contributor III

I received the same error renaming my IPSec Phase1-interfaces. Turned out there were OSPF interfaces attached which couldn' t be renamed. Go through the config with a fine toothed comb. Search under the old name and see what shows up. Something may have been left behind. Also compare a before backup and see if anything disappeared after the change.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

Bob - self proclaimed posting junkie!See my Fortigate related scripts at: http://fortigate.camerabob.com
darrencarr

Hi Bob I experienced the same issue when attempting to rename a IPSec virtual interface in my test lab. In the end I did this in the GUI (renamed the phase 1 and phase 2) components. The tunnel did drop however between the two firewalls. The interface I got the error on is a simple VLAN interface that is connected via physical port 8 on my Fortigate 1000A. I really don' t want to go through the config file renaming all instances of the VLAN interface and then reloading, it must be easier than this. As you can see from the image there are a number of virtual interfaces off the physical port 8. They are: 3 x VLAN interfaces (including one I am trying to rename) 2 x IPSec interfaces (which are based on two of the above VLAN interfaces) The one I am trying to rename has no association with any of the IPSec interfaces? I am confused??? D
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Fortigate 1000A v4.0,build194,100121 (MR1 Patch 4) Fortianalyzer 800B v4.0,build0130 (MR1 Patch 3)
Not applicable

I think the safest way would be to edit the config file and rename all old VLAN name occurrence. -J.
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors