S
YSTEM

M

ANAGEMENT

C

OMMANDS

20-2

Device Designation Commands
This section describes commands used to configure information that
uniquely identifies the switch.

hostname

This command specifies or modifies the host name for this device. Use the
no form to restore the default host name.
Syntax
hostname name
no hostname
name - The name of this host. (Maximum length: 255 characters)
Default Setting
None
Command Mode
Global Configuration
Example
Table 20-2 Device Designation Commands
Command Function Mode Page
hostname Specifies the host name for the switch GC 20-2
snmp-server
contact
Sets the system contact string GC 21-5
snmp-server
location
Sets the system location string GC 21-5
Console(config)#hostname RD#1
Console(config)#