Command to Not Display Names in the CLI?

Reply
L2 Linker

Command to Not Display Names in the CLI?

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.

Accepted Solutions
Highlighted
L6 Presenter

@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



Mayur

View solution in original post


All Replies
Highlighted
L6 Presenter

@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



Mayur

View solution in original post

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 Live Community as a whole!

The Live Community thanks you for your participation!