7 
CONFIGURING SOURCE IP ADDRESS 
FOR TELNET SERVICE PACKETS
Go to these sections for information you are interested in:
■ “Overview” on page 73
■ “Configuring Source IP Address for Telnet Service Packets” on page 73
■ “Displaying the source IP address/Interface Specified for Telnet Packets” on 
page 74 
Overview You can configure source IP address or source interface for 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 in to 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
Configuration in system view
Table 20   Configure a source IP address for service packets in user view
To do…  Use the command…  Remarks 
Specify the source IP address or 
source interface for the switch for 
it to log in to another device as a 
Telnet client 
telnet remote-system 
[ port-number ] [ source { ip 
ip-address | interface 
interface-type 
interface-number }] 
Optional
Not specified by default
Table 21   Configure a source IP address for service packets in system view
To do…  Use the command…  Remarks 
Enter system view  system-view -