7
Configuring Source IP Address for Telnet Service
Packets
Go to these sections for information you are interested in:
Overview
Configuring Source IP Address for Telnet Service Packets
Displaying Source IP Address Configuration
Overview
You can configure the source IP address for Telnet service packets for a Switch 5500-EI operating as a
Telnet client. The IP address can only be the IP address of a Layer 3 interface on the switch.
Figure 7-1 Specify source IP address for Telnet service packets
As shown in
Figure
192.168.1.0/24 are not allowed to telnet to Switch B, you can log in to Switch A (Switch 5500-EI) first,
configure the source IP address of the Telnet service packets on Switch A as 192.168.2.5, and then log
in to Switch B through Switch A.
Configuring Source IP Address for Telnet Service Packets
The feature of configuring source IP address for Telnet service packets can be configured in either user
view or system view.
The configuration performed in user view takes effect for only the current session
The configuration performed in system view takes effect for all the following sessions. That is, when a
switch telnets to a remote device, it automatically uses the configured source IP address or source
interface to encapsulate Telnet service packets.
Use the following commands to configure a source IP address or source interface for Telnet service
packets:
To do...
Specify a source IP
address or source
interface for Telnet
service packets for
the switch serving as
7-1, suppose you are going to telnet to Switch B from PC. If devices in the segment
Use the command...
telnet { hostname | ip-address } [ service-port ]
{ source-ip ip-address | source-interface
interface-type interface-number }
system-view
7-1
Remarks
Required
Use either
approach