ccc - Common Check Point Commands - Check Point CheckMates
ccc - Common Check Point Commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MVP Diamond
🏆 Code Hub Contribution of the Year 2018!
🎓 Featured in official Maestro courseware!
👍 Endorsed by Check Point Support!
▶️ YouTube: Intro
ccc script to run CLI tasks & show system info.
Installation
curl_cli $(if [[ `grep proxy:ip /config/active` ]];then echo -n '--proxy ';grep proxy:ip /config/active|cut -f2 -d' '|tr -d '\n';echo -n :;grep proxy:port /config/active|cut -f2 -d' ';fi) --cacert $CPDIR/conf/ca-bundle.crt https://dannyjung.de/ccc|zcat > /usr/bin/ccc && chmod +x /usr/bin/ccc;. ~/.bashrc
🏆 Code Hub Contribution of the Year 2018!
🎓 Featured in official Maestro courseware!
👍 Endorsed by Check Point Support!
▶️ YouTube: Intro
Installation
curl_cli $(if [[ `grep proxy:ip /config/active` ]];then echo -n '--proxy ';grep proxy:ip /config/active|cut -f2 -d' '|tr -d '\n';echo -n :;grep proxy:port /config/active|cut -f2 -d' ';fi) --cacert $CPDIR/conf/ca-bundle
...;
TO ACCESS CHECKMATES TOOLBOX
it's simple and free
Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
249 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Admin
2017-09-1905:42 AM
You sir are awesome!!
You sir are awesome!!
;
TO ACCESS CHECKMATES TOOLBOX
it's simple and free
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Contributor
2017-09-2012:09 AM
+1
Thank you!
+1
Thank you!
;
TO ACCESS CHECKMATES TOOLBOX
it's simple and free
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Contributor
2017-09-2506:27 AM
Great job!
Here is a little bit improved code (added hierarchy and some interactivity).
Regards,
--
Marko
Great job!
Here is a little bit improved code (added hierarchy and some interactivity).
Regards,
--
Marko
;
TO ACCESS CHECKMATES TOOLBOX
it's simple and free
0
Kudos
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Admin
2017-09-2807:26 AM
Thx, can u post in code-hub
Thx, can u post in code-hub
;
TO ACCESS CHECKMATES TOOLBOX
it's simple and free
0
Kudos
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MVP Diamond
2017-09-2808:16 AM
I moved this thread to the Code Hub and added @Marko_Keca 's Interactive Mode to this ccc script. I corrected/removed an issue with the ' view all commands' option, cleaned the interactive interface, added more commands and therefore raised the version level to 0.4. Thanks everyone for all the interest and support within this project!
;
TO ACCESS CHECKMATES TOOLBOX
it's simple and free
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Participant
2017-11-2511:45 PM
Hello Danny,
Thanks for this great work,a short 10 minute tutorial video on this will be aslo add great taste to it.
Thanks and Regards.
Hello Danny,
Thanks for this great work,a short 10 minute tutorial video on this will be aslo add great taste to it.
Thanks and Regards.
;
TO ACCESS CHECKMATES TOOLBOX
it's simple and free
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MVP Diamond
2020-01-1110:22 AM
I posted a video here.
I posted a video here.
;
TO ACCESS CHECKMATES TOOLBOX
it's simple and free
Click here to give kudos to this post.
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MVP Silver
2018-02-0601:45 AM
That is really very helpfull! Just one line i have found that i do not understand:
9) fwm stat
This gives:
Usage:
fwm ver [-f] ... # Display version
fwm load [opts] [filter-file|rule-base] targets # Install Policy on targets
fwm unload [opts] targets # Uninstall targets
fwm dbload [targets] # Download the database
fwm logexport [-h] ... # Export log to ascii file
fwm gen [-RouterType [-import]] rule-base # Generate an inspection
script or a router access-list
fwm dbexport [-h] ... # Export the database
fwm ikecrypt
(for the dbexport command)
fwm dbimport [-h] ... # Import to database
fwm kill [-sig_no] procname # Kill firewall process
fwm getpcap ... # Fetch packet capture from gateway
Looks like there is no fwm stat like there is fw stat... I have replaced the line with
fwm ver
😉
CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
That is really very helpfull! Just one line i have found that i do not understand:
9) fwm stat
This gives:
Usage:
fwm ver [-f] ... # Display version
fwm load [opts] [filter-file|rule-base] targets # Install Policy on targets
fwm unload [opts] targets # Uninstall targets
fwm dbload [targets] # Download the database
fwm logexport [-h] ... # Export log to ascii file
fwm gen [-RouterType
...;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
4\
\
\
Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\
- Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
G_W_Albrecht
MVP Silver
2018-02-0603:29 AM
I now saw thet here, the installed_jumbo_take CLI command is used - this did work before, but see sk98028:
\ - On R80.10 with sk116380 - Jumbo Hotfix Accumulator for R80.10 (R80_10_jumbo_hf), run this command:
[Expert@HostName:0]# cpinfo -y all
Notes:
\- The installed_jumbo_take [-n | -h] command is not supported by the R80.10 Jumbo Hotfix Accumulator
CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
I now saw thet here, the installed_jumbo_take CLI command is used - this did work before, but see sk98028:
\
- The installed_jumbo_take [-n | -h] command is not supported by the R80.10 Jumbo Hotfix Accumulator
- On R80.10 with sk116380 - Jumbo Hotfix Accumulator for R80.10 (R80_10_jumbo_hf), run this command:
[Expert@HostName:0]# cpinfo -y all
Notes:
\- The installed_jumbo_take [-n | -h] command is not supported by the R80.10 Jumbo Hotfix Accumulator
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
2\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\
- The installed_jumbo_take [-n | -h] command is not supported by the R80.10 Jumbo Hotfix Accumulator
- Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Martin_Heim
Participant
2018-02-2102:33 AM
The script is great.
I added a little improvement for the command #23: fw fetch mgmt.
if you do not want the name of the management to be hardcoded for each gateway:
read in the name of the management with
MGMT=$(cat $FWDIR/conf/masters | awk 'NR>1 && NR<3 { print $0 }')
command#23:
fw fetch $MGMT
Best regards
Martin
The script is great.
I added a little improvement for the command #23: fw fetch mgmt.
if you do not want the name of the management to be hardcoded for each gateway:
read in the name of the management with
MGMT=$(cat $FWDIR/conf/masters | awk 'NR>1 && NR<3 { print $0 }')
command#23:
fw fetch $MGMT
Best regards
Martin
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
9\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Danny
MVP Diamond
2018-02-2603:09 AM
Implemented in version 0.6
Implemented in version 0.6
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
3\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Danny
MVP Diamond
2018-02-2603:09 AM
Implemented in version 0.6
Implemented in version 0.6
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
8\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
HeikoAnkenbrand
MVP Diamond
2018-02-2710:34 AM
I have a nice ClusterXL debug command:
clish -c "show routed cluster-state detailed"
It shows the gateway change time.
➜ CCSM Elite, CCME, CCTE, CCVS ➜ www.checkpoint.tips\
I have a nice ClusterXL debug command:
clish -c "show routed cluster-state detailed"
It shows the gateway change time.
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
6\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
(1)
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Maarten_Sjouw
Champion
2018-02-2702:52 PM
Another useful command in this list would be
fw ctl arp
which will show all proxy arp's and active local.arp entries.
Regards, Maarten
Another useful command in this list would be
fw ctl arp
which will show all proxy arp's and active local.arp entries.
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
1\ \ \ Kudo
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Danny
MVP Diamond
2018-02-2805:15 AM
This command is already implemented.
This command is already implemented.
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
2\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Danny
MVP Diamond
2018-03-0107:34 AM
Implemented in version 0.8
Implemented in version 0.8
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
3\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
MikaelJohnsson
Contributor
2018-03-0109:52 AM
Hi,
Great idea but place add it as fw ctl arp -n
to avoid dns-lookups.
Cheers
Mikael
Hi,
Great idea but place add it as fw ctl arp -n
to avoid dns-lookups.
Cheers
Mikael
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
0
Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Sven_Glock
Advisor
2018-03-0110:47 AM
Thanks Danny - nice script.
Improvement suggestion:
When the selected command shows lots of output you have to scroll up for checking the possibilities of your actual branch of the menu tree.
Prompting the menu again directly after the output will need you scrolling up for your requested output.
What about offering a short menu after a output - just one row?
Something like: ? Show actual Menu | 0: Main menu | q: EXIT
Cheers
Sven
Thanks Danny - nice script.
Improvement suggestion:
When the selected command shows lots of output you have to scroll up for checking the possibilities of your actual branch of the menu tree.
Prompting the menu again directly after the output will need you scrolling up for your requested output.
What about offering a short menu after a output - just one row?
Something like: ? Show actual Menu | 0: Main menu | q: EXIT
Cheers
Sven
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
3\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
HeikoAnkenbrand
MVP Diamond
2018-03-0206:46 AM
I have adjusted the commands, so that only the physical interface is visible and not the Bond's anymore.
ifconfig -a | grep encap | awk '{print $1}' | grep -v lo | grep -v bond | grep -v ":" | grep -v ^lo | xargs -I % sh -c 'ethtool %; ethtool -i %' | grep '^driver\|Speed\|Duplex\|Setting' | sed "s/^/ /g" | tr -d "\t" | tr -d "\n" | sed "s/Settings for/\nSettings for/g" | awk '{print $5 " "$7 "\t " $9 "\t" $3}' | grep -v "Unknown"
Regards
Heiko
➜ CCSM Elite, CCME, CCTE, CCVS ➜ www.checkpoint.tips\
I have adjusted the commands, so that only the physical interface is visible and not the Bond's anymore.
ifconfig -a | grep encap | awk '{print $1}' | grep -v lo | grep -v bond | grep -v ":" | grep -v ^lo | xargs -I % sh -c 'ethtool %; ethtool -i %' | grep '^driver\|Speed\|Duplex\|Setting' | sed "s/^/ /g" | tr -d "\t" | tr -d "\n" | sed "s/Settings for/\nSettings for/g" | awk '{print $5 " "$7 "\t " $9 "\t" $3}' | grep -v "Unknown"
Regards
Heiko
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
2\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Danny
MVP Diamond
2018-03-0209:58 PM
Implemented in version 0.9
Implemented in version 0.9
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
3\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Danny
MVP Diamond
2018-03-0209:59 PM
Implemented in version 0.9
Implemented in version 0.9
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
4\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Danny
MVP Diamond
2018-03-0210:18 PM
Did you read our comments in this thread? We are not relying on ifconfig for the reason that it doesn't show any disabled interfaces.
Did you read our comments in this thread? We are not relying on ifconfig for the reason that it doesn't show any disabled interfaces.
;
TO ACCESS CHECKMATES TOOLBOX
REGISTER SIGN IN
it's simple and free
3\ \ \ Kudos
Click here to give kudos to this post.
Mark as Verified by CP
Reply
1
2
3
4
5
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5
5.0
Show option menu
\ - Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- Subscribe to RSS Feed\
- Permalink\
- Print\
- Report Inappropriate Content
Sven_Glock
Advisor
2018-03-0308:28 AM
Hi Danny,
thanks for adding parts of my improvements.
To be shure that you exactly know what I mean I added my idea to your code.
Just replace the relevant parts and you will see what I wanted to say.
\
\
```\
\
```none\
\
```\
\
I am not a programmer, but it's working \
\
Cheers\
\
Sven\
\
Hi Danny,\
\
thanks for adding parts of my improvements.\
\
To be shure that you exactly know what I mean I added my idea to your code.\
\
Just replace the relevant parts and you will see what I wanted to say.\
\
```none\
\
```\
\
```none\
\
```\
\
...;\
\
\
TO ACCESS CHECKMATES TOOLBOX\
\
[REGISTER](https://accounts.checkpoint.com/#/signup) [SIGN IN](https://community.checkpoint.com/plugins/common/feature/oidcss/sso_login_redirect/providerid/default?RelayState=https%3A%2F%2Fcommunity.checkpoint.com%2Ft5%2FScripts%2Fccc-Common-Check-Point-Commands%2Fm-p%2F38488%2Fthread-id%2F4)\
\
it's simple and free\
\
[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/123456/message-id/26/tab/all-users "Click here to see who gave kudos to this post.")\
\
[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/38510?t:ac=board-id/123456/message-id/4/thread-id/4&t:cp=kudos/contributions/tapletcontributionspage&ticket=f5ZZXDNC7TaS_-1 "Click here to give kudos to this post.")\
\
[Mark as Verified by CP](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488#)\
\
[Reply](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488)\
\
1\
\
2\
\
3\
\
4\
\
5\
\
0.5\
\
1.0\
\
1.5\
\
2.0\
\
2.5\
\
3.0\
\
3.5\
\
4.0\
\
4.5\
\
5.0\
\
[Show option menu](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488# "Show option menu")\
\
- Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=123456&message.id=27)\
- [Permalink](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38511/highlight/true#M27)\
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/123456/message-id/27/print-single-message/true/page/1)\
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/38511)\
\
\
\
[Sven\_Glock](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/6311)\
\
Advisor\
\
\
2018-03-0308:36 AM\
\
A GIT implementation into GAIA would be very helpful!\
\
A GIT implementation into GAIA would be very helpful!\
\
\
;\
\
\
TO ACCESS CHECKMATES TOOLBOX\
\
[REGISTER](https://accounts.checkpoint.com/#/signup) [SIGN IN](https://community.checkpoint.com/plugins/common/feature/oidcss/sso_login_redirect/providerid/default?RelayState=https%3A%2F%2Fcommunity.checkpoint.com%2Ft5%2FScripts%2Fccc-Common-Check-Point-Commands%2Fm-p%2F38488%2Fthread-id%2F4)\
\
it's simple and free\
\
\
0\
\
\
Kudos\
\
[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/38511?t:ac=board-id/123456/message-id/4/thread-id/4&t:cp=kudos/contributions/tapletcontributionspage&ticket=f5ZZXDNC7TaS_-1 "Click here to give kudos to this post.")\
\
[Mark as Verified by CP](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488#)\
\
[Reply](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488)\
\
1\
\
2\
\
3\
\
4\
\
5\
\
0.5\
\
1.0\
\
1.5\
\
2.0\
\
2.5\
\
3.0\
\
3.5\
\
4.0\
\
4.5\
\
5.0\
\
[Show option menu](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488# "Show option menu")\
\
- Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=123456&message.id=28)\
- [Permalink](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38512/highlight/true#M28)\
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/123456/message-id/28/print-single-message/true/page/1)\
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/38512)\
\
\
\
[Sven\_Glock](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/6311)\
\
Advisor\
\
\
2018-03-0301:40 PM\
\
For some commands like\
\
```none\
\
```\
\
I think it would be better to add a "\| more"\
\
So the output can be read page by page.\
\
For some commands like\
\
```none\
\
```\
\
I think it would be better to add a "\| more"\
\
So the output can be read page by page.\
\
\
;\
\
\
TO ACCESS CHECKMATES TOOLBOX\
\
[REGISTER](https://accounts.checkpoint.com/#/signup) [SIGN IN](https://community.checkpoint.com/plugins/common/feature/oidcss/sso_login_redirect/providerid/default?RelayState=https%3A%2F%2Fcommunity.checkpoint.com%2Ft5%2FScripts%2Fccc-Common-Check-Point-Commands%2Fm-p%2F38488%2Fthread-id%2F4)\
\
it's simple and free\
\
[1\\
\\
\\
Kudo](https://community.checkpoint.com/t5/kudos/messagepage/board-id/123456/message-id/28/tab/all-users "Click here to see who gave kudos to this post.")\
\
[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/38512?t:ac=board-id/123456/message-id/4/thread-id/4&t:cp=kudos/contributions/tapletcontributionspage&ticket=f5ZZXDNC7TaS_-1 "Click here to give kudos to this post.")\
\
[Mark as Verified by CP](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488#)\
\
[Reply](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488)\
\
1\
\
2\
\
3\
\
4\
\
5\
\
0.5\
\
1.0\
\
1.5\
\
2.0\
\
2.5\
\
3.0\
\
3.5\
\
4.0\
\
4.5\
\
5.0\
\
[Show option menu](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488# "Show option menu")\
\
- Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=123456&message.id=29)\
- [Permalink](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38513/highlight/true#M29)\
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/123456/message-id/29/print-single-message/true/page/1)\
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/38513)\
\
\
\
[Sven\_Glock](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/6311)\
\
Advisor\
\
\
2018-03-0301:51 PM\
\
Some of the ccc I often use with "watch" to see what's goining on.\
\
I played around with your code and implemented a function which enables you to add "watch" to some commands.\
\
In my latest version it's only working with simple commands and need to be improved for more complex ones.\
\
Is it worth sharing or isn't part or the scope?\
\
Some of the ccc I often use with "watch" to see what's goining on.\
\
I played around with your code and implemented a function which enables you to add "watch" to some commands.\
\
In my latest version it's only working with simple commands and need to be improved for more complex ones.\
\
Is it worth sharing or isn't part or the scope?\
\
\
;\
\
\
TO ACCESS CHECKMATES TOOLBOX\
\
[REGISTER](https://accounts.checkpoint.com/#/signup) [SIGN IN](https://community.checkpoint.com/plugins/common/feature/oidcss/sso_login_redirect/providerid/default?RelayState=https%3A%2F%2Fcommunity.checkpoint.com%2Ft5%2FScripts%2Fccc-Common-Check-Point-Commands%2Fm-p%2F38488%2Fthread-id%2F4)\
\
it's simple and free\
\
\
0\
\
\
Kudos\
\
[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/38513?t:ac=board-id/123456/message-id/4/thread-id/4&t:cp=kudos/contributions/tapletcontributionspage&ticket=f5ZZXDNC7TaS_-1 "Click here to give kudos to this post.")\
\
[Mark as Verified by CP](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488#)\
\
[Reply](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488)\
\
1\
\
2\
\
3\
\
4\
\
5\
\
0.5\
\
1.0\
\
1.5\
\
2.0\
\
2.5\
\
3.0\
\
3.5\
\
4.0\
\
4.5\
\
5.0\
\
[Show option menu](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488# "Show option menu")\
\
- Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=123456&message.id=30)\
- [Permalink](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38514/highlight/true#M30)\
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/123456/message-id/30/print-single-message/true/page/1)\
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/38514)\
\
\
\
[Danny](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/687)\
\
MVP Diamond\
\
\
2018-03-0704:25 PM\
\
Implemented in version 1.0\
\
Implemented in version 1.0\
\
\
;\
\
\
TO ACCESS CHECKMATES TOOLBOX\
\
[REGISTER](https://accounts.checkpoint.com/#/signup) [SIGN IN](https://community.checkpoint.com/plugins/common/feature/oidcss/sso_login_redirect/providerid/default?RelayState=https%3A%2F%2Fcommunity.checkpoint.com%2Ft5%2FScripts%2Fccc-Common-Check-Point-Commands%2Fm-p%2F38488%2Fthread-id%2F4)\
\
it's simple and free\
\
[3\\
\\
\\
Kudos](https://community.checkpoint.com/t5/kudos/messagepage/board-id/123456/message-id/30/tab/all-users "Click here to see who gave kudos to this post.")\
\
[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/38514?t:ac=board-id/123456/message-id/4/thread-id/4&t:cp=kudos/contributions/tapletcontributionspage&ticket=f5ZZXDNC7TaS_-1 "Click here to give kudos to this post.")\
\
[Mark as Verified by CP](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488#)\
\
[Reply](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488)\
\
1\
\
2\
\
3\
\
4\
\
5\
\
0.5\
\
1.0\
\
1.5\
\
2.0\
\
2.5\
\
3.0\
\
3.5\
\
4.0\
\
4.5\
\
5.0\
\
[Show option menu](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488# "Show option menu")\
\
- Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=123456&message.id=31)\
- [Permalink](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38515/highlight/true#M31)\
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/123456/message-id/31/print-single-message/true/page/1)\
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/38515)\
\
\
\
[Danny](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/687)\
\
MVP Diamond\
\
\
2018-03-0704:26 PM\
\
Implemented in version 1.0\
\
Implemented in version 1.0\
\
\
;\
\
\
TO ACCESS CHECKMATES TOOLBOX\
\
[REGISTER](https://accounts.checkpoint.com/#/signup) [SIGN IN](https://community.checkpoint.com/plugins/common/feature/oidcss/sso_login_redirect/providerid/default?RelayState=https%3A%2F%2Fcommunity.checkpoint.com%2Ft5%2FScripts%2Fccc-Common-Check-Point-Commands%2Fm-p%2F38488%2Fthread-id%2F4)\
\
it's simple and free\
\
[3\\
\\
\\
Kudos](https://community.checkpoint.com/t5/kudos/messagepage/board-id/123456/message-id/31/tab/all-users "Click here to see who gave kudos to this post.")\
\
[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/38515?t:ac=board-id/123456/message-id/4/thread-id/4&t:cp=kudos/contributions/tapletcontributionspage&ticket=f5ZZXDNC7TaS_-1 "Click here to give kudos to this post.")\
\
[Mark as Verified by CP](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488#)\
\
[Reply](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488)\
\
1\
\
2\
\
3\
\
4\
\
5\
\
0.5\
\
1.0\
\
1.5\
\
2.0\
\
2.5\
\
3.0\
\
3.5\
\
4.0\
\
4.5\
\
5.0\
\
[Show option menu](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488# "Show option menu")\
\
- Mark as New\
- Bookmark\
- Subscribe\
- Mute\
- [Subscribe to RSS Feed](https://community.checkpoint.com/rss/message?board.id=123456&message.id=32)\
- [Permalink](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38516/highlight/true#M32)\
- [Print](https://community.checkpoint.com/t5/forums/forumtopicprintpage/board-id/123456/message-id/32/print-single-message/true/page/1)\
- [Report Inappropriate Content](https://community.checkpoint.com/t5/notifications/notifymoderatorpage/message-uid/38516)\
\
\
\
[Danny](https://community.checkpoint.com/t5/user/viewprofilepage/user-id/687)\
\
MVP Diamond\
\
\
2018-03-0704:28 PM\
\
We always love to learn and improve. Just share your ideas and examples with us.\
\
We always love to learn and improve. Just share your ideas and examples with us.\
\
\
;\
\
\
TO ACCESS CHECKMATES TOOLBOX\
\
[REGISTER](https://accounts.checkpoint.com/#/signup) [SIGN IN](https://community.checkpoint.com/plugins/common/feature/oidcss/sso_login_redirect/providerid/default?RelayState=https%3A%2F%2Fcommunity.checkpoint.com%2Ft5%2FScripts%2Fccc-Common-Check-Point-Commands%2Fm-p%2F38488%2Fthread-id%2F4)\
\
it's simple and free\
\
[3\\
\\
\\
Kudos](https://community.checkpoint.com/t5/kudos/messagepage/board-id/123456/message-id/32/tab/all-users "Click here to see who gave kudos to this post.")\
\
[Click here to give kudos to this post.](https://community.checkpoint.com/t5/forums/v5/forumtopicpage.kudosbuttonv2.kudoentity:kudoentity/kudosable-gid/38516?t:ac=board-id/123456/message-id/4/thread-id/4&t:cp=kudos/contributions/tapletcontributionspage&ticket=f5ZZXDNC7TaS_-1 "Click here to give kudos to this post.")\
\
[Mark as Verified by CP](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488#)\
\
[Reply](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488)\
\
1\
\
2\
\
3\
\
4\
\
5\
\
0.5\
\
1.0\
\
1.5\
\
2.0\
\
2.5\
\
3.0\
\
3.5\
\
4.0\
\
4.5\
\
5.0\
\
## ccc - Common Check Point Commands\
\
🏆 Code Hub [Contribution of the Year](https://community.checkpoint.com/t5/The-CheckMates-Blog/CheckMates-First-Birthday-Award-Winners/ba-p/44392) 2018!\
\
🎓 Featured in official Maestro courseware!\
\
👍 Endorsed by Check Point Support!\
\
📕 Books: [Max Power](http://www.maxpowerfirewalls.com/max-power-2020.html "Max Power 2020: Check Point Firewall Performance Optimization (3rd. Ed.)"), [FW Admin](https://www.amazon.com/gp/product/180107271X/ "Check Point Firewall Administration R81.10+")\
\
▶️ YouTube: [Intro](https://www.youtube.com/watch?v=kV6tvY5O-w8&t=741s)\
\
**[ccc](https://dannyjung.de/ccc_v5.1.gz "ccc Script Download")** script to run CLI tasks & show [system info](https://community.checkpoint.com/t5/SmartConsole-Extensions/SmartConsole-Extension-Advanced-system-summary-ccc/td-p/82298).\
\
## Installation\
\
```cpp\
\
curl_cli $(if [[ `grep proxy:ip /config/active` ]];then echo -n '--proxy ';grep proxy:ip /config/active|cut -f2 -d' '|tr -d '\n';echo -n :;grep proxy:port /config/active|cut -f2 -d' ';fi) --cacert $CPDIR/conf/ca-bundle.crt https://dannyjung.de/ccc|zcat > /usr/bin/ccc && chmod +x /usr/bin/ccc;. ~/.bashrc\
\
```\
\
TO READ THE FULL POST\
\
[REGISTER](https://tiny.cc/checkmatesnewreadmore) [SIGN IN](https://tiny.cc/checkmatesreadmorelogin)\
\
it's simple and free\
\
[Top](https://community.checkpoint.com/t5/Scripts/ccc-Common-Check-Point-Commands/m-p/38488)\
\
About CheckMates\
\
- [Getting Started & FAQ](https://community.checkpoint.com/t5/help/faqpage)\
- [Community Guidelines](https://community.checkpoint.com/t5/user/TermsOfServicePage)\
\
Learn Check Point\
\
- [Check Point for Beginners](https://community.checkpoint.com/t5/Check-Point-for-Beginners-2-0/bg-p/check-point-for-beginners-2-0)\
- [Check Point Trivia](https://community.checkpoint.com/t5/Check-Point-Trivia/bg-p/trivia)\
- [CheckFlix Videos](https://community.checkpoint.com/t5/CheckFlix/ct-p/checkflix)\
\
Advanced Learning\
\
- [Check Point Security Masters](https://community.checkpoint.com/t5/Check-Point-Security-Masters/gp-p/ccsm)\
- [Tip of the Week](https://community.checkpoint.com/t5/SecureKnowledge-Tip-of-the-Week/bg-p/secureknowledge)\
- [TechTalks](https://community.checkpoint.com/t5/TechTalks/ct-p/techtalks%20role=)\
- [Training and Certification](https://community.checkpoint.com/t5/Training-and-Certification/bd-p/training-and-certification)\
\
Resources\
\
- [CheckMates Toolbox](https://community.checkpoint.com/t5/CheckMates-Toolbox/ct-p/CheckMatesToolbox)\
- [Developers (Code Hub)](https://community.checkpoint.com/t5/Developers-API-CLI/bd-p/codehub)\
- [Product Announcements](https://community.checkpoint.com/t5/Product-Announcements/bg-p/products-blog)\
- [Upcoming Events](https://community.checkpoint.com/t5/Upcoming-Events/bg-p/checkmates-live)\
\
Non-English Discussions\
\
- [Español](https://community.checkpoint.com/t5/Espa%C3%B1ol/bd-p/spanish)\
- [French](https://community.checkpoint.com/t5/Fran%C3%A7ais/bd-p/francais)\
- [Japanese](https://community.checkpoint.com/t5/Japanese-%E6%97%A5%E6%9C%AC%E8%AA%9E/bd-p/Japanese)\
- [Português](https://community.checkpoint.com/t5/Portugu%C3%AAs/bd-p/portuguese)\
- [Russian](https://community.checkpoint.com/t5/Russian/bd-p/russian)\
- [Chinese](https://community.checkpoint.com/t5/Chinese/bd-p/taiwan)\
\
\
\
YOU DESERVE THE BEST SECURITY\
\
We’re Social. Follow Us [CheckMates on LinkedIn](http://linkedin.com/company/cpcheckmates) [Check Point on YouTube](https://www.youtube.com/user/CPGlobal) [CheckMates on Facebook](https://www.facebook.com/cpcheckmates/) [CheckMates on Instagram](https://www.instagram.com/cpcheckmates/)\
\
©1994-2026 Check Point Software Technologies Ltd. All rights reserved. [Copyright](https://www.checkpoint.com/copyright/) [Privacy Policy](https://www.checkpoint.com/privacy/) [About Us](https://www.checkpoint.com/about-us/) [UserCenter](https://usercenter.checkpoint.com/)\
\
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.\
\
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.