- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-15-2019 06:09 AM
I can tag a rule via CLI, but how can I ask Panorama to show me rules tagged with tag-name?
set device-group DG-Name security rules "Existing-rule-name" tag tag-name
11-15-2019 11:20 AM
Hello there.
With a little bit a practice, this is what I would do:
(Even though I am showing commands from a FW, the same/similar commands would work on Panorama
admin@firewall-a# run set cli config-output-format set
admin@firewall-a# show | match tag
This is output from what the FW/Panorama would show... (anything with the word tag on it)
If you wanted to be more granular... you could change the | match <granular tag here> to find only the specific tag
set tag danger color color7
set tag egress color color3
set tag dmz color color6
set tag internal color color4
set rulebase nat rules gp-portal-no-nat tag internal
set rulebase nat rules gp-portal-no-nat group-tag internal
11-15-2019 11:20 AM
Hello there.
With a little bit a practice, this is what I would do:
(Even though I am showing commands from a FW, the same/similar commands would work on Panorama
admin@firewall-a# run set cli config-output-format set
admin@firewall-a# show | match tag
This is output from what the FW/Panorama would show... (anything with the word tag on it)
If you wanted to be more granular... you could change the | match <granular tag here> to find only the specific tag
set tag danger color color7
set tag egress color color3
set tag dmz color color6
set tag internal color color4
set rulebase nat rules gp-portal-no-nat tag internal
set rulebase nat rules gp-portal-no-nat group-tag internal
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!