cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
259
Views
0
Helpful
2
Replies

Command to see host and static nat for the same object together

eburgywvde
Level 1
Level 1

I have researched this but cannot find an answer.  ASA running version 8.5.

When you create the config using object NAT you enter the commands as follows

 

object network <object name>

   host x.x.x.x

   nat (inside,outside) static y.y.y.y

 

When the config is displayed it separates the host and nat commands in two different sections of the config as follows

 

object network <object name>

   host x.x.x.x

 

object network <object name>

   nat (inside,outside) static y.y.y.y

 

Is there a command that will display it all together (like it was typed in)?  Show NAT is something like what I am after but without all of the extra info such as translate_hits, untranslate_hits etc. I need this information but cleaning up the output of a show nat is going to be tough.

Any suggestions?  

Thanks.

2 Replies 2

johnlloyd_13
Level 9
Level 9

hi,

try show nat detail?

Sorry, show nat detail is what I meant in the original post in place of show nat.   Show nat detail still has all of the extra info I was trying to avoid.  Guess I will be editing a text file.

 

Thanks for the reply.

Review Cisco Networking for a $25 gift card