cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14860
Views
0
Helpful
3
Replies

ASA name commands?

raza555
Level 3
Level 3

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

1 Accepted Solution

Accepted Solutions

Jouni Forss
VIP Alumni
VIP Alumni

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

View solution in original post

3 Replies 3

Jouni Forss
VIP Alumni
VIP Alumni

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

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

Thats great.

Thanks

Review Cisco Networking products for a $25 gift card