Content

| 1.4 |  | Basic Configuration of the Switch |
| 1.4.6 |  | Naming the switch |

Every switch arrives from the factory with the same default prompt, Switch>. In a large campus network, it is crucial to establish a coherent naming structure for the switches. This is especially true because most network administrators use Telnet to connect to many switches across the campus.

To set the host or system name on a Cisco IOS-based switch, enter the following command in global configuration mode:

> Switch(config)#hostname name

> Note: The name can be from 1 to 255 alphanumeric characters.

As soon as the hostname command is entered, the system prompt assumes the hostname. To remove the system name, enter the no hostname command in global configuration mode.