ip host command

Answered Question
Feb 2nd, 2010

in routers we can use the "ip host " command to map name to IP.

is there an equivalent command for firewalls?

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 6 years 11 months ago

ohassairi wrote:

in routers we can use the "ip host " command to map name to IP.

is there an equivalent command for firewalls?

You can use the "name" command which allows you to associate a name with an IP in the config -

http://www.cisco.com/en/US/docs/security/asa/asa72/command/reference/no_72.html#wp1652055

note that this is nothing to do with DNS mappings, it is just a handy way to have meaningful names in your config.

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Tue, 02/02/2010 - 01:15

ohassairi wrote:

in routers we can use the "ip host " command to map name to IP.

is there an equivalent command for firewalls?

You can use the "name" command which allows you to associate a name with an IP in the config -

http://www.cisco.com/en/US/docs/security/asa/asa72/command/reference/no_72.html#wp1652055

note that this is nothing to do with DNS mappings, it is just a handy way to have meaningful names in your config.

Jon

ohassairi Tue, 02/02/2010 - 01:30

thank you jon

.

so there is no way to do  DNS map using commands ?

Actions

This Discussion