beautypg.com

Setting the date and time – Allied Telesis AT-S97 User Manual

Page 34

background image

Chapter 1: Starting a Management Session

34

In this example, the management module is assigned the IP address
149.112.44.22, the subnet mask 255.255.255.0, and the default gateway
149.112.44.242:

ip set ip-address=149.112.44.22 subnetmask=255.255.255.0
default-gateway=149.112.44.242

For more information on this command, refer to “IP SET” on page 52.

If you want the management module to obtain its IP configuration from a
DHCP or BOOTP server on your network, activate the DHCP and BOOTP
clients with this command:

ip dhcp enable

(If you want the DHCP or BOOTP server to assign a static IP address
based on the module’s MAC address, you need to know that the
management module actually uses the chassis’ MAC address to
communicate with your network. To learn the chassis’ address, refer to
“DIAGNOSTICS SHOW CHASSIS” on page 230 or “SYSTEM SHOW
CLUSTER” on page 101.)

For more information on this commands, refer to “IP DHCP ENABLE” on
page 51.

Note

Be sure that the 10/100/1000Base-T Management port on the
management module is connected to your network before activating
the DHCP and BOOTP clients. The management module
communicates with your network through that port.

Setting the Date

and Time

The date and time are added to the event messages logged in its event
log and to SNMP traps. You can set the date and time manually or with a
Network Time Protocol (NTP) server on your network or the Internet. The
command for manually setting the date and time is:

system set clock date=

mm

/

dd

/

yyyy

time=

hh:mm:ss

This example sets the date to April 11, 2007 and the time to 4:34 pm:

system set clock date=4/11/2007 time=16:34:0

To have an NTP server supply the date and time, specify the IP address of
the server and then activate the NTP client. Here is the command for
specifying the NTP server’s IP address:

ntp set server=

ipaddress

The ipaddress variable is the IP address of the NTP server. This example
specifies the IP address of the NTP server as 149.122.55.77:

ntp set server=149.122.55.77

This manual is related to the following products: