beautypg.com

7 hostname, 8 quit – CANOGA PERKINS 9175 Command Reference User Manual

Page 39

background image

CanogaOS Command Reference

3-5

3.7 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.8 quit

To close an active terminal session by logging off the switch, use the quit command in EXEC mode.


Command Syntax

quit


Command Mode

EXEC and all configuration modes


Usage

Use the quit command in EXEC mode to exit the active session (log off the device). This command can

be used in any EXEC mode (such as User EXEC mode or Privileged EXEC mode) to exit from the EXEC

process.