Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
S_L
Participant
Jump to solution

MDS primary status on cli

Is it possible to check the primary status of an MDS on the cli?

 

1 Solution

Accepted Solutions
HeikoAnkenbrand
Champion Champion
Champion

Hi @S_L 

use this CLi command:

#cpprod_util FwIsPrimary

0 = secondary
1 = primary

or use

#echo -e "query mdss\n-q\n" | dbedit -local -d mdsdb | egrep 'UID|Object Name|primary

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips

View solution in original post

2 Replies
HeikoAnkenbrand
Champion Champion
Champion

Hi @S_L 

use this CLi command:

#cpprod_util FwIsPrimary

0 = secondary
1 = primary

or use

#echo -e "query mdss\n-q\n" | dbedit -local -d mdsdb | egrep 'UID|Object Name|primary

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
S_L
Participant

Thanks for the fast answer.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 20 May 2025 @ 11:30 AM (PDT)

    Las Vegas: Check Point Hybrid Mesh

    Wed 21 May 2025 @ 11:30 AM (MST)

    Tempe, AZ: Check Point Hybrid Mesh

    Tue 03 Jun 2025 @ 06:00 PM (EDT)

    Montreal: CPX Recap

    Tue 10 Jun 2025 @ 06:00 PM (EDT)

    Quebec City: CPX Recap
    CheckMates Events