- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
09-13-2023 01:59 AM
Hello,
As part of a large migration process we're maximizing the use of CLI to create configuration within NW, FW, HA dedicated templates, + template stacks + device groups.
One area that I'm having difficulty with is the renaming of existing device-groups (containing existing member devices) via CLI. I'm aware of commands such as 'set device-group' and 'request move-dg' that we'll use for the migration process, however to comply with new naming conventions I need to also rename some existing device-groups.
Does anyone know of commands that will achieve this please? I searched within the 'request' commands hierarchy, but no luck so far (screenshot attached).
I found in LIVEcommunity - Replace a panorama managed device with a new device (different model) - LIVEcommunit... a reference to a command of type 'rename device-group <Groupname> device <OLD SN#> to <new SN#>" but cannot find this command in Panorama.
Thanks in advance, if anyone has ideas on this it would be great !
09-13-2023 04:28 AM
that's the right command... you do need to be in configuration mode though:
> configure
# rename device-group OLDDG to NEWDG
hope this helps
09-13-2023 04:28 AM
that's the right command... you do need to be in configuration mode though:
> configure
# rename device-group OLDDG to NEWDG
hope this helps
09-14-2023 08:55 AM
Thanks Tom !
If ever anyone finds a CLI reference sheet for all the 'request' commands that would be great !! I've recently learned that all I really need to do to find all possible commands is to use the search command:
#find command keyword <keyword>
I no longer have direct access in my current role to any PAN devices, so am relegated to scouring the net for anything beyond my limited experience.
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!