12-13-2018 06:41 AM - edited 02-21-2020 08:34 AM
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?
Solved! Go to Solution.
12-13-2018 12:49 PM
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
12-13-2018 08:46 AM
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
12-13-2018 10:27 AM
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
12-13-2018 12:42 PM
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.
12-13-2018 12:49 PM
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
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: