System View: return to User View with Ctrl+Z.
[Sysname] telnet source-interface Vlan-interface 2
telnet source-ip
Syntax
telnet source-ip ip-address
undo telnet source-ip
View
System view
Parameters
ip-address: IP address to be set.
Description
Use the telnet source-ip command to specify the source IP address for a Telnet client.
Use the undo telnet source-ip command to remove the source IP address.
With the telnet source-ip command configured, the specified IP address functions as the source IP
address when a device logs into a Telnet server as a Telnet client, and the login succeeds only when
there is a route between the specified source IP address and the Telnet server.
Note that when the telnet source-ip command is executed, if the IP address specified is not an IP
address of the local device, your configuration fails.
Examples
# Set the source IP address to 192.168.1.1 for the Telnet client.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] telnet source-ip 192.168.1.1
telnet-server source-interface
Syntax
telnet-server source-interface interface-type interface-number
undo telnet-server source-interface
View
System view
Parameters
interface-type interface-number: Interface type and interface number.
Description
Use the telnet-server source-interface command to specify the source interface for a Telnet server.
Use the undo telnet-server source-interface command to remove the source interface.
1-25