Hot!move configuration of an interface to another interface

Author
yas13899
New Member
  • Total Posts : 3
  • Scores: 0
  • Reward points: 0
  • Joined: 2018/12/08 03:11:38
  • Status: offline
2020/11/21 22:03:46 (permalink)
0

move configuration of an interface to another interface

Hello...
currently I'm using port2 as my LAN interface.. But to get the benefit of the higher speed I want to use X1 port as my LAN interface.
Is there a way to move/migrate the configuration to the new port without having to start from scratch?
 
Thanks
 
#1

5 Replies Related Threads

    Toshi Esumi
    Expert Member
    • Total Posts : 2339
    • Scores: 227
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: online
    Re: move configuration of an interface to another interface 2020/11/22 10:24:28 (permalink)
    5 (1)
    The easiest way is to download the entire config, search&replace all "port2" to "X1", then upload the modified config file. Be aware that it would reboot at that time.
    #2
    Toshi Esumi
    Expert Member
    • Total Posts : 2339
    • Scores: 227
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: online
    Re: move configuration of an interface to another interface 2020/11/22 10:29:41 (permalink)
    5 (1)
    Of course, don't replace the physical "port2" config.
    #3
    yas13899
    New Member
    • Total Posts : 3
    • Scores: 0
    • Reward points: 0
    • Joined: 2018/12/08 03:11:38
    • Status: offline
    Re: move configuration of an interface to another interface 2020/11/23 01:48:03 (permalink)
    0
    Thank you :)
     
    #4
    rwpatterson
    Expert Member
    • Total Posts : 8521
    • Scores: 207
    • Reward points: 0
    • Joined: 2006/08/08 10:08:18
    • Location: Long Island, New York, USA
    • Status: online
    Re: move configuration of an interface to another interface 2020/11/23 05:25:32 (permalink)
    0
    There are caveats with this. I just finished moving my access from an interface port to a trunk port to get the same increased bandwidth. Before I could move any policies, I had to move the address entities. Can't do that because they're being used in policies... So I:
    1) Created duplicate address entities with "- VLAN" on the end
    2) Trunked the VLAN to the trunk port
    3) Amended the policies to the new trunk VLAN and the new address entity
    4) Cleaned out the old address entities
    5) Renamed the new to what the old were
     
    Took some time, but aside from the short move over time, there was no reboot involved.
     
    My two cents

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


    -5.0.14-b0323
    FWF81CM (1)
     
    -4.3.19-b0694
    FWF80CM (2)
    FWF81CM (2)
     
    #5
    boneyard
    Gold Member
    • Total Posts : 364
    • Scores: 16
    • Reward points: 0
    • Joined: 2014/07/30 11:15:18
    • Status: offline
    Re: move configuration of an interface to another interface 2020/11/23 09:45:27 (permalink)
    0
    using zones instead of actual interfaces helps a lot to prevent having to do a lot of such renaming / moving.
    #6
    Jump to:
    © 2020 APG vNext Commercial Version 5.5