beautypg.com

Chapter 7: command line interface, Using the command line interface, Accessing the cli – SMC Networks SMC2552W-G2-17 User Manual

Page 138: Console connection, Telnet connection

background image

7-1

Chapter 7: Command Line Interface

Using the Command Line Interface

Accessing the CLI

When accessing the management interface for the over a direct connection to the
console port, or via a Telnet connection, the access point can be managed by
entering command keywords and parameters at the prompt. Using the access
point’s command-line interface (CLI) is very similar to entering commands on a
UNIX system.

Console Connection

To access the access point through the console port, perform these steps:

1.

At the console prompt, enter the user name and password. (The default user
name is “admin” and the default password is “smcadmin”) When the user name
is entered, the CLI displays the “Enterprise AP#” prompt.

2.

Enter the necessary commands to complete your desired tasks.

3.

When finished, exit the session with the “exit” command.

After connecting to the system through the console port, the login screen displays:

Caution:

Command examples shown later in this chapter abbreviate the console prompt

to “AP” for simplicity.

Telnet Connection

Telnet operates over the IP transport protocol. In this environment, your
management station and any network device you want to manage over the network
must have a valid IP address. Valid IP addresses consist of four numbers, 0 to 255,
separated by periods. Each address consists of a network portion and host portion.
For example, if the access point cannot acquire an IP address from a DHCP server,
the default IP address used by the access point, 192.168.2.2, consists of a network
portion (192.168.2) and a host portion (2).

To access the access point through a Telnet session, you must first set the IP
address for the access point, and set the default gateway if you are managing the
access point from a different IP subnet. For example:

Username: admin
Password:
Enterprise AP#

Enterprise AP#configure
Enterprise AP(config)#interface ethernet
Enterprise AP(if-ethernet)#ip address 10.1.0.1 255.255.255.0 10.1.0.254
Enterprise AP(if-ethernet)#

This manual is related to the following products: