03-03-2014 03:36 AM - edited 03-11-2019 08:52 PM
Hi,
I want to tidy up the old ASA configurations and found that in different ASA hundreds of IP Address to Name mapping exist.
I have already configured the “no names” and IP Address to name is not happening,
Q1: Did deleting the name commands will effect any other configuration e.g. ACL, NAT etc. Is it can create any outage.
Q2: Is any quick way to delete below types of hundreds of mappings?
name 10.10.10.1 Test_Server_1
name 10.10.10.2 Test_Server_2
name 10.10.10.3 Test_Server_3
Curently I know only that we can delete them as below;
conf t
no name Test_Server_1
no name Test_Server_1
no name Test_Server_1
Thanks
Solved! Go to Solution.
03-03-2014 03:53 AM
Hi,
To my understanding deleting "name" configurations only has the cosmetic effect of removing the IP address to name mapping from the configurations that support it. It should not remove any configurations. Atleast I have not seen it happen the few times I have tested this. I personally never used this configuration as for someone configuring through the CLI it just causes more problems.
I think the only command that could clear ALL of those configurations would be
clear configure name
For example
ASA(config)# name 1.1.1.1 test
ASA(config)# name 2.2.2.2 test2
ASA(config)# name 3.3.3.3 test3
ASA(config)# sh run names
name 1.1.1.1 test
name 2.2.2.2 test2
name 3.3.3.3 test3
ASA(config)# clear configure name
ASA(config)# sh run name
ASA(config)#
- Jouni
03-03-2014 03:53 AM
Hi,
To my understanding deleting "name" configurations only has the cosmetic effect of removing the IP address to name mapping from the configurations that support it. It should not remove any configurations. Atleast I have not seen it happen the few times I have tested this. I personally never used this configuration as for someone configuring through the CLI it just causes more problems.
I think the only command that could clear ALL of those configurations would be
clear configure name
For example
ASA(config)# name 1.1.1.1 test
ASA(config)# name 2.2.2.2 test2
ASA(config)# name 3.3.3.3 test3
ASA(config)# sh run names
name 1.1.1.1 test
name 2.2.2.2 test2
name 3.3.3.3 test3
ASA(config)# clear configure name
ASA(config)# sh run name
ASA(config)#
- Jouni
03-03-2014 03:57 AM
Hi,
Heres link to the Command Reference with regards to the command I mentioned
http://www.cisco.com/c/en/us/td/docs/security/asa/command-reference/cmdref/c3.html#pgfId-2452106
Though it doesnt really contain much description.
- Jouni
03-03-2014 04:11 AM
Thats great.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide