cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Welcome to Cisco Firewalls Community


145
Views
0
Helpful
4
Replies
Highlighted
Beginner

Object and NAT

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?

 

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Rising star

Re: Object and NAT

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.
4 REPLIES 4
Enthusiast

Re: Object and NAT

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

Rising star

Re: Object and NAT

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.
Beginner

Re: Object and NAT

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. 

Rising star

Re: Object and NAT

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.