Getting Started with the Command Line Interface (CLI)

15

If a modem is connected, configure the switch 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 AT-8800 Series Switch Software Reference for more information on how to configure the asynchronous port.

Logging In

When you access the switch 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 switch 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 AT-8800 Series Switch Software Reference.

Assigning an IP Address

To configure the switch 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 switch from a Telnet session or with the GUI. For detailed instructions on accessing the switch with the GUI, see “Establishing a Connection to the Switch” on page 24.

First enable IP, using the command:

ENABLE IP

Then, add an IP address to each of the switch interfaces that you want to process IP traffic (for example, the default VLAN (vlan1)).

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)

Software Release 2.6.1 C613-02039-00 REV A

Page 15
Image 15
Allied Telesis 2.6.1 manual Logging, Assigning an IP Address, Enter the password at the password prompt