hi,
is it possible to configure continously using CLI instead of type 'end' in each configuration section.
for example, after i've configured mgmt ip i can go straight to 'config router static' and type 'end' after the mgmt and static default route are configured? or will the system reject it?
edit - i just tried and indeed rejected the command when i go straight to 'config router static'
is there a way to type commands continuously or is it required typing 'end' each config section?
FG# config system interface
FG(interface) # edit mgmt
FG(mgmt) # set ip 192.168.200.202/24
FG(mgmt) # set allowaccess ping ssh https
FG(mgmt) # end <<< CAN I SKIP THIS?
FG # config router static
FG(static) # edit 99
new entry '99' added
FG(99) # set dst 0.0.0.0/0
FG(99) # set gateway 192.168.200.1
FG(99) # set device mgmt
FG(99) # end
-----
FG(mgmt) # set allowaccess ping ssh https
FG(mgmt) # config router static
command parse error before 'router'
Command fail. Return code 1
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
I think no, "end" tag tell the system to finish your configuration for that section, unless you want to continue to config other same level object you can use "next" to continue, otherwise end tag must be used.
in your case you typed FG(mgmt) # config router static , this is in "mgmt " and this cli is invalid since it does not exist there.
I think no, "end" tag tell the system to finish your configuration for that section, unless you want to continue to config other same level object you can use "next" to continue, otherwise end tag must be used.
in your case you typed FG(mgmt) # config router static , this is in "mgmt " and this cli is invalid since it does not exist there.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1517 | |
1013 | |
749 | |
443 | |
209 |
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.