beautypg.com

Setting dhcp, Setting a gateway address, Setting the network time – Allied Telesis AT-S100 User Manual

Page 29

background image

AT-S100 Management Software User’s Guide

29

For more information about this command, see “IP ADDRESS” on
page 171.

Setting DHCP

The DHCP feature enables the switch to obtain an IP address from the
DHCP server. You must assign the DHCP command to the default VLAN,
VLAN 1, in the Interface mode. The syntax of the DHCP address
command is:

ip address dhcp

The following example sets the DHCP feature on the switch.

switch# configure terminal

switch(config)# interface vlan1

switch(config-if)# ip address dhcp

For more information about this command, see “IP ADDRESS DHCP” on
page 173.

Setting a

Gateway Address

The gateway address consists of an IP address and a subnet mask that
you assign to an interface on the switch. The local router uses this
information to allow devices that are not on the LAN to communicate with
the switch. The syntax of the gate address command, IP ROUTE, is:

ip route 0.0.0.0/0 interface

To set the gateway address on port 20 to 192.168.1.1 and with a subnet
mask of 24, enter the following commands:

switch# configure terminal

switch(config)# ip route 192.168.1.1/24 ge20

For more information about this command, see “IP ROUTE” on page 132.

Setting the

Network Time

The Network Time Protocol (NTP) is used to configure the time on the
switch by setting the IP address of an NTP server and setting a key to
ensure the proper NTP server has access to the switch. In addition, an
NTP server ensures that the time on the switch is set using the Greenwich
Mean Standard.

Note

You must have access to an NTP server to use this feature. Allied
Telesis does not provide an NTP server.