ip host command

Answered Question
Feb 2nd, 2010
User Badges:
  • Silver, 250 points or more

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

is there an equivalent command for firewalls?

Correct Answer by Jon Marshall about 7 years 3 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
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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
User Badges:
  • Silver, 250 points or more

thank you jon

.

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

Actions

This Discussion