What's in a name?
Wednesday, November 4, 2009 at 2:46PM Cisco ASA uses the names command to enable the ability to association a name with an IP address. Once you use the names command you can then use the name command to identify a host by a text name and map text strings to IP addresses. This sounds great because who can remember all the IP addresses accosiated with hosts in your network. There are some gotchas to look out for.
If you hate the lenght of your config when you do a show run command, just wait until you start using the name command. The name entries are usally added to the top of the config and add a ton of lines to filter through. You could use the command:
show run | exclude name
This command would not display the name entries; however you would also miss any other config lines like:
hostame ciscoasa
domain-name showcrypto.com
I think you get the picture. Cisco should add an option to display the config without name entries. The other annoyance I have with the names command is it's default behavior of using name values in logging. Syslog now contains name values instead of IP addresses. Usually when I search through syslog events I do it by IP address and not by the name value in my ASA config. To revert back to IP addresses in your logging events use this command:
no names
If you get complteley fed up with names you can issue the following command:
clear configure name
Admin |
Post a Comment | 