Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Timothy_Hall
Champion
Champion

"asg command" vs. "asg_command"

This may seem like a silly question, but on SP/Maestro is there any rhyme or reason to why some asg commands are separated with spaces while others seem to use underscores between arguments?  Example: "asg perf" vs. "asg_info".  Is the use of the "_" with asg* just optional now and spaces can just be used?  If so can someone elaborate on how this came to be?  The history of Scalable Platforms is not my strong suit...but this question is specific to Maestro.

New 2021 IPS/AV/ABOT Immersion Self-Guided Video Series
now available at http://www.maxpowerfirewalls.com
0 Kudos
4 Replies
Danny
Champion
Champion

asg and asg_ are two different things. Therefore the use of the "_" with asg* is NOT optional.

Some asg_[TAB] commands scripts are useful but they are mainly scripts used in the background by the system (example: asg diag). These scripts are actively developed by Check Point and new asg_[TAB] scripts are often deployed on system updates (JHF updates and major release updates).

The classicasg[ENTER] options are more and more changed into Gclish commands. They are intended to be run on the CLI by an admin.

0 Kudos
Roman_Dario_Per
Employee
Employee

The most commands for asg_ is for static output like routes, interfaces bonds, also works to collect some information like asg_info etc...

 

asg with space is active command it does mean is on live like asg monitor 

0 Kudos
Martin_Raska
Advisor

Why we cannot have just normal commands which could be aliases like show something? We need to remember what commands are in clish, in expert and what is and what is not with underscore _

eg. for maintrain: show security-gateway ...

it took so many years to create this simplicity, byt we finally have it. So my question is: Why we don't have normal commands (easy to remember and with help like ?) for Maestro?

0 Kudos
Lari_Luoma
Employee
Employee

Our long term goal is to unify the command sets in Maestro and regular gateways as much as possible. All Gaia commands work in Maestro, but due to Maestro's clustering technology, there are still some features that require special commands. They are usually something that needs to collect information from the entire system.
Also us who have worked with Scalable Platforms since it was first released about 10 years ago have used to use commands like asg diag verify even you could achieve the same with regular Gaia commands as well. In the future releases you will see fewer and fewer asg commands and more regular Gaia commands.

0 Kudos