6 quit – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 52
CanogaOS Command Line Reference
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 52 of 855
Related Commands
quit
hostname
To specify or modify the host name for the network server, use the hostname command in global
configuration mode. To restore the configuration to the default, use no form of this command.
Command Syntax
hostname name
no hostname
name
New host name for the network server.
Default
The default host name is Switch.
Command Mode
Global configuration
Usage
The host name is used in prompts and default configuration filenames.
The name must also follow the rules for ARPANET host names. They must start with a letter, and have
as interior characters only letters, digits, hyphens, and underline. Names must be 63 characters or
fewer.
Examples
The following example changes the host name to “sandbox”:
Switch (config)# hostname DT
DT(config)#
Related Commands
3.6 quit
To close an active terminal session by logging off the switch, use the quit command in EXEC mode.
Command Syntax
quit
Command Mode