<Sysname>
telnet source-interface
Syntax
telnet source-interface interface-type interface-number
undo telnet source-interface
View
System view
Parameters
interface-type interface-number: Interface type and interface number.
Description
Use the telnet source-interface command to specify the source interface for a Telnet client.
Use the undo telnet source-interface command to remove the specified source interface.
The source interface can be a loopback interface or a VLAN interface. If the specified interface does not
exist, the system prompts that this configuration fails.
With this command configured, when a device logs in to the Telnet server as a Telnet client, the source
IP address is the IP address of the specified interface, the login succeeds only when there is a route
between the specified source interface and the Telnet server.
Examples
# Specify VLAN-interface 2 as the source interface for the Telnet client.
<Sysname> system-view
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.
1-26
Need help?
Do you have a question about the Switch 4500 Family and is the answer not in the manual?
Questions and answers