356
Views
0
Helpful
1
Replies
using variables
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 10:57 AM - edited 03-03-2019 12:24 AM
Hi,
Is there a way to use variables in IOS? For instance, I want to tftp the same file from several switches to my server and I would like the destination filename to be the same as the hostname. So, is there a way to reference the variable containing the hostname?
Thanks
Labels:
- Labels:
-
Other Networking
1 Reply 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 11:21 AM
There is an ip to host name mapping table that you can create on the router and then refer to the name rather than ip address. I am not sure if this answers your question.
ip host r1 1.1.1.1
ip host r2 2.2.2.2
Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus
