CLI commands to add a device in devicegroup as master device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

CLI commands to add a device in devicegroup as master device

L1 Bithead

Hi Team,

 

I found some command to add a device in device group and template but couldn't find how to set a device as master device in device group with CLI,

Tried to search cheat sheet but the information/commands are not available.

Is it possible or this can be done via GUI only.

 

Appreciate if anyone have provide commands cheat sheet which are not available in google..

 

Thanks

1 accepted solution

Accepted Solutions

Hi @Srikant ,

 

The only command you must remember working with Palo Alto FW is:

find command keyword <keyword>

 

 

user@Panorama> configure
Entering configuration mode
[edit]
user@Panorama# find command keyword master
show device-group <name> master-device
set deviceconfig high-availability election-option timers advanced additional-master-hold-up-time <0-60000>
set device-group <name> master-device
set device-group <name> master-device device <value>
set device-group <name> master-device vsys <value>
set device-group <name> master-device sync-group <yes|no>
set template <name> config shared admin-role <name> role device webui device master-key <enable|read-only|disable>
set template <name> config deviceconfig high-availability group election-option timers advanced additional-master-hold-up-time <0-60000>
set template-stack <name> config shared admin-role <name> role device webui device master-key <enable|read-only|disable>
set template-stack <name> config devices <name> deviceconfig high-availability group election-option timers advanced additional-master-hold-up-time <0-60000>
set shared admin-role <name> role panorama webui device master-key <enable|read-only|disable>
set shared admin-role <name> role panorama webui panorama master-key <enable|read-only|disable>
set shared admin-role <name> role panorama contextswitch device master-key <enable|read-only|disable>
set shared admin-role <name> role device-group webui device master-key <enable|read-only|disable>
set shared admin-role <name> role device-group contextswitch device master-key <enable|read-only|disable>

View solution in original post

1 REPLY 1

Hi @Srikant ,

 

The only command you must remember working with Palo Alto FW is:

find command keyword <keyword>

 

 

user@Panorama> configure
Entering configuration mode
[edit]
user@Panorama# find command keyword master
show device-group <name> master-device
set deviceconfig high-availability election-option timers advanced additional-master-hold-up-time <0-60000>
set device-group <name> master-device
set device-group <name> master-device device <value>
set device-group <name> master-device vsys <value>
set device-group <name> master-device sync-group <yes|no>
set template <name> config shared admin-role <name> role device webui device master-key <enable|read-only|disable>
set template <name> config deviceconfig high-availability group election-option timers advanced additional-master-hold-up-time <0-60000>
set template-stack <name> config shared admin-role <name> role device webui device master-key <enable|read-only|disable>
set template-stack <name> config devices <name> deviceconfig high-availability group election-option timers advanced additional-master-hold-up-time <0-60000>
set shared admin-role <name> role panorama webui device master-key <enable|read-only|disable>
set shared admin-role <name> role panorama webui panorama master-key <enable|read-only|disable>
set shared admin-role <name> role panorama contextswitch device master-key <enable|read-only|disable>
set shared admin-role <name> role device-group webui device master-key <enable|read-only|disable>
set shared admin-role <name> role device-group contextswitch device master-key <enable|read-only|disable>
  • 1 accepted solution
  • 4215 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!