cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
595
Views
0
Helpful
1
Replies

Define hostname on Router

Brian Green
Level 1
Level 1

Hello,

I am looking to define a locally-resolvable name on my routers - the IP that this name resolves to can change from router to router.  I'm not looking to set the router's own hostname - but a device name, similar to what's in the local hosts file of a *Nix or Windows computer.  I'm not looking to define a local DNS Server if I can help it (as these routers may touch other services).  Right now, in my lab environment, the routers in question are running 15.4(3) of IOS - if I need a different version, please let me know.

 

Thanks,

Brian

1 Reply 1

Brian Green
Level 1
Level 1

Never mind -  found it.  If anyone else looks for this, the ip host command does this.

Review Cisco Networking for a $25 gift card