beautypg.com

Device designation commands, Prompt 4-26 hostname 4-26, Table 4-8 – SMC Networks SMC Tiger 10/100 SMC6128PL2 User Manual

Page 334

background image

Command Line Interface

4-26

4

Device Designation Commands

prompt

This command customizes the CLI prompt. Use the no form to restore the default
prompt.

Syntax

prompt string
no prompt

string - Any alphanumeric string to use for the CLI prompt. (Maximum
length: 255 characters)

Default Setting

Console

Command Mode

Global Configuration

Example

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

Table 4-8 Device Designation Commands

Command

Function

Mode

Page

prompt

Customizes the prompt used in PE and NE mode

GC

4-26

hostname

Specifies the host name for the switch

GC

4-26

snmp-server contact

Sets the system contact string

GC

4-152

snmp-server location

Sets the system location string

GC

4-153

Console(config)#prompt RD2
RD2(config)#