8-1 
8
 
 
Configuring Source IP Address for Telnet Service 
Packets 
Go to these sections for information you are interested in: 
z  Overview 
z  Configuring Source IP Address for Telnet Service Packets 
z  Displaying Source IP Address Configuration 
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 an 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 switch 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 into the switch.  
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 
Table 8-1 Configure a source IP address for service packets in user view 
Operation  Command  Description 
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 
Table 8-2 Configure a source IP address for service packets in system view 
Operation  Command  Description 
Specify a source IP address for 
Telnet server 
telnet-server source-ip ip-address 
Optional