If you did not assign a host name to the command switch before launching CMS, it is assigned a default host name of Switch. Any unnamed members are assigned the name Switch- and a number that shows the order in which the device was added (such as Switch-1). If the command or member switch has an assigned host name, the name is retained and displayed when you launch the Topology view.
Note: You cannot rename a candidate device.
You can rename a member switch in two ways:
Or:
The name change does not take effect immediately. A message in the status bar shows when the change has occurred.
For Catalyst 1900 and 2820 switches, the name change might take longer. You
might have to choose View > Refresh or click the
icon on the toolbar to see the change.