C
OMMAND

L

INE

I

NTERFACE

4-33

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

light unit

This command displays the stack unit ID using the switch’s front-panel
LEDs.
Syntax
light unit [unit]
unit - Specifies a stack unit on which to light the front-panel LEDs.
The LEDs on the first unit number of ports will flash, where unit is
the stack identifier for the specified device.
Default Setting
Flashes the LEDs for each unit in the stack.
Command Mode
Privileged Exec
Example
Console(config)#hostname RD#1
Console(config)#
Console(config)#light unit 5
Console(config)#