AnsweredHot!unused interface

Author
suthomas1
Silver Member
  • Total Posts : 76
  • Scores: 0
  • Reward points: 0
  • Joined: 2014/05/07 06:08:23
  • Status: offline
2020/08/07 17:58:56 (permalink)
0

unused interface

Good day all,
 
we have some interface & zone that are not in use.
What is the best method to delete these & also checking on if it affects anything else.
 
 
post edited by suthomas1 - 2020/08/07 22:31:31
#1
lobstercreed
Gold Member
  • Total Posts : 292
  • Scores: 35
  • Reward points: 0
  • Joined: 2018/11/28 14:57:58
  • Location: Sedalia, MO
  • Status: offline
Re: unused interface 2020/08/08 18:46:59 (permalink) ☼ Best Answerby suthomas1 2020/08/09 04:23:59
5 (1)
You can see what references there are to any given interface/zone in the GUI at Network -> Interfaces.  You may have to add the Ref column.
#2
Yurisk
Silver Member
  • Total Posts : 100
  • Scores: 22
  • Reward points: 0
  • Joined: 2011/12/04 03:30:01
  • Status: offline
Re: unused interface 2020/08/09 08:11:15 (permalink) ☄ Helpfulby lobstercreed 2020/08/09 08:51:07
0
Additionally, you can check on CLI where it is used, say interface name "port1":
 
# show | grep por1 -f
 
#3
Dave Hall
Expert Member
  • Total Posts : 1724
  • Scores: 176
  • Reward points: 0
  • Joined: 2012/05/11 07:55:58
  • Location: Canada
  • Status: offline
Re: unused interface 2020/08/10 08:15:25 (permalink)
0
I suggest to just disable any unused physical interfaces rather then deleting them.  You never know what may happen during the firmware upgrade process when expect interfaces are not found.

NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
#4
rwpatterson
Expert Member
  • Total Posts : 8502
  • Scores: 207
  • Reward points: 0
  • Joined: 2006/08/08 10:08:18
  • Location: Long Island, New York, USA
  • Status: offline
Re: unused interface 2020/08/10 09:20:39 (permalink)
0
Additionally, nothing can be deleted if there are any references to them. A safety thing which can be a pain in the you-know-where when you're under the gun and trying to get things done in a hurry.

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

-4.3.19-b0694
FWF80CM (2)
FWF81CM (3)
 
#5
hidris
New Member
  • Total Posts : 3
  • Scores: 0
  • Reward points: 0
  • Joined: 2020/08/10 13:37:00
  • Status: offline
Re: unused interface 2020/08/10 13:45:49 (permalink)
0
Hi,
I would suggest you remove any default references, shutdown then add those interfaces to virtual-switch maybe which will help you view interface tab with the active one's only.
#6
Jump to:
© 2020 APG vNext Commercial Version 5.5