
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2008 12:43 PM - edited 03-05-2019 09:17 PM
As I am more familiar with IOS-i was trying to set the hostname on a cataylst2948 to xry.1
However after doing some research-I came
across the set system name command
and the set system prompt commmnd
I also noticed that this option was available for IOS-
CatOS:
Console> (enable) set system name Switch-A-SJ1
System name set.
Switch-A-SJ1> (enable)
Cisco IOS:
Router(config)#hostname Switch-A-SJ1
Switch-A-SJ1(config)
CatOS:
Switch-A-SJ1> (enable) set prompt Switch-A>
Switch-A> (enable)
Cisco IOS:
Switch-A-SJ1(config)#prompt Switch-A>
Switch-A-SJ1(config)#exit
Switch-A>
what is the difference in these...and
what is the benefit?
I tried the set system name command first,
however the hostname did not change on my cat0S. This is becuse there was a set system
prompt entry in the config. Will the prompt
always override this?
http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a00801aecbb.shtml
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2008 02:52 PM
Richard
For an insight into the difference I suggest that you connect another Cisco device to the router or switch on which you have differing host name and prompt, run CDP, and look at CDP neighbor from the other Cisco device. Or run something that will pull SNMP data from the router.
System name is what the router or switch will use as it identifies itself to other devices. And by default the prompt will also be generated from the system name. But you have an alternative to set the prompt to be something different if you wish to do that.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2008 02:52 PM
Richard
For an insight into the difference I suggest that you connect another Cisco device to the router or switch on which you have differing host name and prompt, run CDP, and look at CDP neighbor from the other Cisco device. Or run something that will pull SNMP data from the router.
System name is what the router or switch will use as it identifies itself to other devices. And by default the prompt will also be generated from the system name. But you have an alternative to set the prompt to be something different if you wish to do that.
HTH
Rick
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 07:42 AM
great thx!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2008 07:55 AM
Richard
I am glad that my answer was helpful. Thank you for using the rating system to indicate that your question was resolved (and thanks for the rating). It makes the forum more useful when people can read questions and can know that they will read answers that successfully resolved the question.
The forum is an excellent place to learn about Cisco networking. I encourage you to continue your participation in the forum.
HTH
Rick
Rick
