Newbie question Re: CLI/edit

Author
Mannyc
New Member
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2018/12/06 11:02:12
  • Status: offline
2018/12/06 11:09:00 (permalink)
0

Newbie question Re: CLI/edit

Hello all
Please excuse me for my very limited knowledge - I am here to learn
I was trying some basic things and by mistake I typed "edit mgmt."
and I guess it created a new...table?
so how do I delete it (or even list table names)??
thank you
#1

4 Replies Related Threads

    SgtMalicious
    Bronze Member
    • Total Posts : 19
    • Scores: 6
    • Reward points: 0
    • Joined: 2013/12/17 16:10:14
    • Status: offline
    Re: Newbie question Re: CLI/edit 2018/12/06 12:56:54 (permalink)
    5 (1)
    Kind of depends on where you are in the command structure as to what you've just done. For all we know you just started to edit an address entry. Check the CLI reference manual. It should cover everything you're looking for. https://docs.fortinet.com/fortigate/reference
    #2
    Toshi Esumi
    Expert Member
    • Total Posts : 1259
    • Scores: 89
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: offline
    Re: Newbie question Re: CLI/edit 2018/12/06 13:00:10 (permalink)
    5 (1)
    Depending on where you are in the config tree. If not too late just enter "abort".
    #3
    lobstercreed
    Bronze Member
    • Total Posts : 33
    • Scores: 0
    • Reward points: 0
    • Joined: 2018/11/28 14:57:58
    • Location: Sedalia, MO
    • Status: offline
    Re: Newbie question Re: CLI/edit 2018/12/06 13:04:05 (permalink)
    0
    Have you tried using context-sensitive help?  (in other words, type a question mark to see available commands)
     
    The config is hierarchical, so if you go back to whatever menu you were in when typed that and type show it will display changes to the default configuration.  If you type get it should show the current configuration of the current object/table.  If you accidentally created a new object, you can usually get rid of it by going back to the same place and typing delete xxxx where xxxx is the object you created. 
     
    For example, config firewall address would take me to the firewall address configuration table.  edit Address001 would create a new address named Address001 and take me into its configuration table where I could do things like set subnet or set comment.  If I type next, it takes me back to the firewall address configuration table, if I type end it will save changes and take me back to the root.  If I want to delete the object, I can do so by getting back into the firewall address configuration table and typing delete Address001
    #4
    Mannyc
    New Member
    • Total Posts : 2
    • Scores: 0
    • Reward points: 0
    • Joined: 2018/12/06 11:02:12
    • Status: offline
    Re: Newbie question Re: CLI/edit 2018/12/07 04:27:06 (permalink)
    0
    I want to thank you all
    that was very helpful
    #5
    Jump to:
    © 2018 APG vNext Commercial Version 5.5