Telnetting to the switch, Table 11 – H3C Technologies H3C S12500 Series Switches User Manual

Page 38

Advertising
background image

26

Table 11 Telnet server and Telnet client configuration requirements

Device role

Requirements

Telnet server

Assign an IP address to the Telnet server, and make sure the Telnet server
and client can reach each other.

Enable the Telnet server.

Configure the authentication mode for Telnet login.

Telnet client

Run the Telnet program.

Obtain the IP address of the Telnet server.

To control Telnet access to the device working as a Telnet server, configure login authentication and user

privilege levels for Telnet users.

Telnetting to the switch

By default, Telnet service is disabled on the switch, password authentication applies to Telnet login, but
no login password is configured. To allow Telnet access to the switch, you must enable the Telnet server

and configure a password, or configure another authentication mode and the relative settings.
You can Telnet to your switch through the network management port or any other Layer 3 interface, for

example, a Layer 3 Ethernet interfaces and VLAN interface.
To log in to the switch from a Telnet client:

1.

Log in to the switch through the console port, and assign an IP address to the network management
port of the switch. For example:
# Assign IP address 202.38.160.92/24 to the network management port.

<Sysname> system-view

[Sysname] interface M-Ethernet 0/0/0

[Sysname-M-Ethernet0/0/0] ip address 202.38.160.92 255.255.255.0

For more information about how to log in to the switch through the console port, see "

Logging in

through the console or AUX port

."

2.

Enable the Telnet server function:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable the Telnet

server.

telnet server enable

Disabled by default.

3.

Enter VTY user interface view, and configure the authentication mode as needed.
For more information, see "

Configuring authentication mode

."

4.

Configure the user privilege level. Users that Telnet to the switch can execute only level-0
commands by default.
For more information about command levels, see "

Configuring a user privilege level for user

interfaces

."

5.

Set up a configuration environment as shown in

Figure 8

, make sure the PC and switch can reach

each other.

Advertising