2 clock set, 3 config – PLANET WGSW-50040 User Manual

Page 23

Advertising
background image

Example:

To configure the Telnet and ssh login method to use RADIUS authentication method.

Switch(config)# authentication line vty login local radius

Relative Command:

aaa enable, radius-server authentication host, tacacs-server authentication host,

tacacs-server key

1.1.2 clock set

Command:

clock set <HH:MM:SS> <YYYY.MM.DD>

Function:

Set system date and time.

Parameter:

<HH:MM:SS>is the current time, and the valid scope for HH is 0 to 23, MM and SS 0 to 59;

<YYYY.MM.DD> is the current year, month and date, and the valid scope for YYYY is 1970~2038,

MON meaning month, and DD between 1 to 31.

Command mode:

Admin Mode.

Default:

upon first time start-up, it is defaulted to 2001.1.1 0: 0: 0.

Usage guide:

The switch can not continue timing with power off, hence the current date and time must be first set

at environments where exact time is required.

Example:

To set the switch current date and time to 2002.8.1 23: 0: 0:

Switch#clock set 23:0:0 2002.8.1

1.1.3 config

Command:

config [terminal]

Function:

Enter Global Mode from Admin Mode.

Parameter:

[terminal] indicates terminal configuration.

Advertising