IOS names command

Answered Question
Sep 18th, 2010

HI all,

I want to implement naming in an IOS router in the following way that the ASA does it. For instance in ASA i can do the following:

name Server1

access-list outside-in extended permit tcp any host Server1 eq http

The question is can i do that in a router? Because when i try to put something like

ip host Server1

ip access-list extended outside-in

   permit tcp any host Server1 eq http

it automatically translates it to an IP address, and when i do a show run i get the following:

Router# sh access-list outside-in

Extended IP access list outside-in
    10 permit ip any host any (17 matches)

Is there a way to show the access-list entries in naming? The sh ver output is the following:

LOGBG>sh ver
Cisco IOS Software, 2800 Software (C2800NM-ADVSECURITYK9-M), Version 12.4(24)T3, RELEASE SOFTWARE (fc2)
Technical Support:
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 23-Mar-10 06:43 by prod_rel_team

ROM: System Bootstrap, Version 12.4(1r) [hqluong 1r], RELEASE SOFTWARE (fc1)

LOGBG uptime is 1 week, 4 days, 11 hours, 47 minutes
System returned to ROM by bus error at PC 0x4177FC80, address 0x931B at 14:19:32 EEST Tue Sep 7 2010
System restarted at 14:21:29 EEST Tue Sep 7 2010
System image file is "flash:c2800nm-advsecurityk9-mz.124-24.T3.bin"

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

If you require further assistance please contact us by sending email to
[email protected].

Cisco 2811 (revision 53.51) with 247808K/14336K bytes of memory.
Processor board ID FCZ101470JQ
7 FastEthernet interfaces
1 Serial(sync/async) interface
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

I have this problem too.
0 votes
Correct Answer by Edison Ortiz about 6 years 3 weeks ago

ip host is for internal name resolution purposes - you are looking for the object group command.

Please refer to the documentation:

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)


This Discussion