Command to Not Display Names in the CLI?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Command to Not Display Names in the CLI?

L3 Networker

In the Cisco ASA at the CLI there is a command to not display names but their IP addresses: no names.

Is there a similar command in PAN-OS; I'm using v 8.1.13? My goal is to list/export NAT policies without names as the individuals who will review this will recognize IP addresses.

Thanks for any help.

 

Jeff

Passionate about network infrastructure and all things Palo Alto Networks.
1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

@jeff6strings,

 

There are few cli commands in PANOS to list down the running NAT polices but it comes up with names.

 

show running nat-policy

show running nat-policy-addresses

 

But if you do some filter like shown below, it will not show the names for the NAT rule. Will show only addresses used in the NAT policy.

 

show running nat-policy | except index

show running nat-policy-addresses | except index

 

Hope it helps!

Mayur

M

View solution in original post

1 REPLY 1

Cyber Elite
Cyber Elite

@jeff6strings,

 

There are few cli commands in PANOS to list down the running NAT polices but it comes up with names.

 

show running nat-policy

show running nat-policy-addresses

 

But if you do some filter like shown below, it will not show the names for the NAT rule. Will show only addresses used in the NAT policy.

 

show running nat-policy | except index

show running nat-policy-addresses | except index

 

Hope it helps!

Mayur

M
  • 1 accepted solution
  • 1915 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!