Overview, Configuration in user view, Configuration in system view – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 61

Advertising
background image

1-1

7

Configuring Source IP Address for Telnet Service

Packets

Overview

You can configure source IP address or source interface for the Telnet server and Telnet client. This
provides a way to manage services and enhances security.

The source IP address specified for Telnet service packets is the IP address of a Loopback interface or
VLAN interface. After you specify the IP address of a virtual Loopback interface or an unused VLAN
interface as the source IP address of Telnet service packets, the IP address is used as the source IP
address no matter which interface of the switching engine is used to transmit packets between the
Telnet client and the Telnet server. This conceals the IP address of the actual interface used. As a result,
external attacks are guarded and the security is improved. On the other hand, you can configure the
Telnet server to accept only Telnet service packets with specific source IP addresses to make sure
specific users can log in to the switching engine.

Configuring Source IP Address for Telnet Service Packets

This feature can be configured in either user view or system view. The configuration performed in user
view takes effect for only the current session, while the configuration performed in system view takes
effect for all the following sessions.

Configuration in user view

Follow these steps to configure a source IP address for service packets in user view:

To do…

Use the command…

Remarks

Specify a source IP address for the
Telnet client

telnet remote-server source-ip ip-address

Optional

Specify a source interface for the
Telnet client

telnet remote-server source-interface
interface-type interface-number

Optional

Configuration in system view

Follow these steps to configure a source IP address for service packets in system view:

To do…

Use the command…

Remarks

Specify a source IP address for
Telnet server

telnet-server source-ip

ip-address Optional

Specify a source interface for Telnet
server

telnet-server source-interface

interface-type

interface-number

Optional

Specify source IP address for Telnet
client

telnet source-ip

ip-address Optional

Specify a source interface for Telnet
client

telnet source-interface interface-type
interface-number

Optional

Advertising