cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
647
Views
0
Helpful
4
Replies

Object and NAT

joshwa
Level 1
Level 1

Is there away to pull the object network name with both the host or subnet and nat configuration? Currently I am having to do a show run and copy the object with object-groups section along with the NAT sections, paste them into Sublime Text 3 and search for the names then put them together in a separate file to ID the configurations. 

 

EX: 

object network Stark_In_Space_Real
 host 10.250.250.88

 

object network Stark_In_Space_MAP
 host 1.1.1.1

 

object network Stark_In_Space

 nat (inside,outside) static Stark_In_Space_MAP

 

 

What I am looking for to be displayed:

 

object network Stark_In_Space_Real
 host 10.250.250.88

 nat (inside,outside) static Stark_In_Space_MAP

 

I configured firewalls like this, so can I display like this?

 

1 Accepted Solution

Accepted Solutions

i can feel for you same happen with me when doing a tshoot on firewall in production network to put thing together in separate notpad

please do not forget to rate.

View solution in original post

4 Replies 4

you can do object NAT in ASA as below.

 

object network Stark_In_Space_Real
host 10.250.250.88


object network Stark_In_Space_Real
nat (inside,outside) static interface service tcp 80 80

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

no there is no way you get the output the way you describe.

 

to get the result you have to

show run object network inline | i DY

show run nat

show nat interface XXXX

show nat

etc.

 

 

p.s

please rate if i answer you question

please do not forget to rate.

I know how to pull the nat configuration. I was looking for away to get the full object network information without having to manually play the mad scientist and gluing everything back together to understand the full picture. 

i can feel for you same happen with me when doing a tshoot on firewall in production network to put thing together in separate notpad

please do not forget to rate.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: