beautypg.com

Logging in, Assigning an ip address, Logging in assigning an ip address – Allied Telesis AR400 Series Router User Manual

Page 15

background image

Getting Started with the Command Line Interface (CLI)

15

Software Release 2.6.1
C613-02021-00 REV D

If a modem is connected, configure the router to make and/or accept calls via
the modem. To set the CDCONTROL parameter to “CONNECT” and the
FLOW parameter to “HARDWARE”, enter the command:

SET ASYN CDCONTROL=CONNECT FLOW=HARDWARE

If the terminal or modem is used with communications settings other than the
default settings, then configure the asynchronous port to match the terminal or
modem settings using the SET ASYN command.

See the router’s online help or the Interfaces chapter in the AR400 Series Router
Software Reference
for more information on how to configure the asynchronous
port.

Logging In

When you access the router from a terminal or PC connected to the RS-232
terminal port (asyn0), or via a Telnet or HTTP connection, you must enter a
login name and password to gain access to the command prompt. When the
router is supplied, it has a manager account with an initial password friend.

Enter your login name at the login prompt:

login: manager

Enter the password at the password prompt:

password: friend

After you log into the manager account you can enter commands from this
document and from the AR400 Series Router Software Reference.

Assigning an IP Address

To configure the router to perform IP routing (for example, to access the
Internet) you need to configure IP. You also need to configure IP if you want to
manage the router from a Telnet session or with the GUI. For detailed
instructions on accessing the router with the GUI, see “Accessing the Router
via the GUI” on page 24.

First enable IP, using the command:

ENABLE IP

Then, add an IP address to each of the router interfaces that you want to
process IP traffic. These include the default VLAN (vlan1), the DMZ (vlan2,
which contains port 3, on the AR410 and AR410S; eth1 on the AR450S), and the
WAN Ethernet port (eth0).

For the default VLAN, use the command:

ADD IP INTERFACE=vlan1 IPADDRESS=ipadd MASK=mask

where:

ipadd is an unused IP address on your LAN.

mask is the subnet mask (for example 255.255.255.0)