CLI Commands B-23

idle timout <minutes>

local_prompt <string>

￿prompt <string>

Sets console parameters for CLI commands.

Parameters

Description

 

 

history

Sets the depth of the buffer holding the command history. Use the

<numerical range>

history command to see the current depth and a list of your last CLI

commands. The default is 10 commands. The range is 1-500.

 

 

 

prompt <string>

Sets the global command prompt for the CLI. Use show command

 

to see the currently defined prompt. Limit: 64 characters.

 

 

local_prompt <string>

Sets a separate prompt for a command file process. Limit: 64

 

characters.

 

 

login_required

Set to YES if CLI console passwording is enabled.

[YES NO]

 

 

 

password <alphanumeric

The CLI password, up to 8 characters

string>

 

 

 

set date <date> Sets the system date, and leaves the time unchanged. Use show date to see what the current settings are. The format is: dd-mmm-yyyy. The month should be the first three characters of the month name. The year can be either 2 or 4 digits - 97 or 1997.

set dhcp mode <mode> Sets the DHCP mode for the unit.

 

Parameters

Description

 

 

 

 

mode

DHCP functionality you wish to enable for this unit. Currently available

 

 

 

services are:

 

 

 

DISABLED - disables all DHCP services.

 

 

 

RELAY - enables the DHCP Relay service.

 

 

 

SERVER - enables the DHCP Server within the unit.

 

 

 

set dhcp relay server1

address <IP_address>

 

 

enabled [YES NO]

 

￿

max_hops <number>

Defines the address and characteristics of the primary DHCP Server over the WAN that should receive our relayed DHCP requests.

 

Parameters

Description

 

 

 

 

address

IP address of the primary DHCP server over the WAN port where DHCP

 

 

resolution requests should be forwarded.

 

 

 

 

enabled

Whether or not this server is active for relay.

 

 

 

 

max_hops

maximum number of hops the redirected requests are allowed to accrue

 

 

without the request being dropped.

set dhcp relay server2

 

address <IP_address>

 

enabled [YES NO]

Page 105
Image 105
3Com 812 manual Idle timout minutes Localprompt string Prompt string, Sets console parameters for CLI commands, YES no